HP B2355-92068 Administration Manual page 521

System administration commands
Table of Contents

Advertisement

lvchange(1M)
EXTERNAL INFLUENCES
Environment Variables
determines the language in which messages are displayed.
LANG
If
is not specified or is null, it defaults to "C" (see lang(5)).
LANG
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
By setting mirror consistency recovery off, crash recovery time will be reduced. After a system crash the
mirrored logical volume will be available, but there may not be consistent data across each mirror copy.
The only types of data that can safely be put on a mirrored logical volume with mirror consistency recovery
turned off are:
• data not needed after a crash, such as swap or other raw scratch data, or
• data that an application itself will automatically reconstruct; for example, a raw logical volume for
which a database keeps a log of incomplete transactions.
SEE ALSO
lvcreate(1M), lvdisplay(1M), lvextend(1M).
HP-UX 11i Version 2: December 2007 Update
specified IO_timeout value when the underlying physical volume(s) have
timeouts which either exceed this IO_timeout value or are not integer mul-
tiples of this value.
.
− 4 −
lvchange(1M)
Hewlett-Packard Company
l
521

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp-ux 11i

Table of Contents