HP B2355-92068 Administration Manual page 519

System administration commands
Table of Contents

Advertisement

lvchange(1M)
-c
mirror_consistency
contiguous
-C
-d
schedule
distributed
-D
HP-UX 11i Version 2: December 2007 Update
Set mirror consistency recovery. This option is effective only when
specified or previously set. mirror_consistency can have one of the follow-
ing values:
Set mirror consistency recovery on. LVM achieves mirror consistency
y
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 subsys-
tem; for example, swap. See the WARNINGS section for more details.
Set the contiguous allocation policy. contiguous can have one of the follow-
ing values:
y
Set a contiguous allocation policy. Physical extents are allocated in
ascending order without any gap between adjacent extents and all
extents are contained in a single physical volume.
Do not set a contiguous allocation policy.
n
A nonempty logical volume that has a noncontiguous allocation policy can-
not 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.
Set the scheduling policy when a logical extent with more than one mirror
is written. (The scheduling policy of a striped logical volume is striped and
cannot be changed.) schedule can have one of the following values:
Establish a parallel scheduling policy.
p
Establish a sequential scheduling policy. Use this value with care,
s
because it leads to performance loss in most cases.
Change the distributed allocation policy. distributed can have one of the
following values:
Turn on distributed allocation.
y
Turn off distributed allocation.
n
Force distributed allocation to be on.
f
When the distributed allocation policy is turned on, only one free extent is
allocated from the first available physical volume. The next free extent is
allocated from the next available physical volume. Allocation of free
extents proceeds in round-robin order on the list of available physical
volumes.
When the distributed allocation policy is turned off, all available free
extents are allocated from each available physical volume before proceeding
to the next available physical volume.
The distributed allocation policy REQUIRES the PVG-strict allocation pol-
icy (
) to ensure that mirrors of distributed extents do not overlap
-s g
(for maximum availability).
The distributed allocation policy is incompatible with the striped scheduling
policy (
stripes ) and the contiguous allocation policy (
-i
See lvcreate (1M) for more information on the distributed allocation policy.
The
option will fail if the existing logical volume has any two con-
-D y
secutive logical extents on the same physical volume. To override this
failure, use the
-D f
option.
If a logical volume with the distributed allocation policy has at least two
consecutive
logical
extents
− 2 −
lvchange(1M)
-C y
on
the
same
physical volume,
Hewlett-Packard Company
-M n
is
l
).
then
519

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp-ux 11i

Table of Contents