smartctlを実行するとエラーが出るドライブをseatoolしてみる
Error 9358 occurred at disk power-on lifetime: 21915 hours (913 days + 3 hours)
When the command that caused the error occurred, the device was active or idle.
ドライブはこれ。
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.14 (AF)
Device Model: ST1000DM003-9YN162
Serial Number: S1D212JR
LU WWN Device Id: 5 000c50 04b59ca33
Firmware Version: CC82
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Fri Jul 21 10:27:34 2017 JST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
しかし、普通に書く分には問題なく動いている様子。全面ddは普通に通る。
root@ubuntu:~# dd if=/dev/zero of=/dev/sdb bs=100M status=progress
1000131788800 bytes (1.0 TB, 931 GiB) copied, 9616.44 s, 104 MB/s
dd: error writing '/dev/sdb': No space left on device
9539+0 records in
9538+0 records out
1000204886016 bytes (1.0 TB, 932 GiB) copied, 9618.34 s, 104 MB/s
もっとも、これでは使う気にはなれないんだけど。
1 Raw_Read_Error_Rate 0x000f 087 070 006 Pre-fail Always - 86951457
5 Reallocated_Sector_Ct 0x0033 083 083 036 Pre-fail Always - 22576
7 Seek_Error_Rate 0x000f 077 060 030 Pre-fail Always - 8695524939
Seagateって、Raw_Read_Error_Rateは買ったばかりでもこんな感じのようで、あんまり気にしないでいいのかも。ただ、Seek_Error_Rateは桁が異常な感じ。
seatoolを落としてくる。
root@ubuntu:~# wget http://www.seagate.com/files/www-content/support-content/downloads/seatools/_shared/downloads/seatools_cli.tar
root@ubuntu:~# tar xvf seatools_cli.tar
st
sthelp.txt
sthelpを見ると、2001年のツールのようだ。動くのかしらん。
root@ubuntu:~# ls -l st
-rwxr-xr-x 1 root root 180149 Sep 12 2001 st
root@ubuntu:~# ./st
-su: ./st: No such file or directory
動かないわ。
root@ubuntu:~# file st
st: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.2.5, not stripped
あらら。
接続ドライブのリストを取得。
root@ubuntu:~# ./st -l
GetSGVersions - open error: No such file or directoryDrive information:
/dev/sg0 ATA ST3500418AS CC44 976773167 blocks
/dev/sg1 ATA ST1000DM003-9YN1 CC82 1953525167 blocks
ターゲットの情報を取得。
root@ubuntu:~# ./st -i /dev/sg1
/dev/sg1
Vendor = ATA
Product = ST1000DM003-9YN1
Version = CC82
Serial Number =
Copyright =
SCSI Firmware =
Servo RAM Release =
Servo ROM Release =
Servo RAM Date =
Servo ROM Date =Blocksize = 512, Highblock = 1953525167, Capacity = 976763 MB
-this is a Seagate drive
-this drive does not support DST
-Mode Page Settings [current value (default)]:
-WCE bit = 1 (1)
-RCD bit = 0 (0)
-AWRE bit = 1 (1)
-ARRE bit = 0 (0)
-DExcpt bit = 0 (0)
-Number of cache segments = 0 (0)
-JIT bit 0 = 0 (0)
-JIT bit 1 = 0 (0)
-JIT bit 2 = 0 (0)
-JIT bit 3 = 0 (0)
なんも取れてないなぁ...
ショートテストはパスしちゃう。
root@ubuntu:~# ./st -t 100 /dev/sg1
Drive /dev/sg1 does not support DST - generic short test will be run
Starting 100 % Generic Short Test on drive /dev/sg1 (^C will abort test)
-Starting 30 second sequential reads from block 0 on drive /dev/sg1
-Starting 30 second sequential reads to end of disk on drive /dev/sg1
-Starting 30 second random reads on drive /dev/sg1
-Starting 30 second random seeks on drive /dev/sg1
Generic Short Test PASSED on drive /dev/sg1
ロングテストではエラー。
root@ubuntu:~# ./st -T 100 /dev/sg1
Drive /dev/sg1 does not support DST - generic long test will be run
Starting generic long (full sequential verify) test (1953525167 blocks) on drive /dev/sg1 (^C will abort test)
VERIFY failed on block 20602368 Sense data = 21/00/00
TEST FAILED at block -144986080 on drive /dev/sg1
というわけでゴミ箱行き。
SeagateもWDもRMAが国内発送先になてったので、便利な時代だと思いました。
memo: https://support.wdc.com/warranty/warrantystatus.aspx?lang=jp