Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1178
  • Last Modified:

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 !
0
LuckyLuciano
Asked:
LuckyLuciano
  • 3
  • 3
1 Solution
 
neteducationCommented:
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
0
 
LuckyLucianoAuthor Commented:
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" ?
0
 
NukfrorCommented:
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.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
neteducationCommented:
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. ?)
0
 
LuckyLucianoAuthor Commented:
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.
0
 
neteducationCommented:
Well if the disk does not show up in format after a devfsadm -v, then the system does not recognize it (unless you have a really large amount of disks where sometimes you need to run it a few times). Now this could be because your disk is bad or your controller (even if the led is on). Maybe you can see error messages in /var/adm/messages.

The service nukfor means is from Sun (Professional Services / Enterprise Serivces) some sort of maintenance contract...
0
 
LuckyLucianoAuthor Commented:
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.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now