• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 909
  • Last Modified:

How to mirror an active boot disk on Redhat/CentOs

Hello experts,

I wonder if it's possible to mirror an active boot disk on redhat.

I know how to do it during the install, but not after the install. I want to learn how to do it on a production server.
0
cismoney
Asked:
cismoney
2 Solutions
 
SandyCommented:
You need to follow the below steps.

1. Need to boot in resuce mode and mount chroot.
2. Now convert existing / partition into meta device  (fdisk ==> Type ==> fd)
3. Now create a new HDD partition and convert into the same type.
4. Now initialize the meta device /dev/md0 with new partition.
5. once it is done then just attach / part in array.


!!! Cheers. but be carefull
0
 
arnoldCommented:
There are several examples online that deal with transitioning.
https://wiki.archlinux.org/index.php/Convert_a_single_drive_system_to_RAID
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now