1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

man: pvscan updates

This commit is contained in:
David Teigland 2018-11-14 09:34:30 -06:00
parent 819b469880
commit 814cff0c20

View File

@ -1,13 +1,11 @@
pvscan reads all supported LVM block devices in the system for PVs.
When called without the --cache option, pvscan lists PVs on the system, When called without the --cache option, pvscan lists PVs on the system,
like like
.BR pvs (8) .BR pvs (8)
or or
.BR pvdisplay (8). .BR pvdisplay (8).
When the --cache and -aay options are used, pvscan keeps track of PVs that When the --cache and -aay options are used, pvscan records which PVs are
have appeared on the system, and activates LVs in completed VGs. A VG is available on the system, and activates LVs in completed VGs. A VG is
complete when pvscan sees that the final PV in the VG has appeared. This complete when pvscan sees that the final PV in the VG has appeared. This
is used by event-based system startup (systemd, udev) to activate LVs. is used by event-based system startup (systemd, udev) to activate LVs.
@ -23,14 +21,14 @@ In most cases, the pvscan will only read the named devices.
.B pvscan --cache -aay .B pvscan --cache -aay
.IR device ... .IR device ...
This begins by performing the same steps as above. If the device is the This begins by performing the same steps as above. Afterward, if the VG
final PV in the VG to appear on the system, then pvscan will activate LVs for the specified PV is complete, then pvscan will activate LVs in the VG
in the VG (the same as vgchange -aay vgname would do.) (the same as vgchange -aay vgname would do.)
.B pvscan --cache .B pvscan --cache
This clears all existing PV online records, then scans all the devices on This first clears all existing PV online records, then scans all devices
the system, adding PV online records for any PVs that it finds. on the system, adding PV online records for any PVs that are found.
.B pvscan --cache -aay .B pvscan --cache -aay