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

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/!!!intro.1m
________________________________________________________________
___ ___
l
lvchange(1M) lvchange(1M)
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 bad block relocation policy. relocate can have one of the following
values:
y Allow bad block relocation. Upon a media failure (detection of a bad
block of data on disk), LVM will mark the failed block in the Bad
Block Directory, and attempt to relocate the block to a new location
on disk. If relocation is successful then no error will be returned, and
future I/O requests which contain the bad block will be directed to the
new location. If relocation is unsuccessful, an I/O error will be
returned, and subsequent I/O requests containing the bad block will
again attempt relocation.
n Prevent bad block relocation. Upon a media failure, LVM will mark
the failed block as bad in the Bad Block Directory, but will NOT
attempt to relocate the bad block to a new location on disk. Future I/O
requests which contain the bad block will return with an I/O error.
No attempt will be made to access the bad block.
N Disable bad block relocation and the Bad Block Directory. Upon a
media failure, LVM will NOT attempt to relocate the bad block. In
addition it will NOT enter the block in the Bad Block Directory. LVM
will have no record of the block being bad, and will attempt to access
it on future I/O requests.
-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
Section 1M426 3 HP-UX Release 11i: December 2000
___
___