The lvcreate command creates a new logical volume within the volume group represented by the VolumeGroupName parameter.
If LogicalVolumeName is provided by the user, the new logical volume is created with the given name. If LogicalVolumeName is not provided, a system generated name is provided. The system generated name is of the form lvol#, where # is the minor number of the new logical volume.
The name of the new logical volume is displayed.
The default settings provide the most commonly used characteristics, but use flags to tailor the logical volume to the requirements of your system. Once a logical volume is created, its characteristics can be changed with the lvchange, lvextend and lvreduce commands.
The default for LogicalExtentsNumber is 0 Sets the number of physical extents allocated for each logical extent.
MirrorCopies (that is, mirrors) can be a value of either 1 or 2; this means that, beyond the original copy, one or two mirror copies will contain the same data as the original one.
The default for MirrorCopies is 0. Specifies that the new logical volume must be created with the name LogicalVolumeName supplied by you. This name must be a simple file name and not a path name. Sets the access permission to read-write or read-only. Permission is represented by one of the following: Sets the access permission to read-write. (The default.) Sets the access permission to read-only Sets the bad block relocation policy. Relocation is represented by one of the following: Causes bad block relocation to occur. (The default.) Prevents bad block relocation from occurring. Determines the strict allocation policy. Mirror copies of a logical extent can be allocated to share or not to share the same physical volume. This flag only makes sense when the physical volumes (of the volume group that owns the logical volume to be created) reside on different physical disks. The Strict parameter is represented by one of the following: Sets a strict allocation policy; mirrors for a logical extent cannot share the same physical volume. (The default.) Does not set a strict allocation policy; mirrors for a logical extent can share the same physical volume. Sets the write-verify state for the logical volume. The Verify parameter is represented by one of the following: Causes the verification of all write operations to the logical volume. Prevents the verification of all write operations to the logical volume. (The default.)
Commands: lvchange(8), lvextend(8), lvreduce(8), pvchange(8) delim off