HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
p
pvchange(1M) pvchange(1M)
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
Enable LVM’s proactive polling of alternate links
pvchange -p y /dev/dsk/c2t0d2
Disable LVM’s proactive polling of alternate links
pvchange -p n /dev/dsk/c2t0d2
Detach a path to a PV
pvchange -a n /dev/dsk/c2t0d2
Detach all the paths to a PV
pvchange -a N /dev/dsk/c2t0d2
Attach a path to a PV.
pvchange -a y /dev/dsk/c2t0d2
The vgchange(1M) command may be used to attach all PVs in the volume group and resume automatically
attaching failed PVs.
vgchange -a y /dev/vg_work
WARNINGS
The -p proactivepolling option requires the kernel to be updated to support this functionality.
SEE ALSO
pvdisplay(1M), vgchange(1M).
HP-UX 11i Version 2: December 2007 Update − 4 − Hewlett-Packard Company 181