How do I check for errors on my solaris local hard drives?
-
To check for disk errors on local disk drives run the following command:
# iostat -E sd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: SEAGATE Product: ST373207LSUN72G Revision: 045A Serial No: 055233PNT3 Size: 73.40GB <73400057856 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 sd1 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: SEAGATE Product: ST373207LSUN72G Revision: 045A Serial No: 055233PMWT Size: 73.40GB <73400057856 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0
Look out for the number of soft and hard errors. Hard errors indicate that the disk is failing, you can normally back this up with SCSI errors in /var/adm/messages.
© Lightnetics 2024