HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

p
pvchange(1M) pvchange(1M)
NAME
pvchange - change characteristics and access path of a physical volume in an LVM volume group
SYNOPSIS
/usr/sbin/pvchange
[-A autobackup] -a
availability pv_path
/usr/sbin/pvchange
[-A autobackup] -s
pv_path
/usr/sbin/pvchange
[-A autobackup] -S
autoswitch pv_path
/usr/sbin/pvchange
[-A autobackup] -x
extensibility pv_path
/usr/sbin/pvchange
[-A autobackup] -t
IO_timeout pv_path
/usr/sbin/pvchange
[-A autobackup] -z
sparepv pv_path
/usr/sbin/pvchange
[-A autobackup] -p
proactivepolling pv_path
Remarks
Only
pvchange -a can be performed if the volume group is activated in shared mode. All other options
are not allowed for physical volumes in shared volume groups.
DESCRIPTION
The pvchange command changes the characteristics and access path of a physical volume (pv_path)ina
volume group.
For multiported devices accessed through multiple paths, you can use
pvchange to customize the follow-
ing behaviors:
How LVM switches from one path to another in case of path failure or recovery.
How LVM tests alternate links.
pvchange also permits you to switch manually to a specific path to the physical volume.
pvchange sets the allocation permission to add physical extents to the physical volume.
If you have installed the optional HP MirrorDisk/UX software, you can use the
-z option to designate a
spare physical volume to be used to replace an existing physical volume within a volume group when mir-
roring is in effect, in the event the existing physical volume fails.
pvchange can also be used to attach or detach specific paths or physical volumes.
Options and Arguments
pvchange recognizes the following options and arguments.
pv_path The block device path name of a physical volume.
-A autobackup Set automatic backup for this invocation of this command. autobackup can have
one of the following values:
y Automatically back up configuration changes made to the logical
volume. This is the default.
After this command executes, the vgcfgbackup command (see
vgcfgbackup(1M)) is executed for the volume group to which the logi-
cal volume belongs.
n Do not back up configuration changes this time.
-a availability Attach or detach the physical volume pv_path. availability can have one of the
following values:
y Attach the indicated path to the physical volume. An attached path or
device is available for LVM to use. Attaching a path makes that path
available to the volume group, if possible. LVM may begin using the
path if necessary to access the disk. If formerly all the paths were
unavailable to a given physical volume, making any path available will
make the physical volume available again.
n Detach only the indicated path to the physical volume. A detached
path is not available for LVM to use. Detaching a single path causes
LVM to close the device for that one path and to stop using it. If the
178 Hewlett-Packard Company 1 HP-UX 11i Version 2: December 2007 Update