Link to home
Start Free TrialLog in
Avatar of LuckyLuciano
LuckyLuciano

asked on

HOW To detect a replugged hard drive on Sun Netra st D1000

We had problem with one of the 12 disks installed on Sun Netra st D1000. We were not be able to detect the disk when rebooting the machine, when i tried to see what happened, the led for the disk was not on, so we just ignore the disk and assume it might had been broken.

The next day, as the disks is hot-pluggable system as it is written on Netra st D1000 Installation and Maintenance Manual (http://docs.sun.com/app/docs/doc/805-7147), following the manual, i removed the drive and plugged it back, the result : the led turned back ON.

And here is the problem, although the disk has been back alive, how do i detect the disk so i can use it back as before without rebooting the server machine ? As this is not a new disk, so all the configuration and the SCSI Id and everything is already there in the system, i just need to get it back and running.

Following the manual about how to add new disk (section: Performing the Software Configuration Procedures/To Add The Disk Drive), it didn't work well as well, however i can not try using vxctl command because the command is not found in the system.

Is there anybody here could help me out ? thanks in advance !
Avatar of neteducation
neteducation

If you have Solaris 8 and up, use

devfsadm -v

That will scan the hardware newly and tell the system that the disk is there again
Avatar of LuckyLuciano

ASKER

thanks, we have solaris 8, i tried "dvfsadm -v" but still i can not see the hard drive back online. "df -k" does not show me that hard drive. is there anything else i should do after this "devfsadm" ?
Do you have serivce on the D1000 ?  Sounds like the drive is bad.  devfsadm would have plumbed the disk up assuming it wasn't already.
well df -k only shows mounted drives. do you have each of the disks mounted asa seperate partition ? if so, then use format /dev/rdsk/cxtxdxs2 to partition the ew harddrive and then newfs /dev/rdsk/cxtxdxsx to create a ufs onto it and finaly "mount" to mount it.

so do you use some sort of diskmanagement ? (Solstice Disksuite i.e. ?)
I am not sure about the diskmanagement tool we use here, too bad, i am new to solaris and to my knowledge, we only use sort of unix commands or whatsoever to create new disks etc in the first time, not so many problems happen so far until recently.

Yes, each disks mounted as separated partition (e.g c3t5d0s1, c3t5d0s2, c3t5d0s3).

Okay, after devfsadm -v still i can not see the disk back alive, it's not even on the list of 'format' or 'iostat -En' that i can not try your suggestion here. Maybe it's not proper, but then i ran 'devfsadm -Cv' to clean the broken links and rerun devfsadm -v again, but still no good result.

Nukfror, what kind of service you mention here ? ... thanks.
ASKER CERTIFIED SOLUTION
Avatar of neteducation
neteducation

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks a lot guys ! I managed to get it back alive. As a last try, I removed the disk again and insert it back, use devfsadm again.. and now i can see the disk show up in format. Now it's back mounted on the system. Still, I agree that something is wrong either with the disk or the controller. Thanks again.