CLI Guide

Table Of Contents
----------- Status State Count Size -------- -------- ---------- Size
Volume
----------- ----------- ------ -------- ----- -------- -------- ----------
-------- --------
dev_lun_1 ok ok 20709376 4K 5G raid-1 local -
-
In the following example:
The ll command displays the available (claimed) extents
The local-device create command is used to create a 16 GB RAID 1 device named TestDevCluster1 on cluster 1
The cd command returns to the root context
The ll -p **/devices command displays the new device
VPlexcli:/clusters/cluster-1/storage-elements/extents> ll
Name StorageVolume Capacity Use
--------------------- ------------- -------- -------
.
.
.
extent_Symm1852_AAC_1 Symm1852_AAC 16G claimed
extent_Symm1852_AB0_1 Symm1852_AB0 16G claimed
extent_Symm1852_AB4_1 Symm1852_AB4 16G claimed
extent_Symm1852_AB8_1 Symm1852_AB8 16G claimed
VPlexcli:/clusters/cluster-1/storage-elements/extents> local-device create --
name TestDevCluster1 --geometry raid-1 --extents /clusters/cluster-1/storage-
elements/extents/extent_Symm1852_AAC_1,/clusters/cluster-1/storage- elements/extents/
extent_Symm1852_AB0_1
VPlexcli:/clusters/cluster-2/storage-elements/extents> cd
VPlexcli:/> ll -p **/devices
/clusters/cluster-1/devices:
Name Operational Health Block Block Capacity Geometry Visibility
Transfer Virtual
--------------- Status State Count Size -------- -------- ----------
Size Volume
--------------- ----------- ------ ------- ----- -------- -------- ----------
-------- ---------
TestDevCluster1 ok ok 4195200 4K 16G raid-1 local
2M -
base0 ok ok 262144 4K 1G raid-0 local
- base0_vol
base1 ok ok 262144 4K 1G raid-0 local
- base1_vol
In the above example if both the extents were thin-capable and from same storage array family, the RAID-1 would be
thin-capable too. The virtual volume created on top of such a device can be thin-enabled.
NOTE:
The virtual volume must be built on top of a local RAID 0 device or a RAID 1 device. If you try to create a
RAID C local-device with multiple children, or a device that incorporates multiple extents, the created local device is not
thin-capable.
The following example shows how a RAID-C device cannot be thin-capable:
VPlexcli:/clusters/cluster-1/storage-elements/extents> local-device create --geometry
raid-c -e
extent_TOP_101_1, extent_TOP_102_1 --name myLocalDevice
You are creating a raid-c local-device on top of 2 thin-capable extents
'extent_TOP_101_1, extent_TOP_102_1'.
The resulting local-device will not be thin-capable.
VPlexcli:/clusters/cluster-1/storage-elements/extents>
See also
device attach-mirror
local-device destroy
Commands
211