So, the OS disk at one of RHEL boxen on my vm farm is toasted and I need to check the health of the remaining disks, which are using LVM2. Booting to rescue mode with RHEL disk, I found out that I can’t right away use LVM related tool:
sh-3.2# vgscan sh: vgscan: command not found
So what we need to do is to start the command with “lvm” prefix
sh-3.2# lvm vgscan Reading all physical volumes. This may take a while. . . Found volume group 'VG00' using metadata type lvm2 sh-3.2#
One thought on “Using LVM in Linux Rescue Mode”
Thanks! I was switching through my rescue ISO images not knowing why vgscan was not found (even /sbon/vgscan).