NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

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

LionO
3,150 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