On some older SPARC systems, like ours, if you add disks to the system, it won’t automatically detect the drives. For instance, we have added drives via a StorEdge external drive box. If we look at the output of dmesg:
# dmesg | grep sd Dec 20 08:01:33 srv-50 scsi: [ID 193665 kern.info] sd0 at fas0: target 0 lun 0 Dec 20 08:01:33 srv-50 genunix: [ID 936769 kern.info] sd0 is /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0 Dec 20 08:01:33 srv-50 scsi: [ID 193665 kern.info] sd1 at fas0: target 1 lun 0 Dec 20 08:01:33 srv-50 genunix: [ID 936769 kern.info] sd1 is /sbus@1f,0/SUNW,fas@e,8800000/sd@1,0 Dec 20 08:01:34 srv-50 scsi: [ID 193665 kern.info] sd6 at fas0: target 6 lun 0 Dec 20 08:01:34 srv-50 genunix: [ID 936769 kern.info] sd6 is /sbus@1f,0/SUNW,fas@e,8800000/sd@6,0 Dec 20 08:01:34 srv-50 scsi: [ID 193665 kern.info] sd8 at fas0: target 9 lun 0 Dec 20 08:01:34 srv-50 genunix: [ID 936769 kern.info] sd8 is /sbus@1f,0/SUNW,fas@e,8800000/sd@9,0 Dec 20 08:01:34 srv-50 scsi: [ID 193665 kern.info] sd9 at fas0: target a lun 0 Dec 20 08:01:34 srv-50 genunix: [ID 936769 kern.info] sd9 is /sbus@1f,0/SUNW,fas@e,8800000/sd@a,0 Dec 20 08:01:34 srv-50 scsi: [ID 193665 kern.info] sd10 at fas0: target b lun 0 Dec 20 08:01:34 srv-50 genunix: [ID 936769 kern.info] sd10 is /sbus@1f,0/SUNW,fas@e,8800000/sd@b,0 Dec 20 08:01:34 srv-50 scsi: [ID 193665 kern.info] sd11 at fas0: target c lun 0 Dec 20 08:01:34 srv-50 genunix: [ID 936769 kern.info] sd11 is /sbus@1f,0/SUNW,fas@e,8800000/sd@c,0 |
The drives are all there. But, when we look for the drives with format:
# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0 1. c0t1d0 /sbus@1f,0/SUNW,fas@e,8800000/sd@1,0 Specify disk (enter its number): |
Hey, those aren’t all of my drives!!! The trick is to tell Solaris to redetect the new hardware. To detect the drives:
# touch /reconfigure |
reboot:
# reboot |
After the reboot, we see our drives:
# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0 1. c0t1d0 /sbus@1f,0/SUNW,fas@e,8800000/sd@1,0 2. c0t9d0 /sbus@1f,0/SUNW,fas@e,8800000/sd@9,0 3. c0t10d0 /sbus@1f,0/SUNW,fas@e,8800000/sd@a,0 4. c0t11d0 /sbus@1f,0/SUNW,fas@e,8800000/sd@b,0 5. c0t12d0 /sbus@1f,0/SUNW,fas@e,8800000/sd@c,0 Specify disk (enter its number): |
Happiness!