2011-05-19 01:54 AM
Is there a command (ONTAP 7.3.3P4) to get an overview of LUN's mapped to an igroup?
I know with lun show -v you get the LUN id / igroup for the LUN, is there a similar command for an igroup?
Solved! SEE THE SOLUTION
2011-05-19 04:46 AM
lun show [ -v | -m | -c ] [ all | mapped | offline | online | unmapped | staging | -g initiator_group | -n node | lun_path ]
Displays the status (lun_path, size, online/offline state, shared state) of the given lun or class of luns. With the -v flag supplied, additional information (comment string, serial number, LUN mapping) is also displayed. With the -m flag supplied, information about lun_path to initiator_group mappings is displayed in a table format. With the -c flag supplied, information about lun cloning status is displayed.
A specific lun can be indicated by supplying its lun_path. When an initiator_group is specified, status is reported for all luns that are mapped to the initiator group. When a node is specified, status is reported for all luns that are mapped to initiator groups which contain that node. When staging is specified, information about the temporary luns preserved in the staging area is reported.
Mapped luns are ones with at least one map definition. A lun is online if it has not been explicitly made offline using the lun offline command.
Actually accessing and reading the product documentation, or at least the manpages (where the above excerpt was taken from) is a clear advantage. Give it a try.