Removes physical volumes from a volume group. When all physical volumes are removed from the volume group, the volume group is deleted.
The reducevg command removes one or more physical volumes represented by the PhysicalVolume parameter from the VolumeGroup. When you remove all physical volumes in a volume group, the volume group is also removed.
Flag name | Description |
---|---|
-f | Removes the requirement for user confirmation when the -rmlv flag is used. |
-rmlv | Deallocates the existing logical volume partitions
and then deletes resultant empty logical volumes from the specified
physical volumes. User confirmation is required unless the -f flag
is added. Attention: The reducevg command with
the -rmlv flag automatically deletes all logical volume data
on the physical volume before removing the physical volume from the
volume group. If a logical volume spans multiple physical volumes,
the removal of any of those physical volumes may jeopardize the integrity
of the entire logical volume.
|
reducevg vg01 hdisk1
reducevg -rmlv -f vg01 hdisk1
The
physical volume hdisk1 and all residing logical volumes are
removed.