Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding EMC DASD

Status
Not open for further replies.
Apr 13, 2004
316
US
Say some DBA's come over and say they need 100GB of disk, which of course has to be added. On AIX all I have to do is run cfgmgr and the disk is seen, no rebooting. So far it seems that on Solaris 9, we have to reboot.

Is there a way to do this without requiring a reboot of the Solaris servers?

Thanks.
 
First you might have to edit the sd.conf file.

Next you will need to run the command devfsadm.

If that doesnt work then run the command "drvconfig" followed by the command "disk".


 
DASD?" I feel like I'm working on a mainframe again!

Comtec17 is right. I've prebuilt a huge /kernel/drv/sd.conf so that I don't ever have to reboot my Sun servers for storage. My file looks something like this.

name="sd" parent="lpfc" target=0 lun=0 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=12 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=17 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=20 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=21 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=23 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=25 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=29 hba="lpfc0";
# Lines below added to figure out new drive.
name="sd" parent="lpfc" target=0 lun=31 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=32 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=33 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=34 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=35 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=36 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=37 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=38 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=39 hba="lpfc0";
name="sd" parent="lpfc" target=0 lun=40 hba="lpfc0";
...

Good part about this is the lack of reboots, the bad part is that the system will have nonsense errors when it boots up if it doesn't see the drives (not a huge issue, but does slow down reboots 30 seconds or so).

I suppose if you can remove your sd driver from memory and then re-add it, you could do the entire process without a reboot. I'm not sure how or if that can be done.
 
BTW, if you need to modify the sd.conf, then you must reboot in order to allow the kernel see the changes... if sd.conf is already with the new LUNs, then just issue drvconfig & disks and the new devs will be in your /dev/dsk and rdsk... format->label-> etc.

Cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top