System Management

Several disks from another server are attached to a Linux host. They hold three volume groups that were all exported earlier, and the administrator wants every one of them imported in a single step. Which command does this?

Show the answer

Correct answerD. vgimport -a

vgimport -a imports all exported volume groups that it finds. vgscan is the tempting choice, but it only detects groups and does not clear their exported state. vgexport -a does the opposite, marking inactive groups as exported.