What command will remove the physical volume /dev/sda4 from the volume group /dev/vg0?

CORRECT TEXT
What command will remove the physical volume /dev/sda4 from the volume group /dev/vg0?
(Provide the command with options and parameters)

CORRECT TEXT
What command will remove the physical volume /dev/sda4 from the volume group /dev/vg0?
(Provide the command with options and parameters)

Answer: vgreduce /dev/vg0 /dev/sda4

Explanation:

from the man pages:
vgreduce – reduce a volume group
vgreduce allows you to remove one or more unused physical volumes from a volume group.



Leave a Reply 0

Your email address will not be published. Required fields are marked *