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

l
lvchange(1M) lvchange(1M)
-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 com-
pleted. 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 specified IO_timeout value when the underlying physical
volume(s) have timeouts which either exceed this IO_timeout value or
are not integer multiples of this value.
EXTERNAL INFLUENCES
Environment Variables
LANG determines the language in which messages are displayed.
If
LANG is not specified or is null, it defaults to "C" (see lang(5)).
If any internationalization variable contains an invalid setting, all internationalization variables default
to "C" (see environ (5)).
EXAMPLES
Change the permission of a logical volume to read-only:
lvchange -p r /dev/vg01/lvol3
Change the allocation policy of a logical volume to nonstrict:
lvchange -s n /dev/vg01/lvol7
Turn the mirror write cache off on a logical volume:
lvchange -M n /dev/vg01/lvol1
Change the IO timeout value of a logical volume to 1 minute (60 seconds):
lvchange -t 60 /dev/vg01/lvol1
WARNINGS
For root, swap or dump logical volumes, the allocation policy is always contiguous. This attribute cannot
be changed with lvchange.
SEE ALSO
lvcreate(1M), lvdisplay(1M), lvextend(1M).
HP-UX 11i Version 2: September 2004 4 Hewlett-Packard Company Section 1M395