 |
Index for Section 8 |
|
 |
Alphabetical listing for L |
|
lvextend(8)
NAME
lvextend - Increases the number of physical extents allocated to a logical
volume
SYNOPSIS
/usr/sbin/lvextend -l LogicalExtentsNumber | -m MirrorCopies
LogicalVolumePath [PhysicalVolumePath ...]
DESCRIPTION
Note
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 migrated 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 allocated
to a logical volume specified with the LogicalVolumePath parameter or the
number of physical extents allocated to each logical extent in the logical
volume. The change is determined according to which command flags you use.
FLAGS
-l LogicalExtentsNumber
Increases the number of logical extents allocated to the
LogicalVolumePath. LogicalExtentsNumber must be greater than the
number of logical 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.
-m MirrorCopies
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
characteristics 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
1. To increase the number of the logical extents of logical volume lv03
up to one hundred, enter:
lvextend -l 100 /dev/vg01/lv03
2. To get two mirrors (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
/usr/sbin/lvextend
Specifies the command path.
RELATED INFORMATION
Commands: lvcreate(8), lvdisplay(8), lvreduce(8), pvchange(8),
pvdisplay(8)