CLI Guide

Table Of Contents
Identify and detach a dead mirror leg from a distributed device.
In the following example:
The ll command in /distributed-storage/distributed-devices context displays a stressed distributed device.
The ll device-name/distributed-device-components command displays the components of the device (output
is truncated)
Note the Slot number of the failed leg in the display.
The device detach-mirror command removes the failed device using the slot number displayed in the previous step.
The ll command in /distributed-storage/distributed-devices context displays the change:
VPlexcli:/distributed-storage/distributed-devices> ll
Name Status Operational Health State Auto Rule WOF
Transfer
------------------------- ------- Status ----------- Resume Set Group Size
------------------------ ------- ----------- ------------- ------ Name Name
--------
------------------ ----- ------- ----------- ------------- ------ ----- -----
--------
ESX_stretched_device running ok ok true colin - 2M
bbv_temp_device running ok ok true colin - 2M
dd_source_device running ok ok true colin - 2M
ddt running ok ok true colin - 2M
dev_test_dead_leg_2 running stressed major-failure - colin - 2M
windows_big_drive running ok ok true colin - 2M
.
.
.
VPlexcli:/distributed-storage/distributed-devices> ll /dev_test_dead_leg_2_DD/
distributed-device-components/
/distributed-storage/distributed-devices/dev_test_dead_leg_2_DD/distributed-device-
components:
Name Cluster Child Fully Operational Health ..
---------------------- ------- Slot Logged Status State....
--------------------- --------- ----- ------ ----------- ------
dev_test_alive_leg_1 cluster-1 1 true ok ok
dev_test_dead_leg_2 cluster-2 0 true error critical-failure
VPlexcli:/distributed-storage/distributed-devices> device detach-mirror --slot 0
--discard --force --device /distributed-storage/distributed-devices/dev_test_dead_ leg_2
VPlexcli:/distributed-storage/distributed-devices> ll
Name
Status Operational Health Auto Rule WOF Transfer
----------------------------- ------- Status State Resume Set Group Size
----------------------------- ------- ----------- ------ ------
Name Name --------
----------------------------- ------- ----------- ------ ------
----- ----- --------
ESX_stretched_device running ok ok true colin - 2M
bbv_temp_device running ok ok true colin - 2M
dd_source_device running ok ok true colin - 2M
ddt running ok ok true colin - 2M
dev_test_dead_leg_2_DD running ok ok - colin - 2M
windows_big_drive running ok ok true colin - 2M
.
.
.
See also
device attach-mirror
114
Commands