Table of ContentsView in Frames

Viewing LUNs mapped to the host and on VxVM disks

Regardless of the protocol your environment uses, you have several options for viewing LUNs that are mapped to the host. The sanlun command works for all 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. You can also use vxdisk list to see the LUNs on VxVM disks.


  1. To view a list of LUNs mapped to your host, run the appropriate command for your system environment:
    If you are using... Enter one of the following commands...
    (FC, iSCSI hardware initiator) All versions of Linux sanlun lun show all
    (iSCSI software initiator) Red Hat Enterprise Linux 5, 6, or 7 series
    • sanlun lun show all
    • iscsiadm --mode session --sid=N -P 3
    (iSCSI software initiator) SUSE Linux Enterprise Server 10, 11, or 12 series
    • sanlun lun show all
    • (SUSE Linux Enterprise Server 10 SP2):

      iscsiadm --mode session --sid=N -P 3

    • (SUSE Linux Enterprise Server 10 SP1):

      iscsiadm --mode session --sid=N -i

  2. To view the LUNs on the VxVM disks, enter the vxdisk list command.