SUN: EMC Disk Configuration

Standard disclaimer:  use the information that follows at your own risk.  If you screw up a system, don't blame it on me...
mailto: dkoleary@olearycomputers.com

EMC disks like to 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.



 
Document:
URL:
Last updated: