SATA: Difference between revisions

m 1 revision
No edit summary
Line 96: Line 96:


==SMART==
==SMART==
===Are my disks failing?===
The one-line executive summary is available for supported disks via the <tt>-Hc</tt> option. <tt>grep</tt> for <tt>"^SMART overall"</tt> and verify <tt>PASSED</tt> as opposed to <tt>FAILING</tt>. If you're already <tt>FAILED</tt>, the command will generally fail in and of itself.
===Details, for those interested===
Generally, '-d ata' is a sufficient descriptor of a device for <tt>smartd</tt> to handle it. Determine [[SMART]] capability with <tt>smartctl -i</tt>:
Generally, '-d ata' is a sufficient descriptor of a device for <tt>smartd</tt> to handle it. Determine [[SMART]] capability with <tt>smartctl -i</tt>:
<pre>[recombinator](0) $ sudo smartctl -i /dev/sdc
<pre>[recombinator](0) $ sudo smartctl -i /dev/sdc
Line 411: Line 414:
Checksum: correct
Checksum: correct
[recombinator](0) $ </pre>
[recombinator](0) $ </pre>
==See Also==
* "[http://www.linuxjournal.com/article/6983 Monitoring Hard Disks with SMART]", Linux Journal 2004-01-01