HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)
p
pvchange(1M) pvchange(1M)
NAME
pvchange - change characteristics and access path of physical volume in LVM volume group
SYNOPSIS
/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
Remarks
pvchange cannot be performed if the volume group is activated in shared mode.
DESCRIPTION
The
pvchange command changes the characteristics and access path of a physical volume (pv_path )ina
volume group.
For multiported devices accessed via multiple paths,
pvchange may be used to customize the cir-
cumstances that may cause LVM to automatically switch from one path to another, or when LVM will
switch back to a prior path which failed when it is available again (generally described as the physical
volume’s autoswitch behavior).
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.
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
logical volume belongs.
n Do not back up configuration changes this time.
-s Immediately begin accessing the associated physical volume named by
pv_path.
-S autoswitch This option specifies the autoswitch behavior for multiported physical volumes
accessed via multiple paths. It has no effect for physical volumes without
alternate paths. autoswitch option may be set to one of the following values:
y LVM is directed to automatically switch from the path it is using
whenever a better path to the physical volume is available. LVM
will switch paths when a better path recovers (after it had failed
earlier), or if the current path fails and another path is available.
This is the default.
n LVM is directed to automatically switch to using the best available
path only when the path currently in use is unavailable. LVM will
continue using a specific path for the physical volume as long as it
works, regardless of whether another better path recovers from a
failure.
-x extensibility Set the allocation permission to add physical extents to the physical volume
pv_path . extensibility can have the following values:
HP-UX 11i Version 2: August 2003 − 1 − Hewlett-Packard Company Section 1M−−623