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: 1Vendor: NETAPPProduct: LUN C-ModeOS Device Name: /dev/rdsk/c1tXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX66d0s2LUN: 0Vendor: NETAPPProduct: LUN C-ModeOS 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 iscsivserver1 /vol/datalun_b data 1 iscsi
The NetApp Support Site continues to win, 6 years in a row!
Join our Discord Community