k3ri

You've got a lot of choices. If getting out of bed in the morning is a chore and you're not smiling on a regular basis, try another choice.

Buy Handmade @ Etsy

July 17, 2009

Gunshy about solaris format?

Text

Lately, the $dayjob has been busy busy busy… one of our customers had a problem where the more in depth “format” commands (analyze, read) would cause the entire system to freeze for a long time. Not necessarily a good thing when it’s a very integral part of the network. Trouble is, we had a disk that needed to be RMA’d.

How do you find a serial number of a disk if anything more than the first “format” command freezes the system?

# format

16. c6t20000000876BD22Dd0 <HITACHI-HUS1030FASUN300G-2A01-279.40GB>
/scsi_vhci/disk@g20000000876bd22d

# grep g20000000876bd22d /etc/path_to_inst

“/scsi_vhci/disk@g20000000876bd22d” 26 “sd”

# iostat -E sd26

sd26      Soft Errors: 2225 Hard Errors: 451 Transport Errors: 0
Vendor: HITACHI  Product: HUS1030FASUN300G Revision: 2A01 Serial No: XXXXXXXX
Size: 300.00GB <299999999488 bytes>
Media Error: 361 Device Not Ready: 0 No Device: 81 Recoverable: 2225
Illegal Request: 0 Predictive Failure Analysis: 75

Voila!