Use the lscontrollerdependentvdisks command to list the volumes that
depend on the specified controller.
Syntax
lscontrollerdependentvdisks [ -nohdr ] [ -delim delimiter ] { controller_id_list | controller_name_list }
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.
- -delim delimiter
- (Optional) By default in a concise view, all columns of data are space-separated. The width of
each column is set to the maximum 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 1-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.
- controller_id_list | controller_name_list
- Specifies one or more controller IDs, controller names, or both.
Separate multiple controllers using the colon character (:).
Description
The lscontrollerdependentvdisks command lists the volumes that depend on the
status of the specified controllers. If a controller goes offline, the dependent volumes also go
offline. Before you take a controller offline for maintenance, you can use the command to ensure
that you do not lose access to any volumes.
If you have multiple controllers that are configured as a single subsystem, you must specify all
of the controllers in the subsystem. When you do this you must specify a single command
invocation.
The
lscontrollerdependentvdisks command also checks for quorum disks on the
specified controller list. If any quorum disks are on the specified controller list, the command
returns an error. All quorum disks must be moved before you perform any maintenance.
After you
move quorum disks, reissue the command to list the dependent volumes.Note: The command lists
the volumes that depend on the controllers at the time the command is run; subsequent changes to
your system require rerunning the command.
An invocation example
lscontrollerdependentvdisks controller0
The concise resulting output:
vdisk_id vdisk_name
0 vdisk0
1 vdisk1
2 vdisk2