CentOS 7 and LVM Disk Drives

Jump to navigation Jump to search

An unexpected item came up today that had me repairing a CentOS 7 LVM disk drive while it was mounted as a secondary disk drive on a different CentOS machine (which as it turns out is necessary as the "CHKDSK" utility won't run if the disk is mounted)

The helpful information is as follows;

  • Mount location of LVM Disk Drives: /dev/centos/root (root is the main partition)
  • Repair Command: xfs_repair /dev/centos/root -L (the -L is to override errors)