HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
v
vgreduce(1M) vgreduce(1M)
lvmtab file. Currently the max limit is 8 paths to a PV (7 alternates and one pri-
mary). In this situation invoking the command without the -f option will not resolve
the condition because the path is not attached to the volume group. Similarly the con-
dition would not be overcome by invoking with the -f option as this works on PVs
rather than links.
pv_path The block device path name of a physical volume.
vg_name The path name of the volume group.
EXTERNAL INFLUENCES
Environment Variables
LANG determines the language in which messages are displayed.
If LANG is not specified or is null, it defaults to "C" (see lang(5)).
If any internationalization variable contains an invalid setting, all internationalization variables default to
"C" (see environ(5)).
EXAMPLES
Remove physical volume /dev/dsk/c0t1d0
from volume group /dev/vg01:
vgreduce /dev/vg01 /dev/dsk/c0t1d0
Force reduction of missing PVs from volume group: vg01
vgreduce -f /dev/vg01
Removes the physical volume from the volume group when it is still in the lvmtab file, but it is currently
marked as missing from the volume group:
vg01
vgreduce -l /dev/vg01
The following messages will appear after missing PVS has been removed successfully:
PV with key 0 successfully deleted from vg /dev/vg01
Repair done, please do the following steps.....:
1. Save /etc/lvmtab to another file.
2. Remove /etc/lvmtab .
3. Use vgscan -v to recreate /etc/lvmtab .
4. NOW use vgcfgbackup(1M) to save the LVM setup.
SEE ALSO
vgchange(1M), vgcreate(1M), vgdisplay(1M), vgextend(1M).
HP-UX Release 11i: December 2000 − 2 − Section 1M−−1031
___
___