CLI Guide

Table Of Contents
Arguments
Required arguments
[-d|--device]
[context-path|device-
name]
* Name or context path of the device to collapse.
Does not have to be a top-level device. If the device name is used, verify that the name is unique
throughout the metro node, including local devices on other clusters.
* - argument is positional.
Description
If a RAID 1 device is left with only a single child (after removing other children), use the device collapse command to
collapse the remaining structure. For example:
If RAID 1 device A has two child RAID 1 devices B and C, and child device C is removed, A is now a one-legged device,
but with an extra layer of abstraction:
A
|
B
../ \..
Use device collapse to remove this extra layer, and change the structure into:
A
../ \..
Applicable to one-legged devices that are not top-level.
Examples
VPlexcli:/clusters/cluster-1/devices> device collapse --device /clusters/cluster-1/
devices/A
device detach-mirror
Removes (detaches) a mirror from a RAID-1 device.
Contexts
All contexts.
Syntax
device detach-mirror
[-d|--device] [context-path|device-name]
[-m|--mirror] [context-path|mirror-name]
[-s|--slot] slot-number
[-i|--discard]
[-f|--force]
Commands
111