HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)
v
vgreduce(1M) vgreduce(1M)
vgimport command place too many links beyond the max limit allowed in the
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. Simi-
larly the condition 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).
Section 1M−−874 Hewlett-Packard Company − 2 − HP-UX 11i Version 2: August 2003