vgreduce(8) — Maintenance
NAME
vgreduce − Reduce a volume group by removing one or more physical volumes from it
SYNOPSIS
/usr/sbin/vgreduce VolumeGroupName PhysicalVolumePath ...
DESCRIPTION
The vgreduce command removes the physical volume(s) specified with the PhysicalVolumePath parameter from VolumeGroupName.
All but one physical volume can be removed. The last physical volume must remain in the volume group so that the logical volume driver can continue to operate. The last physical volume in the volume group is removed by the vgremove command.
All logical volumes residing on the physical volume(s) represented by the PhysicalVolumePath parameter must be removed by executing the lvremove command before executing the vgreduce command.
EXAMPLES
To remove physical volume hdisk1 from volume group vg01, enter:
vgreduce /dev/vg01 /dev/hdisk1
The physical volume hdisk1 no longer belongs to volume group vg01.
To remove physical volume rz1c from volume group vg01, enter:
vgreduce /dev/vg01 /dev/rz1c
The physical volume rz1c no longer belongs to volume group vg01.
FILES
/usr/sbin/vgreduce
Specifies the command path
RELATED INFORMATION
Commands: lvremove(8), vgchange(8), vgcreate(8), vgdisplay(8), vgextend(8)