Repair Centos 5 lvm filesytem

Posted on 12. Mar, 2008 by sabin in Linux

1) linux rescue

2) skip mounting and go to command prompt

3) Run the following command to activate the LVM partition

lvm vgchange -a y

5)You should be able to address the activated LVMs. If you have trouble with their naming, run:

lvm lvscan

6) check the partition

fdisk -l

7) Check and repair each logical volume’s filesystem by running something like this:

fsck -f /dev/VolGroup00/LogVol00

reboot you system

Leave a Reply