1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

man vgexport: expand description

This commit is contained in:
David Teigland 2018-05-21 16:26:49 -05:00
parent 6029d6d8d8
commit 73ae68e1c4

View File

@ -1,8 +1,19 @@
vgexport makes inactive VGs unknown to the system. In this state, all the vgexport changes a VG into the exported state, which ensures that the VG
PVs in the VG can be moved to a different system, from which and its disks are not being used, and cannot be used until the VG is
\fBvgimport\fP(8) can then be run. imported by \fBvgimport\fP(8). Putting a VG into an unusable, offline
state can be useful when doing things like moving a VG's disks to another
system. Exporting a VG provides some protection from its LVs being
accidentally used, or being used by an automated system before it's ready.
Most LVM tools ignore exported VGs. A VG cannot be exported until all of its LVs are inactive.
LVM commands will ignore an exported VG or report an error if a command
tries to use it.
For an exported VG, the vgs command will display \"x\" in the third VG
attribute, and the pvs command will display \"x\" in the second PV
attribute. Both vgs and pvs will display \"exported\" from the export
report field.
vgexport clears the VG system ID, and vgimport sets the VG system ID to vgexport clears the VG system ID, and vgimport sets the VG system ID to
match the host running vgimport (if the host has a system ID). match the host running vgimport (if the host has a system ID).