Yea, Lun id is always used to differentiate the LUNs uniquely.
Hey we can also use the info in this file "/proc/scsi/scsi" to find whether the LUN is from NetApp or whether it is from other vendors with their specific LUN id's (as we were discussing in the post http://communities.netapp.com/message/61532#61532):
[root@warspite ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: IBM-ESXS Model: CBR036C31210ESFN Rev: DFQG
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: IBM-ESXS Model: ST336607LC FN Rev: B25H
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 08 Lun: 00
Vendor: IBM Model: 25P3495a S320 1 Rev: 1
Type: Processor ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: NETAPP Model: LUN Rev: 7330
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi3 Channel: 00 Id: 00 Lun: 01
Vendor: NETAPP Model: LUN Rev: 7330
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi3 Channel: 00 Id: 00 Lun: 03
Vendor: NETAPP Model: LUN Rev: 7330
Type: Direct-Access ANSI SCSI revision: 04
Thanks,
Arun