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

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

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

Answer: vgreduce

Explanation:
/dev/vg0
/dev/sda4

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 1

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


Micha

Micha

vgreduce /dev/vg0 /dev/sda4