Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

vgcreate(1M)

vgextend(1M)

vgchange(1M)

vgdisplay(1M)

vgreduce(1M)  —  Series 800 Only

NAME

vgreduce − reduce a volume group by removing one or more physical volumes

SYNOPSIS

/etc/vgreduce volume_group_name physical_volume_path ... 

DESCRIPTION

vgreduce removes the physical volume or volumes specified by physical_volume_path from volume_group_name.

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 (see vgremove(1M)).

All logical volumes residing on the physical volume or volumes represented by physical_volume_path must be removed by executing lvremove before executing vgreduce (see lvremove(1M)).

Any physical volumes appearing in physical_volume_path that is also a member of a physical volume group (as defined in /etc/lvmpvg) is also be removed from that physical volume group.  If the physical volume happens to be the last one in the physical volume group, the physcial volume group is also removed from the volume group. 

EXTERNAL INFLUENCES

Environment Variables

LANG determines the language in which messages are displayed. 

If LANG is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG. 

If any internationalization variable contains an invalid setting, vgreduce behaves as if all internationalization variables are set to "C".  See environ(5).

EXAMPLES

Remove physical volume /dev/dsk/c1d0s2 from volume group /dev/vg01:

vgreduce /dev/vg01 /dev/dsk/c1d0s2

SEE ALSO

vgcreate(1M), vgextend(1M), vgchange(1M), vgdisplay(1M). 

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026