Jump to content

S.M.A.R.T.: Difference between revisions

137 bytes added ,  28 February 2021
Line 5: Line 5:
* Add <code>-d sat</code>
* Add <code>-d sat</code>


For some seagate hard drives, it will run in uas mode and smart won't work.   
For Seagate USB hard drives, it will run in uas mode and smart won't work.   
See [https://www.smartmontools.org/wiki/SAT-with-UAS-Linux https://www.smartmontools.org/wiki/SAT-with-UAS-Linux].   
See [https://askubuntu.com/questions/637450/cannot-perform-smart-data-and-self-test-on-external-hard-drive https://askubuntu.com/questions/637450/cannot-perform-smart-data-and-self-test-on-external-hard-drive].   
To fix this, you can find your id by looking in <code>/var/log/kern.log</code> and filling in:
To fix this:
<pre>
# Run <code>lsusb</code> to find the id of your HDD
GRUB_CMDLINE_LINUX="usb_storage.quirks=0bc2:[id]:u"
#* It should start with <code>0bc2</code>.
</pre>
# Create file <code>/etc/modprobe.d/ignore_uas.conf</code> and add this following:
 
#* <pre>options usb-storage quirks=[ids]</pre>
* Multiple hard drives should be comma separated:
#* E.g. <code>options usb-storage quirks=0bc2:ab31:,0bc2:a0a4:</code>
** E.g. <code>0bc2:abcd:u,0bc2:efgh:u</code>
# Run <code>sudo update-initramfs -u</code>
* <code>0bc2</code> is the manufacturer id for Seagate drives.
# Reboot


===Remote monitoring===
===Remote monitoring===