GNU/Linux |
RedHat 9.0(Shrike) |
|
![]() |
vgexport(8) |
![]() |
vgexport − make volume groups unknown to the system
vgexport [−a|−−all] [−d|−−debug] [−h|−−help] [−v|−−verbose] [−−version] [VolumeGroupName...]
vgexport allows you to make the inactive VolumeGroupName unknown to the system. You can then move all of the physical volumes in that volume group to a different system for later vgimport(8). An exported volume group is not detected by vgscan(8), but pvscan(8) will show which physical volumes belong to the exported volume group.
OPTIONS
−a, −−all
Exports all inactive volume groups.
−d, −−debug
Enables additional debugging output (if compiled with DEBUG).
−h, −−help
Print a usage message on standard output and exit successfully.
−v, −−verbose
Display verbose runtime information about vgexport’s activities.
−−version
Display tool and IOP version and exit successfully.
vgexport returns an exit code of 0 for success and > 0 for error:
1 no volume
groups found at all
2 no volume group name on command line
95
driver/module not in kernel
96 invalid I/O protocol version
97 error locking logical volume manager
98 invalid lvmtab (run vgscan(8))
99 invalid command line
lvm(8), vgimport(8)
Heinz Mauelshagen <Linux-LVM@Sistina.com>
![]() |
vgexport(8) | ![]() |