cli_mklvcopy command
Purpose
Increase the number of copies in each logical partition in a logical volume on all nodes in a cluster.Syntax
cli_mklvcopy [ -a Position ] [ -e Range ] [ -k ] [ -s Strict ]
[ -u UpperBound ] LogicalVolume Copies [ PhysicalVolume... ]
Description
Uses C-SPOC to run the mklvcopy command with parameters, and make the updated logical volume definition available on all cluster nodes.
Flags
- -a Position
- Sets the physical volume allocation policy (the position of the logical partitions on the
physical volume). The following Position variables are valid:
- m
- Allocates logical partitions in the outer middle section of each physical volume. This variable is the default setting.
- c
- Allocates logical partitions in the center section of each physical volume.
- e
- Allocates logical partitions in the outer edge section of each physical volume.
- ie
- Allocates logical partitions in the inner edge section of each physical volume.
- im
- Allocates logical partitions in the inner middle section of each physical volume.
- -e Range
- Sets the physical volume allocation policy. The allocation policy is the number of physical
volumes to extend across by using the volumes that provide the best allocation. The value of the
Range variable is limited by the Upperbound variable that is
set with the
-u
flag. The following Range variables are valid:- x
- Allocates logical partitions across the maximum number of physical volumes.
- m
- Allocates logical partitions across the minimum number of physical volumes.
- -k
- Synchronizes data in the new partitions.
- -s Strict
- Determines the strict allocation policy. You can allocate copies of a logical partition to be
shared or not shared for the same physical volume. The following Strict variables
are valid:
- y
- Sets a strict allocation policy, so copies of a logical partition cannot share the same physical volume.
- n
- Does not set a strict allocation policy, so copies of a logical partition can share the same physical volume.
- s
- Sets a super strict allocation policy, so that the partitions allocated for one mirror cannot
share a physical volume with the partitions from another mirror. When you change to a non-super
strict logical volume to a super strict logical volume, you must use the
-u
flag.
- -u Upperbound
- Sets the maximum number of physical volumes for the new allocation. The value of the Upperbound variable is between one and the total number of physical volumes. When you use super strictness, the upper bound indicates the maximum number of physical volumes that are allowed for each mirror copy. When you use striped logical volumes, the upper bound must be multiple of Stripe_width variable.
Example
To add physical partitions to the logical partitions of a
logical volume that is named lv01so that total of three copies exist for each
logical partition, enter: cli_mklvcopy lv01 3