M
M
Michael2014-12-08 20:05:53
RAID
Michael, 2014-12-08 20:05:53

How to move from RAID1 to RAID10?

Given:

  • Server on Debian
  • soft RAID1 of 2 disks (only data on it, OS is on another disk)
Needed:
Move without data loss to Raid 10 (I bought 2 more disks).

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Melkij, 2014-12-08
@melkij

Insert these two disks.
Initialize raid10 on these disks as "disk missing disk missing". RAID10 will survive the skipping of any disk at all or up to half of the disks, but only in certain places (which ones - depends on the style of data allocation on disks, there are several of them, if you are interested - they are described in the mana).
Transfer the system (for lvm - with standard tools), for others - google it.
raid1 and add these disks to raid10. Wait for the end of the array rebuild, that's it.
Of course, with backups. The process itself is quite simple, more often you can ruin everything with a typo.
Wildly sorry, the points you don't need are in italics, this is for the case if the system is on the same raid.
And for data transfer, if there is no lvm, then stopping services (and not the entire system) and rsync is enough.

D
Dimox, 2017-04-05
@Dimox

If you need fonts with Google Fonts, then in the header.php file, in the <head></head> section, I add the following code:

<?php
  wp_register_style('fonts', 'https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700&amp;subset=cyrillic', false, null);
  wp_enqueue_style('fonts');
?>

If I have my own fonts, then I put them in the /fonts/ folder inside the template and include them in CSS via @font-face.

A
Alexander Borisovich, 2017-04-05
@Alexufo

1 time font is inserted header.php. Doesn't cause any fatigue.
(I mean the fonts from Google, which are the link)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question