Missing Solaris disks

Solaris' SCSI driver configuration file, /kernel/drv/sd.conf, by default only probes for SCSI devices with LUNs of 0 during system boot. If you attach storage arrays or other SCSI devices to your system that have a SCSI LUN other than 0, the device will not be seen by the operating system. If you are able to see the devices with the Open Boot Prompt probe-scsi-all command but not with the operating system's format command, then sd.conf likely has to be modified.

Here is example format output before sd.conf changes:

# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
          /pci@1f,4000/scsi@3/sd@0,0
       1. c0t8d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
          /pci@1f,4000/scsi@3/sd@8,0
       2. c1t0d0 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@0,0
       3. c1t1d0 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@1,0
       4. c1t2d0 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@2,0
       5. c1t3d0 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@3,0
Specify disk (enter its number):

Note that only SCSI disks with a LUN of 0 are recognized by the operating system. The output of probe-scsi-all shows that I have SCSI disks with targets of 0, 1, 2, and 3, with LUNs of 0 through 6. I have to add these target/LUN combinations to sd.conf and perform a reconfiguration reboot, as the commands drvconfig;devlinks;disks do not appear to recognize these disks on a running system.

Additions to /kernel/drv/sd.conf:

name="sd" class="scsi" class_prop="atapi"
        target=0 lun=1;

name="sd" class="scsi" class_prop="atapi"
        target=0 lun=2;

name="sd" class="scsi" class_prop="atapi"
        target=0 lun=3;

name="sd" class="scsi" class_prop="atapi"
        target=0 lun=4;

name="sd" class="scsi" class_prop="atapi"
        target=0 lun=5;

name="sd" class="scsi" class_prop="atapi"
        target=0 lun=6;


name="sd" class="scsi" class_prop="atapi"

        target=1 lun=1;

name="sd" class="scsi" class_prop="atapi"
        target=1 lun=2;

name="sd" class="scsi" class_prop="atapi"
        target=1 lun=3;

name="sd" class="scsi" class_prop="atapi"
        target=1 lun=4;

name="sd" class="scsi" class_prop="atapi"
        target=1 lun=5;

name="sd" class="scsi" class_prop="atapi"
        target=1 lun=6;


name="sd" class="scsi" class_prop="atapi"
        target=2 lun=1;

name="sd" class="scsi" class_prop="atapi"
        target=2 lun=2;

name="sd" class="scsi" class_prop="atapi"
        target=2 lun=3;

name="sd" class="scsi" class_prop="atapi"
        target=2 lun=4;

name="sd" class="scsi" class_prop="atapi"
        target=2 lun=5;

name="sd" class="scsi" class_prop="atapi"
        target=2 lun=6;

name="sd" class="scsi" class_prop="atapi"
        target=3 lun=1;

name="sd" class="scsi" class_prop="atapi"
        target=3 lun=2;

name="sd" class="scsi" class_prop="atapi"
        target=3 lun=3;

name="sd" class="scsi" class_prop="atapi"
        target=3 lun=4;

name="sd" class="scsi" class_prop="atapi"
        target=3 lun=5;

name="sd" class="scsi" class_prop="atapi"
        target=3 lun=6;

Perform a reconfiguration reboot with reboot -- -rv or with boot -rv at the Open Boot Prompt.

Here is example format output after the sd.conf changes and a reconfiguration reboot:

# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
          /pci@1f,4000/scsi@3/sd@0,0
       1. c0t8d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
          /pci@1f,4000/scsi@3/sd@8,0
       2. c1t0d0 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@0,0
       3. c1t0d1 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@0,1
       4. c1t0d2 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@0,2
       5. c1t0d3 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@0,3
       6. c1t0d4 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@0,4
       7. c1t0d5 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@0,5
       8. c1t0d6 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@0,6
       9. c1t1d0 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@1,0
      10. c1t1d1 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@1,1
      11. c1t1d2 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@1,2
      12. c1t1d3 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@1,3
      13. c1t1d4 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@1,4
      14. c1t1d5 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@1,5
      15. c1t1d6 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@1,6
      16. c1t2d0 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@2,0
      17. c1t2d1 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@2,1
      18. c1t2d2 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@2,2
      19. c1t2d3 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@2,3
      20. c1t2d4 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@2,4
      21. c1t2d5 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@2,5
      22. c1t2d6 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@2,6
      23. c1t3d0 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@3,0
      24. c1t3d1 <EMC-SYMMETRIX-5567 cyl 18412 alt 2 hd 15 sec 64>
          /pci@1f,4000/scsi@5/sd@3,1
Specify disk (enter its number):

Adding SCSI target/LUN combinations to sd.conf that are not available on your system should result in only a minor slowdown during boot, according to this comp.unix.solaris post.

Back to brandonhutchinson.com.
Last modified: 07/17/2003