LVMDEVICES(8) (NAME) lvmdevices - LVM (SYNOPSIS) lvmdevices [] (DESCRIPTION) lvmdevices (devices file) LVM2 LVM . LVM lvm . /etc/lvm/devices/system.devices . lvmdevices(8) . (Listing devices) lvmdevices system.devices : lvmdevices (device ID) lvm . "Device none" . ( system.devices .) (Adding devices) lvm . : lvmdevices --adddev device PVID : lvmdevices --addpvid PVID : lvmdevices --addid IDNAME --deviceidtype IDTYPE PV VG: vgimportdevices VG PV VG : vgimportdevices -a pvcreate vgcreate vgextend . (Removing devices) lvm . . : lvmdevices --deldev device PVID : lvmdevices --delpvid PVID : lvmdevices --delid IDNAME --deviceidtype IDTYPE (device IDs) LVM WWID . . lvm . . lvm . lvm . lvm PV . search_for_devnames lvm devname . : IDTYPE IDNAME. IDTYPE IDNAME . IDTYPE . . lvm IDTYPE --deviceidtype ( ). : lvmdevices --listids device lvmdevices --listids device --deviceidtype IDTYPE (device ID types) : o sys_wwid wwid wwid sysfs . . o wwid_naa naa wwid vpd_pg83 sysfs . o wwid_eui eui wwid vpd_pg83 sysfs . o wwid_t10 t10 wwid vpd_pg83 sysfs . o sys_serial sysfs vpd_pg80 . wwid . o mpath_uuid dm multipath sysfs . o crypt_uuid dm crypt sysfs . o md_uuid md sysfs . o lvmlv_uuid PV LV lvm sysfs . o loop_file loop sysfs . o devname . o nvme_uuid, nvme_nguid, nvme_eui64 nvme wwid . sysfs (sysfs files) sysfs . sysfs : /sys/dev/block/major:minor/device/wwid /sys/dev/block/major:minor/device/serial /sys/dev/block/major:minor/wwid /sys/dev/block/major:minor/device/vpd_pg83 (binary) /sys/dev/block/major:minor/device/vpd_pg80 (binary) /sys/dev/block/major:minor/dm/uuid (lvm reads via ioctl) /sys/dev/block/major:minor/md/uuid /sys/dev/block/major:minor/loop/backing_file ( sysfs .) (devices file contents) LVM . LVM . UUID PV ( PVID) LVM . : lvmdevices --check : lvmdevices --update lvm . HASH lvm lvm . lvm /etc/lvm/devices/backup/ . : VERSION: . PRODUCT_UUID: system.devices . HOSTNAME . : IDTYPE: IDNAME . IDNAME: . DEVNAME: . PVID: UUID LVM PV LVM. PART: PV . (device ID refresh) lvm system.devices system.devices ( PRODUCT_UUID HOSTNAME). lvm system.devices lvm system.devices . lvm << >> (device ID refresh) ( device_ids_refresh device_ids_refresh_checks lvm.conf). system.devices PVID . LVM PVID system.devices . PVID system.devices PVID . ( ) . device_ids_refresh = 0 . device_ids_refresh = 1 . device_ids_refresh = seconds PV system.devices . REFRESH_UNTIL system.devices . . : system.devices : lvmdevices --check --refresh system.devices PV : lvmdevices --update --refresh system.devices DMI product_uuid /sys/devices/virtual/dmi/id/product_uuid uname(2). lvm.conf(5) device_ids_refresh_checks . (custom devices files) /etc/lvm/devices lvm . . system.devices .devices . --devicesfile . system.devices . /etc/lvm/devices/dmeventd.devices dmeventd system.devices dmeventd.devices . dmeventd.devices VG dmeventd . dmeventd.devices VG dmeventd . (disabling and overriding) : o system.devices system.devices . o use_devicesfile=0 lvm.conf use_devicesfile 0 system.devices . o --devicesfile "" . o --devices device --devices . o pvs -A -A --allpvs pvs(8) . lvm lvm.conf . lvm lvm.conf vgimportdevices regex VG . (VG metadata) LVM VG PV VG . : pvs -o deviceidtype,deviceid ( lvmdevices VG lvm .) (creating the devices file) system.devices pvcreate vgcreate VG . lvmdevices --adddev vgimportdevices . (USAGE) . lvmdevices [ COMMON_OPTIONS ] -- . lvmdevices --check [ --refresh ] [ COMMON_OPTIONS ] -- . lvmdevices --update [ -f|--force ... ] [ --delnotfound ] [ --refresh ] [ COMMON_OPTIONS ] -- . lvmdevices --adddev PV [ --deviceidtype String ] [ COMMON_OPTIONS ] -- . lvmdevices --deldev String [ --deviceidtype String ] [ COMMON_OPTIONS ] -- PVID . lvmdevices --addpvid String [ --deviceidtype String ] [ COMMON_OPTIONS ] -- PVID . lvmdevices --delpvid String [ COMMON_OPTIONS ] -- device_id . lvmdevices --addid String --deviceidtype String [ COMMON_OPTIONS ] -- device_id . lvmdevices --delid String --deviceidtype String [ COMMON_OPTIONS ] -- device_id . lvmdevices --listids PV [ --deviceidtype String ] [ COMMON_OPTIONS ] -- lvm: [ -d|--debug ... ] [ -h|--help ] [ -q|--quiet ... ] [ -t|--test ] [ -v|--verbose ... ] [ -y|--yes ] [ --commandprofile String ] [ --config String ] [ --devices PV ] [ --devicesfile String ] [ --driverloaded y|n ] [ --journal String ] [ --lockopt String ] [ --longhelp ] [ --nohints ] [ --nolocking ] [ --profile String ] [ --version ] (OPTIONS) --adddev PV . --addid String (device_id) . --addpvid String PVID . --check . PVID . --commandprofile String . lvm.conf(5) . --config String . lvm.conf(5) . (String) lvm.conf(5) / . lvm.conf(5) . -d|--debug ... (). () / syslog ( ) . --deldev String . --deldev . --deviceidtype --deldev . --delid String (device ID) . --delnotfound . --delpvid String PVID . --deviceidtype String (device ID) . lvm . --devices PV . . . . --devicesfile String LVM . /etc/lvm/devices/ lvmdevices(8) . devices/devicesfile devices/use_devicesfile lvm.conf(5) . --driverloaded y|n no device-mapper . . -f|--force ... . . -h|--help . --journal String systemd. log/journal lvm.conf . command: . output: . debug: . --listids PV (device IDs) . --lockopt String lvmlockd . lvmlockd(8) . --longhelp . --nohints (hints file) PV. PV . . --nolocking . . --profile String --commandprofile --metadataprofile . -q|--quiet ... . --debug --verbose . 'no' . --refresh PV PV . PV WWID . PV . : PV PV / lvm PV . PV deldev/adddev . -t|--test . . . . --update . -v|--verbose ... (verbose). stdout stderr . --version . -y|--yes (yes). . ( -qq .) (VARIABLES) String . Size[UNIT] Size . 'k' 'K' . |UNIT . UNIT : b|B s|S () k|K (KiB) m|M (MiB) g|G (GiB) t|T (TiB) p|P (PiB) e|E (EiB). ( --units .) (ENVIRONMENT VARIABLES) lvm lvm(8) . LVM_VG_NAME VG . (SEE ALSO) lvm(8), lvm.conf(5), lvmconfig(8), lvmdevices(8), pvchange(8), pvck(8), pvcreate(8), pvdisplay(8), pvmove(8), pvremove(8), pvresize(8), pvs(8), pvscan(8), vgcfgbackup(8), vgcfgrestore(8), vgchange(8), vgck(8), vgcreate(8), vgconvert(8), vgdisplay(8), vgexport(8), vgextend(8), vgimport(8), vgimportclone(8), vgimportdevices(8), vgmerge(8), vgmknodes(8), vgreduce(8), vgremove(8), vgrename(8), vgs(8), vgscan(8), vgsplit(8), lvcreate(8), lvchange(8), lvconvert(8), lvdisplay(8), lvextend(8), lvreduce(8), lvremove(8), lvrename(8), lvresize(8), lvs(8), lvscan(8), lvm-fullreport(8), lvm-lvpoll(8), blkdeactivate(8), lvmdump(8), dmeventd(8), lvmpolld(8), lvmlockd(8), lvmlockctl(8), cmirrord(8), lvmdbusd(8), fsadm(8), lvmsystemid(7), lvmreport(7), lvmcache(7), lvmraid(7), lvmthin(7), lvmvdo(7), lvmautoactivation(7) lvm2 LVMDEVICES(8)