Whether your environment uses multipathing or not, you have several options for viewing LUNs that are mapped to the host. The sanlun lun show all command works for all environments and protocols. If you are using an iSCSI software initiator, you also have a choice between using the iscsiadm command or the iscsi command, depending on your version of Linux.
|If you are using...||Enter one of the following commands...|
|All environments||sanlun lun show all|
|(iSCSI software initiator) Red Hat Enterprise Linux 5 or 6 series||iscsiadm --mode session --sid=N -P 3|
|(iSCSI software initiator) Red Hat Enterprise Linux 4 series||iscsi-ls -l|
|(iSCSI software initiator) SUSE Linux Enterprise Server 10 or 11 series||