1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/man/vgexport.8_des

20 lines
948 B
Plaintext
Raw Normal View History

2018-05-22 00:26:49 +03:00
vgexport changes a VG into the exported state, which ensures that the VG
and its disks are not being used, and cannot be used until the VG is
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.
2021-04-16 16:57:01 +03:00
.P
2018-05-22 00:26:49 +03:00
A VG cannot be exported until all of its LVs are inactive.
2021-04-16 16:57:01 +03:00
.P
2018-05-22 00:26:49 +03:00
LVM commands will ignore an exported VG or report an error if a command
tries to use it.
2021-04-16 16:57:01 +03:00
.P
2018-05-22 00:26:49 +03:00
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.
2021-04-16 16:57:01 +03:00
.P
2017-02-11 01:20:19 +03:00
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).