E
E
Egor Peregudov2014-05-10 19:34:20
linux
Egor Peregudov, 2014-05-10 19:34:20

Migrating from RAID 0 to RAID1 on Centos

There is a server with RAID0, in order to migrate to RAID1, it was decided to reinstall Centos and deploy a backup. But if you deploy a backup of all files, then important information will be overwritten, for example, the /etc/mdadm.conf file
. this file will contain incorrect data.
What is the best way to perform this migration?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
t_q_l, 2014-05-11
@Stalk-p

For example, like this:

  1. Create a system backup
  2. Boot from LiveCD
  3. Create RAID1, partition disks (/, swap, etc..)
  4. Deploy system backup to new RAID
  5. Change mdadm.conf settings to boot from mirror
  6. Change bootloader settings (grub, lilo)
  7. Change fstab/mtab settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question