pvchange.1m (2012 03)

p
pvchange(1M) pvchange(1M)
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 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 the volume group and
resume, automatically attaching the failed physical volumes.
vgchange -a y /dev/vg_work
Enable Half Dead Disk Detection by setting both -C and -T thresholds:
pvchange -C 1200 -T 14400 /dev/disk/disk80
Enable Half Dead Disk Detection by setting only -T threshold to 6 hours:
pvchange -T 21600 -C 0 /dev/disk/disk80
Disable Half Dead Disk Detection by resetting both -C and -T thresholds:
pvchange -C 0 -T 0 /dev/disk/disk80
Reset the media error counters:
pvchange -R m /dev/disk/disk80
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 command should be used to disable the links.
When the proactive polling is enabled, LVM will not be testing alternate links unless legacy mode is in
operation, even if legacy paths are being used.
SEE ALSO
pvdisplay(1M), scsimgr(1M), vgcfgbackup(1M), vgchange(1M). vgextend(1M), vgreduce(1M), environ(5),
lang(5), intro(7), lvm(7).
6 Hewlett-Packard Company 6 HP-UX 11i Version 3: March 2012