Google+
Home > Storage, Technology > SUN Host, EMC SAN, how to make it work?

SUN Host, EMC SAN, how to make it work?


EMC disks use luns vs scsi target numbers. SUN doesn’t normally use lun numbers so, to make the two talk together, you have to edit the /kernel/drv/sd.conf file as follows:

Normal, unedited file

name=”sd” class=”scsi”

target=0 lun=0;

name=”sd” class=”scsi”

target=1 lun=0;

Edited file

name=”sd” class=”scsi”

target=0 lun=0;

name=”sd” class=”scsi”

target=0 lun=1;

name=”sd” class=”scsi”

target=0 lun=2;

name=”sd” class=”scsi”

target=0 lun=8;

name=”sd” class=”scsi”

target=1 lun=0;

name=”sd” class=”scsi”

target=1 lun=1;

name=”sd” class=”scsi”

target=1 lun=2;

name=”sd” class=”scsi”

target=1 lun=8;

Add the luns for each of the EMC targets. Limit the targets to the EMC disks only, however, as the extra luns will dramatically increase the boot times on the system.

If you’re using more than 9 luns, make sure you use the hexadecimal notation for the lun numbers:

lun=0xa;
lun=0xb;
lunc=0xc;

and ensure each lun line ends in a semicolon.