HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
p
pvchange(1M) pvchange(1M)
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
Prohibit the allocation of additional physical extents to a physical volume:
pvchange -x n /dev/dsk/c0t0d0
Allow the allocation of additional physical extents to a physical volume:
pvchange -x y /dev/dsk/c0t0d0
Only switch paths when the current path is unavailable. Do not switch back to a prior path which had
failed and has recovered, when the current path works:
pvchange -S n /dev/dsk/c0t0d0
Switch paths whenever a better path becomes available again after a failure, even if the current path is
fine:
pvchange -S y /dev/dsk/c0t0d0
Manually switch a physical volume to use another controller path:
pvchange -s /dev/dsk/c2t0d2
Set the IO_timeout value for a physical volume to 60 seconds:
pvchange -t 60 /dev/dsk/c2t0d2
Set the IO_timeout value for a physical volume to zero (0) to use the driver default:
pvchange -t 0 /dev/dsk/c2t0d2
Change the (empty) physical volume to become a stand-by spare for the volume group:
pvchange -z y /dev/dsk/c2t0d2
Change the (active or stand-by) spare physical volume to become a regular member of the volume group:
pvchange -z n /dev/dsk/c2t0d2
Detach a path to a physical volume
pvchange -a n /dev/dsk/c2t0d2
Detach all the paths to a physical volume
pvchange -a N /dev/dsk/c2t0d2
Attach a path to a physical volume
pvchange -a y /dev/dsk/c2t0d2
The vgchange command may be used to attach all the physical volumes in a volume group and resume
automatically attaching the failed physical volumes.
vgchange -a y /dev/vg_work
WARNINGS
If the Mass Storage Subsystem multipath solution is enabled, the pvchange command options that are
link specific may not stop I/Os or switch links, as they did in earlier releases. This means that pvchange
-a n
, pvchange -s, and pvchange -S may not stop all I/Os on a given path. The scsimgr com-
mand should be used to disable the links.
SEE ALSO
pvdisplay(1M), scsimgr(1M), vgcfgbackup(1M), vgchange(1M). vgextend(1M), vgreduce(1M), environ(5),
lang(5), intro(7), lvm(7).
188 Hewlett-Packard Company − 4 − HP-UX 11i Version 3: February 2007