System Management

An administrator must move the disks holding volume group vg_archive from one Linux server to another. The logical volumes are mounted on the source server. Which sequence of steps should be done on the source server BEFORE the disks are physically removed?

Show the answer

Correct answerA. Unmount the filesystems, deactivate the group with vgchange -an vg_archive, then run vgexport vg_archive

The filesystems must be unmounted and the group deactivated before vgexport can mark it as exported, so it can be safely moved. Reversing the order fails because vgexport refuses an active group. vgimport belongs on the destination server, not the source.