ONTAP Discussions

Igroup overview of LUN mappings?

martijnvandriel
15,571 Views

Hi,

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?

Cheers,

Martijn

1 ACCEPTED SOLUTION

shaunjurr
15,465 Views

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.

View solution in original post

5 REPLIES 5

vmsjaak13
15,463 Views

lun show -m

martijnvandriel
15,463 Views

Hi vmsjaak13,

Although it's still the mapping per LUN and not per igroup, I guess it's the closest it will get to my question. Thanks

shaunjurr
15,466 Views

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.

martijnvandriel
15,463 Views

You're right.

It's lun show -m -g GROUP, exactly what I'm looking for. Thanks

TDUBB1234
14,371 Views

what is the command or cmdlet to map igroup to a lun?

Public