Knowledge Base : Solaris 10 discover 2nd LUN

Solaris 10: How to discover additional LUNs

Installation of Solaris 10 on Supermicro server with Areca SATA RAID controller requires arcmsr driver upgrade and kernel modification to discover more than one LUN in cade controller has several volumes configured:

Solaris isn’t scanning past lun 0 by default. You need to modify /kernel/drv/sd.conf (be careful making changes to this file, read man pages and docs.sun.com in ref to this files format).

  1. Areca controller Ch01 – Ch08
    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=3;
    name=”sd” class=”scsi” target=0 lun=4;
    name=”sd” class=”scsi” target=0 lun=5;
    name=”sd” class=”scsi” target=0 lun=6;
    name=”sd” class=”scsi” target=0 lun=7;
  1. Areca controller Ch09 – Ch16
    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=3;
    name=”sd” class=”scsi” target=1 lun=4;
    name=”sd” class=”scsi” target=1 lun=5;
    name=”sd” class=”scsi” target=1 lun=6;
    name=”sd” class=”scsi” target=1 lun=7;
  1. Areca controller Ch17 – Ch24
    name=”sd” class=”scsi” target=2 lun=0;
    name=”sd” class=”scsi” target=2 lun=1;
    name=”sd” class=”scsi” target=2 lun=2;
    name=”sd” class=”scsi” target=2 lun=3;
    name=”sd” class=”scsi” target=2 lun=4;
    name=”sd” class=”scsi” target=2 lun=5;
    name=”sd” class=”scsi” target=2 lun=6;
    name=”sd” class=”scsi” target=2 lun=7;

example (lpfc driver –> emulex FC hba)
name=”sd” parent=”lpfc” target=0 lun-0;
name=”sd” parent=”lpfc” target=0 lun=1;
name=”sd” parent=”lpfc” target=0 lun=2;
name=”sd” parent=”lpfc” target=0 lun=3;
name=”sd” parent=”lpfc” target=0 lun=4;

Also check with your raid card vendor on how they suggest you do this with their driver.