CLI Guide

Table Of Contents
Example
Display the last 8 commands executed in this CLI session:
VPlexcli:/> history 8
492 ll
493 cd d
494 cd device-migrations/
495 ll
496 cd
497 ds summary
498 export storage-view checkconfig
499 history 8
local-device create
Creates a new local-device.
Contexts
All contexts.
Syntax
local-device create
[-d|--stripe-depth] depth
[-n|name] name
[-g|--geometry] {raid-0|raid-1|raid-c}
[-e|extents] context-path,context-path...
[-s|--source-leg] context-path
--force
Arguments
Required arguments
[-n|--name]
name
* Name for the new device. Must be unique across all clusters. Devices on different clusters that have
the same name cannot be combined into a distributed device.
NOTE: If this device will have another device attached (using the device attach-mirror
command to create a RAID-1), the name of the resulting RAID-1 is the name given here plus
a timestamp. Names in metro node are limited to 63 characters. The timestamp consumes 16
characters. Thus, if this device is intended as the parent device of a RAID-1, the device name must
not exceed 47 characters.
[-g|--
geometry]
{raid-0|
raid-1|raid-c}
* Geometry for the new device. Valid values are raid-0, raid-1, or raid-c.
CAUTION: Use this command to create a RAID 1 device only if:
- None of the legs contains data that must be preserved
- The resulting device will be initialized using tools on the host
- The resulting device will be added as a mirror to another device
Commands 209