How do I convert my root disk to RAID1 after installations of Red Hat Enterprise Linux 4 or 5?
Issue
- My installation is currently on a non-raided disk but it needs to be a RAID1 mirror
# mount -l | grep boot
/dev/sda1 on /boot type ext3 (rw) [/boot]
# lvs -o lv_name,vg_name,devices
LV VG Devices
LogVol00 VolGroup00 /dev/sda2(0)
LogVol01 VolGroup00 /dev/sda2(284)
Environment
- Red Hat Enterprise Linux 4
- Red Hat Enterprise Linux 5
- Logical Volume Manager (LVM)
- Software Raid (mdadm)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.