Subscribe
Accepted Solution

Igroup overview of LUN mappings?

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

Re: Igroup overview of LUN mappings?

lun show -m

Re: Igroup overview of LUN mappings?

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

Re: Igroup overview of LUN mappings?

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.

Re: Igroup overview of LUN mappings?

You're right.

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

Re: Igroup overview of LUN mappings?

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