lvchange.1m (2010 09)

l
lvchange(1M) lvchange(1M)
logical volume open remain open.
-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.
-c mirror_consistency Set mirror consistency recovery. This option is effective only when
-M n
is specified or previously set.
mirror_consistency can have one of the following values:
y Set mirror consistency recovery on. LVM achieves mirror con-
sistency during volume group activation by going through all logical
extents and copying data from a nonstale copy to the other mirror
copies.
n Set mirror consistency recovery off. LVM does not perform mirror
consistency recovery on this logical volume when the volume group
is activated following a system crash. This setting should only be
used on logical volumes that do not require mirror consistency
recovery or where mirror consistency recovery is performed by
another subsystem; for example, swap. See the WARNINGS section
for more details.
-C contiguous Set the contiguous allocation policy, for a logical volume.
contiguous can have one of the following values:
y Set a contiguous allocation policy, for the logical volume. Physical
extents are allocated in ascending order without any gap between
adjacent extents and all extents are contained in a single physical
volume.
n Do not set a contiguous allocation policy.
A nonempty logical volume that has a noncontiguous allocation policy
cannot be changed to a contiguous allocation policy unless it happens to
meet all the requirements of the contiguous allocation policy. See
lvcreate (1M) for more information about the contiguous allocation policy.
The
-C option is not applicable for snapshot volumes.
-d schedule Set the scheduling policy when a logical extent with more than one mir-
ror is written, for logical volumes. (The scheduling policy of a striped
logical volume is striped and cannot be changed.)
schedule can have one of the following values:
p Establish a parallel scheduling policy.
s Establish a sequential scheduling policy. Use this value with care,
because it leads to performance loss in most cases.
The
-d option is not applicable for snapshot volumes.
-D distributed Change the distributed allocation policy for a logical volume.
distributed can have one of the following values:
y Turn on distributed allocation.
n Turn off distributed allocation.
f Force distributed allocation to be on.
When the distributed allocation policy is turned on, only one free extent
is allocated from the first available physical volume. The next free
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010