Disk Configuration (includes LVM)

From Notes

Jump to: navigation, search

List detailed information on all attached disks:

ioscan -fnC disk

To see the last scan performed without performing a real scan, add a u:

ioscan -funC disk

Re-create the /etc/lvmtab to get rid of Volume Groups with non-existent disks:

# mv /etc/lvmtab /etc/lvmtab.bak
# vgscan -a

Making more space by replacing small LVM mirrored disks with larger LVM mirrored disks

Disk Recovery

  1. Locate and replace bad disk.
  2. Run vgchange -a y <vg> to recover volume group
Personal tools