OS Manuals

/usr/bin/lvmdevices

Logical Volume Manager 2 utilities

From lvm2 2.03.44-r1 (os), captured 2026-11-08 by running lvmdevices --help (exit 0) · terse output. permalink

  Failed to find sysfs mount point
  WARNING: Running as a non-root user. Functionality may be unavailable.
  lvmdevices - Manage the devices file

  Print devices in the devices file.
  lvmdevices
	[ COMMON_OPTIONS ]

  Check the devices file and report incorrect values.
  lvmdevices --check
	[    --refresh ]
	[ COMMON_OPTIONS ]

  Update the devices file to fix incorrect values.
  lvmdevices --update
	[ -f|--force ]
	[    --delnotfound ]
	[    --refresh ]
	[ COMMON_OPTIONS ]

  Add a device to the devices file.
  lvmdevices --adddev PV
	[    --deviceidtype String ]
	[ COMMON_OPTIONS ]

  Remove a device from the devices file.
  lvmdevices --deldev String|PV
	[    --deviceidtype String ]
	[ COMMON_OPTIONS ]

  Find the device with the given PVID and add it to the devices file.
  lvmdevices --addpvid String
	[    --deviceidtype String ]
	[ COMMON_OPTIONS ]

  Remove the devices file entry for the given PVID.
  lvmdevices --delpvid String
	[ COMMON_OPTIONS ]

  Find the device with the given device_id and add it to the devices file.
  lvmdevices --addid String --deviceidtype String
	[ COMMON_OPTIONS ]

  Remove the devices file entry with the given device_id.
  lvmdevices --delid String --deviceidtype String
	[ COMMON_OPTIONS ]

  Print device_id types and values available for the device.
  lvmdevices --listids PV
	[    --deviceidtype String ]
	[ COMMON_OPTIONS ]

  Common options for lvm:
	[ -d|--debug ]
	[ -h|--help ]
	[ -q|--quiet ]
	[ -v|--verbose ]
	[ -y|--yes ]
	[ -t|--test ]
	[    --commandprofile String ]
	[    --config String ]
	[    --driverloaded y|n ]
	[    --nolocking ]
	[    --lockopt String ]
	[    --longhelp ]
	[    --profile String ]
	[    --version ]
	[    --devicesfile String ]
	[    --devices PV ]
	[    --nohints ]
	[    --journal String ]

  Use --longhelp to show all options and advanced commands.
Options (8)
OptionDescriptionSource
--checkChecks the content of the devices file.man
--delnotfoundRemove devices file entries with no matching device.man
--longhelpDisplay long help text.man
--nohintsDo not use the hints file to locate devices for PVs.man
--nolockingDisable locking.man
--refreshSearch for missing PVs on new devices, and update the devices file with new device IDs for the PVs if they are found on new devices.man
--updateUpdate the content of the devices file.man
--versionDisplay version information.man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.