Contact Form

Name

Email *

Message *

Cari Blog Ini

Pvscan No Matching Physical Volumes Found

PVScan Fails: No Matching Physical Volumes Found

Troubleshooting PVSCAN Errors and Making Old Disks Visible

When performing operations related to physical volumes (PVs) in Linux, it's possible to encounter errors with the pvscan command. One common issue is receiving a No matching physical volumes found error. This typically occurs due to lock operations being ongoing on other devices.

Finding and Making Old Disks Visible

To make old disks visible to pvscan, follow these steps:

  1. Run pvscan -v to view all physical volumes, including those not currently visible.
  2. Identify the physical volume you want to add to your LVM configuration.
  3. Run sudo pvcreate [PV_name] to create the PV.
  4. Check the status of the PV using sudo pvs.

Using Alternative Commands

If pvscan continues to fail, try using alternative commands to display properties of LVM physical volumes:

  • pvdisplay: Displays detailed information about a specific PV.
  • vgscan: Scans for volume groups (VGs) and displays information about them.
  • lvscan: Scans for logical volumes (LVs) within VGs and displays information about them.


Comments