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/sda4from the man pages:
vgreduce – reduce a volume group
vgreduce allows you to remove one or more unused physical volumes from a volume group.
vgreduce /dev/vg0 /dev/sda4