Manual Page Result
0
Command: lvextend | Section: 8 | Source: Digital UNIX | File: lvextend.8.gz
lvextend(8) System Manager's Manual lvextend(8)
NAME
lvextend - Increases the number of physical extents allocated to a log-
ical volume
SYNOPSIS
/usr/sbin/lvextend -l LogicalExtentsNumber | -m MirrorCopies Logi-
calVolumePath [PhysicalVolumePath ...]
DESCRIPTION
This command is no longer supported on Digital UNIX systems. Features
formerly provided by the Logical Volume Manager (LVM) are now provided
by the Logical Storage Manager (LSM). Existing LVM volumes must be mi-
grated to LSM, using an encapsulation process. For information about
moving LVM volumes to LSM, see the vollvmencap(8) reference page and
the manual Logical Storage Manager.
The lvextend command changes either the number of logical extents allo-
cated to a logical volume specified with the LogicalVolumePath parame-
ter or the number of physical extents allocated to each logical extent
in the logical volume. The change is determined according to which com-
mand flags you use.
FLAGS
Increases the number of logical extents allocated to the LogicalVol-
umePath. LogicalExtentsNumber must be greater than the number of logi-
cal extents previously allocated to LogicalVolumePath and less than
65535 which is the implementation limit.
LogicalExtentsNumber represents the new total number of logical extents
that can be allocated to LogicalVolumePath. The change is accomplished
by allocating the number of additional logical extents represented by
the difference between LogicalExtentsNumber and the previous number of
extents.
The mirror policy and mirror copies number for the new logical extents
is the same as previously established for the LogicalVolumePath.
Either this option or the -m option must be supplied. Sets the number
of physical extents allocated for each logical extent.
MirrorCopies (that is, mirrors) can be either 1 or 2. This means that
beyond the original copy, one or two mirror copies will contain the
same data as the original copy. MirrorCopies must be greater than the
current number of mirrors for the logical volume.
The data in the new copies are synchronized. The synchronization
process can be time consuming, depending on the hardware characteris-
tics and the amount of data. If the allocation policy for the logical
volume is strict and the specified physical volume already contains
logical extents of the logical volume, the request is rejected.
Either this option or the -l option must be supplied.
EXAMPLES
To increase the number of the logical extents of logical volume lv03 up
to one hundred, enter: lvextend -l 100 /dev/vg01/lv03 To get two mir-
rors (that is, three copies) for each logical extent of logical volume
lv05, enter: lvextend -m 2 /dev/vg01/lv05 Each logical extent of
logical volume lv05 is now doubly mirrored.
FILES
Specifies the command path.
RELATED INFORMATION
Commands: lvcreate(8), lvdisplay(8), lvreduce(8), pvchange(8), pvdis-
play(8) delim off
lvextend(8)