mounting LVM disks via rescue disk (bad superblock)
Hi,
I have a server that kernal panic-ed on reboot and has a bad super block. I need to run fsck on the RootVG, but can't see or mount the filesystems, once I boot using the rescue disk. I have a non-LVM /boot partition and I am using grub loader. RHEL4.6 Dell R900 Perc-6i raid controller So my real question is how to mount the root file system from the rescue disk, when using LVM Thanks -DFEZZ1 |
Do a pvscan to see what you have on your attached drives, and then a vgchange -a y to activate the logical volumes.
You should then find the logical volumes in /dev/mapper/.... Note: NEVER RUN fcsk ON A PARTITION CONTAINING A VOLUME GROUP. Doing so will destroy the whole volume group. You can run fsck on /dev/mapper/VG/LV if necessary, but not on, for example, /dev/sda1. |
Thanks
Thanks a lot for the info!!!!
I'll put it to good use this and next time Thanks |
All times are GMT -5. The time now is 11:09 PM. |