You are preparing to relocate an external RAID chassis that contains every physical volume of the LVM volume group research_vg from one Linux server to another. All logical volumes in the group have been unmounted and set inactive. To prevent the volume group from being automatically activated on the source system after a reboot-while still allowing it to be recognized and activated on the destination host once the disks are attached-which single LVM command should you run on the source server before disconnecting the chassis?
The vgexport command places a volume group into the exported state. This unregisters the group from the local system so it will not be activated on future boots, but leaves the on-disk metadata intact. After the disks are connected to the new host, vgimport (followed by vgchange -ay) can be used to register and activate the group.
vgchange -a n research_vg merely deactivates the group; it is still registered on the original host and may be reactivated automatically later.
vgscan --cache only refreshes the LVM metadata cache-it does not change the group's activation or registration state.
vgreduce --removemissing research_vg is intended to drop missing physical volumes from a group and is unrelated to safely moving the entire volume group to another machine.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does `vgexport` do in LVM?
Open an interactive chat with Bash
What happens if you only run `vgchange -a n` instead of `vgexport`?
Open an interactive chat with Bash
How do you activate a volume group on the destination server after moving it?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access