When trying to use e2fsck on a volume group from rescue mode, how do I find the volume groups if /dev/mapper is empty?

Updated -

The /dev/mapper symlinks are not created in rescue mode. This means the volume groups in the /dev/mapper can not be seen. To find the volume groups from within rescue mode, enter the following commands:

lvm vgscan
lvm vgchange -ay
lvm lvs

The output from lvs will show the volume group name and the logical volume name. Execut...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content