checking filesystems in emergency.target

Posted on

when booting to emergency.target by editing the grub menu command line options it mounts only / and /usr filesystems.

I'm using lvm so the devices are:

/dev/mapper/vg0-root
/dev/mapper/vg0-usr

if I look in /dev/mapper those are the only two lvs listed.

So what's the recommended procedure for running fsck or xfs_repair against any of the other filesystems/lvs like /var /home /opt ?

How does one reference those when in emergency.target since the devices haven't been created in /dev/mapper ?

Is there another way to reference them? Or is there an additional procedure required to get the device files to be created in /dev/mapper directory?

Responses