ONTAP Discussions

SOLVED - How to Match iSCSI LUN ID (uuid) on NetApp to Solaris 10 device file

LionO
2,436 Views

Couldn't find this anywhere. If you create a bunch of luns for a ZFS Zpool, and need to knwo which is which to build your vdevs

in the right order / arrangement, knowing which LUN is which is v. important.

 

scsiadm list target -vS

.

.

.

LUN: 1
Vendor: NETAPP
Product: LUN C-Mode
OS Device Name: /dev/rdsk/c1tXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX66d0s2
LUN: 0
Vendor: NETAPP
Product: LUN C-Mode
OS Device Name: /dev/rdsk/c1tXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX67d0s2

.

.

.

 

Back on the netapp you can just look at the LUN ID in the lun mapping.

> lun mapping show

.

.

.

Vserver  Path                     Igroup   LUN ID  Protocol

vserver1 /vol/datalun_a           data     0       iscsi
vserver1 /vol/datalun_b           data     1       iscsi

0 REPLIES 0
Public