Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > Logical Volume Manager (LVM) > Issue <<  37 of 66 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 11472
Last update: 07-01-08
Issue:
What is the process to fsck LVM volumes?
Resolution:

First, boot into rescue mode by using the correct media. This is very important: When prompted to mounted the drives, do not. Using fsck on a mounted filesystem will destroy all the data on that file system. This is unrecoverable. The data will be gone forever--save for very expensive hardware-level data recovery.

The next step is to get into the lvm shell by typing the command lvm.

From inside this shell, run the following set of commands:

# pvscan
# vgscan
# lvscan
# vgchange -ay
# exit

As these are running, check to make sure that no errors are reported.

After exiting the lvm shell, run e2fsck on the LVM volume (in this example, the volume is /dev/VolGroup00/LogVol01):

# e2fsck -f /dev/VolGroup00/LogVol01


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > Logical Volume Manager (LVM) > Issue <<   37  of  66  >>