This is a follow-up on this question: How to run fsck with LVM
I have a RHEL 9 server which uses LVM on /dev/sda3. There are several LVs on a single VG.
After booting in maintenance mode (rd.break kernel option at GRUB boot line), I'd like to run a fsck on all partitions.
However, /dev/mapper/ and /dev/myvg/ only list the root and swap LVs, which are the only ones mentioned in rd.lvm.lv= in the kernel options.
A xfs_repair /dev/sda3 returns an error
Cannot open /dev/sda3: Device or resource busy.
How can I find (and do a fs check) the other LVs?
lvs’ output? Does it help if you runvgchange -a y?/usr/sbin/lvsand/usr/sbin/vgchange./usr/sbin/echo "$PATH"please