How to enable Software Raid + LVM in rescue mode
Issue
We can not enable the LVM in rescue mode. The system is using a Software raid.
# cat /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
/dev/md0 /boot ext3 defaults 1 2
/dev/VolGroup00/LogVol03 /home ext3 defaults 1 2
/dev/VolGroup00/LogVol01 /var ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol02 swap swap defaults 0 0
# /sbin/fdisk -l
Disk /dev/sda: 250.0 GB, 250056000000 bytes
255 heads, 63 sectors/track, 30400 cylinders
Units = of 16065 * 512 = 8225280 bytes
デバイス Boot Start End Blocks Id System
/dev/sda1 * 1 32 257008+ fd Linux raid
/dev/sda2 33 30400 243930960 fd Linux raid
Disk /dev/sdb: 250.0 GB, 250056000000 bytes
255 heads, 63 sectors/track, 30400 cylinders
Units = of 16065 * 512 = 8225280 bytes
デバイス Boot Start End Blocks Id System
/dev/sdb1 * 1 32 257008+ fd Linux raid
/dev/sdb2 33 30400 243930960 fd Linux raid
Environment
- Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.