CentOS 7 and LVM Disk Drives

Wiki.TerraBase.info
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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)