lsdependentvdisks

Use the lsdependentvdisks command to view which volumes go offline if you remove a specific piece of hardware from the system.

Syntax

lsdependentvdisks [ -delimdelimiter ] { -node { node_name | node_id } | -controller { controller_name_list | controller_id_list } | -mdisk { mdisk_name_list | mdisk_id_list } | -drivedrive_id_list | -enclosureenclosure_id [ -canistercanister_id ] }

Parameters

-delimdelimiter
(Optional) By default in a concise view, all columns of data are space-separated. The width of each column is set to the maximum possible width of each item of data. In a detailed view, each item of data has its own row, and if the headers are displayed, the data is separated from the header by a space. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a one-byte character. If you enter -delim : on the command line, the colon character (:) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter.
-nodenode_name | node_id
(Optional) Specifies the node for which volume dependency is required.
-controllercontroller_name_list | controller_id_list
(Optional) Specifies the controllers for which volume dependency is required.
-mdiskmkdisk_name_list | mkdisk_id_list
(Optional) Specifies the MDisks for which volume dependency is required.
-drive
(Optional) Specifies the drives for which volume dependency is required. There is a maximum of 128 entries.
-enclosureenclosure_id
(Optional) Specifies the enclosure for which volume dependency is required. You can remove a control enclosure without affecting your other data.
-canistercanister_id
(Optional) Specifies an enclosure canister. The possible values are 1 and 2.

Description

Use this command to view which volumes go offline if you remove a specific piece of hardware from the system. Use this command to determine which volumes are affected before undergoing maintenance.

An invocation example

lsdependentvdisks -delim : -drive 0:1

The resulting output:

vdisk_id:vdisk_name
4:vdisk4
5:vdisk5
Note: This means that if drives 0 and 1 are removed, then volume vdisk4 and volume vdisk5 go offline.