lsdependentvdisks

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

Syntax

 lsdependentvdisks  [  -nohdr  ] [  -delim delimiter ] {  -node  { node_name | node_id } |  -controller  { controller_name_list | controller_id_list } |  -mdisk  { mdisk_name_list | mdisk_id_list } |  -drive drive_id_list |  -enclosure enclosure_id [  -sem sem_id ] [  -canister canister_id ] }

Parameters

-nohdr
(Optional) By default, headings are displayed for each column of data in a concise style view, and for each item of data in a detailed style view. The -nohdr parameter suppresses the display of these headings.
Note: If there is no data to be displayed, headings are not displayed.
-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.
-semsem_id
(Optional) Specifies the volumes that are dependent on secondary expander module (SEM) availability. The possible values are 1 and 2.
Note: If you do not specify -sem this command shows the volumes that are dependent on the enclosure.
-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.