I ran into an issue this week where the Solaris device tree wasn’t updated to reflect two new targets we added. After a bit of poking around, I noticed that the new targets we created weren’t present in the sd.conf configuration file. To get the host to see the storage, I first used my sdcreate script to populate the sd.conf file with the targets and LUNs I had allocated to the host:
$ cp /kernel/drv/sd.conf /kernel/drv/sd.conf.removeme.01.21.2007
$ sd-create.sh -c 2 -n sd -p lpfc 10 15 >> /kernel/drv/sd.conf
Once the sd.conf file was populated to my liking, I ran update_drv to have sd reread it’s configuration file:
$ update_drv -f sd
After the update_drv command completed, I ran the devfsadm utility to populate the /dev entries:
$ defvsadm -C
As soon as devfsadm completed, I was able to access my new storage. Niiiice!