smartctl -t offline /dev/sdb
smartctl 6.2 2013-04-20 r3812 [x86_64-linux-3.10-4.towo-siduction-amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART off-line routine immediately in off-line mode".
Drive command "Execute SMART off-line routine immediately in off-line mode" successful.
Testing has begun.
Please wait 3613 seconds for test to complete.
Test will complete after Sun Aug 18 13:04:04 2013
Use smartctl -X to abort test.
root@...
Where can I find the test results?
EDIT:
2nd question:
From Wiki:
Ausführlicher Disktest
Den sogenannten Offlinetest, einen längeren Plattentest, sollte man möglichst am unbelasteten System durchführen.
# smartctl -t offline /dev/sda
Can I do this command for the partition where the siduction os is while in init 5?
Hi mylo,
I believe the correct command is (as root):
smartctl -t short /dev/sda
or long to run the long version of the test.
You can check the self test log (after it has finished) with this (as root):
smartctl -l selftest /dev/sda
No problem running the test in init 5. Just give it plenty of time to complete.
thanks dibl, I think I have to learn the cryptic man command...