HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)

l
lvchange(1M) lvchange(1M)
lvdisplay(1M) will display the allocation as
partially-distributed
(vs. distributed ).
See lvdisplay(1M) for display values.
-M mirror_write_cache Set the Mirror Write Cache flag. This option is allowed only when the logi-
cal volume is not opened. mirror_write_cache can have one of the following
values:
y Set Mirror Write Cache on. Every write to a mirror copy is recorded
in the Mirror Write Cache and written into the Mirror Consistency
Record on the disk if a cache-miss occurs. This allows LVM to deter-
mine whether all mirror copies are identical, even across system
crashes. When the volume group is activated, the Mirror Consistency
Record is used to perform mirror consistency recovery.
n Set Mirror Write Cache off. Mirror write does not incur an additional
write to the Mirror Consistency Record on the disk.
-p permission Set the access permission. permission can have one of the following values:
w Set the access permission to read-write.
r Set the access permission to read-only.
-r relocate Set the logical volume bad block relocation policy. This is an obsolete flag
available only to provide compatibility with prior HP-UX releases. The
relocate flag can have one of the following values:
y|n|N
This release does not provide the LVM bad block relocation feature,
however for compatibility reasons the value is maintained as a logical
volume attribute. Displaying the logical volume attributes will show
the value of the flag selected. However, regardless of the selection, no
new relocations will be done.
If the volume group is activated on an different HP-UX release that
provides the bad block relocation feature, bad blocks may be relocated
depending upon the value of this flag. Although no new relocations
will be done, any bad block relocations present on logical volume that
was activated on HP-UX releases that provided this feature, will be
honored when the volume group is activated on this HP-UX release.
y is the default value of this flag.
-s strict Set the strict allocation policy. Mirror copies of a logical extent can be allo-
cated to share or not share the same physical volume or physical volume
group. This option only makes sense when the physical volumes of the
volume group that owns the specified logical volume reside on different
physical disks. strict can have one of the following values:
y Set a strict allocation policy. Mirrors of a logical extent cannot share
the same physical volume.
g Set a PVG-strict allocation policy. Mirrors of a logical extent cannot
share the same physical volume group.
n Do not set a strict or a PVG-strict allocation policy. Mirrors of a logi-
cal extent can share the same physical volume.
When a logical volume is mirrored, the following changes are not allowed:
From nonstrict to strict
From nonstrict to PVG-strict
From strict to PVG-strict
-t IO_timeout Set the IO_timeout for the logical volume to the number of seconds indi-
cated. This value will be used to determine how long to wait for IO requests
to complete before concluding that an IO request cannot be completed. An
IO_timeout value of zero (0) causes the system to use the default value of
"forever". NOTE: The actual duration of the request may exceed the
520 Hewlett-Packard Company 3 HP-UX 11i Version 2: December 2007 Update