lvcreate.1m (2010 09)

l
lvcreate(1M) lvcreate(1M)
-S snap_type Create a point-in-time image of data. Current valid snap_type is:
s Indicates the creation of a snapshot volume. See lvm (7) for more
information on snapshot volume.
If the
-S option is not used,
lvcreate creates a new logical volume
instead of a snapshot off an existing logical volume.
-A autobackup Set automatic backup for this invocation of this command. autobackup
can have one of the following values:
y Automatically back up configuration changes made to the logical
volume. This is the default.
After this command executes, the
vgcfgbackup command (see
vgcfgbackup (1M)) is executed for the volume group to which the
logical volume belongs.
n Do not back up configuration changes this time.
-c mirror_consistency Set mirror consistency recovery. This option is effective only when
-M n
is specified. It is ignored for
-M y. mirror_consistency can have one of
the following values:
y Set mirror consistency recovery on. This is the default.
LVM achieves mirror consistency during volume group activation
by going through all logical extents and copying data from a non-
stale 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 subsystem; for example swap. See the WARNINGS section
for more details.
-C contiguous Set the contiguous allocation policy. A contiguous logical volume has
three characteristics:
Physical extents are allocated in ascending order,
No gap is allowed between physical extents within a mirror copy,
Physical extents of any mirror copy all reside on a single physical
volume.
Use the strict (
-s) and contiguous (-C) options together to form various
combined allocation policies on a logical volume. For example, -sy-C
y defines a logical volume such that each mirror copy is contiguous, yet
mirror copies of a logical extent cannot share the same physical volume.
contiguous can have one of the following values:
y Set a contiguous allocation policy.
n Do not set a contiguous allocation policy. This is the default.
The enforcement of a contiguous allocation policy via the
-C y option is
not supported on a striped logical volume nor on space-efficient
snapshots.
-d schedule Set the scheduling policy when a logical extent with more than one mir-
ror is written. (The scheduling policy of a striped logical volume is
striped and cannot be changed.) schedule can have one of the following
values:
p Establish a parallel scheduling policy. This is the default.
s Establish a sequential scheduling policy. Use this value with care,
because it leads to performance loss in most cases.
The
-d option is not applicable with the -S option for snapshot volumes.
HP-UX 11i Version 3: September 2010 3 Hewlett-Packard Company 3