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#

By ikhsan

One thought on “Using LVM in Linux Rescue Mode”
  1. Thanks! I was switching through my rescue ISO images not knowing why vgscan was not found (even /sbon/vgscan).

Leave a Reply to Satheesh Cancel reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.