darkod
December 29th, 2016, 10:51 AM
Hi all,
Last night I noticed one of my fileserver mdadm raid1 disks is marked as failed (F) and I need some help to figure out if it's definitely toast.
I first tried to add it back to the array and it looked like it worked initially. Due to size (2TB) I had to leave it rebuilding overnight but this morning it was (F) again.
So I tried to use smartmontools and it seems it can't even read the disk correctly, although parted output looks normal. Outputs:
root@file-srv:~# smartctl -i /dev/sdb
smartctl 6.2 2013-07-26 r3841 [i686-linux-4.4.0-42-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: /1:0:0:0
Product:
User Capacity: 600,332,565,813,390,450 bytes [600 PB]
Logical block size: 774843950 bytes
scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
>> Terminate command early due to bad response to IEC mode page
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
root@file-srv:~# smartctl -c /dev/sdb
smartctl 6.2 2013-07-26 r3841 [i686-linux-4.4.0-42-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
SCSI device successfully opened
Use 'smartctl -a' (or '-x') to print SMART (and more) information
root@file-srv:~# smartctl -H /dev/sdb
smartctl 6.2 2013-07-26 r3841 [i686-linux-4.4.0-42-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
Log Sense failed, IE page [scsi response fails sanity test]
root@file-srv:~# smartctl -a -d ata /dev/sdb
smartctl 6.2 2013-07-26 r3841 [i686-linux-4.4.0-42-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: Input/output error
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
root@file-srv:~# parted /dev/sdb unit GiB print
Model: ATA ST2000DM001-9YN1 (scsi)
Disk /dev/sdb: 1863GiB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 0.00GiB 0.00GiB 0.00GiB GRUB bios_grub
2 0.00GiB 32.0GiB 32.0GiB ROOT raid
3 32.0GiB 1863GiB 1831GiB LVM raid
Even though parted output seems normal from all the other smartctl commands it seems to me like time for a new disk. Anything else I can try before purchasing one? Thanks in advance.
By the way, it's "only" 4 years old 2TB Seagate.
PS. Notice how smartctl says user capacity 600PB??? I wish...
Last night I noticed one of my fileserver mdadm raid1 disks is marked as failed (F) and I need some help to figure out if it's definitely toast.
I first tried to add it back to the array and it looked like it worked initially. Due to size (2TB) I had to leave it rebuilding overnight but this morning it was (F) again.
So I tried to use smartmontools and it seems it can't even read the disk correctly, although parted output looks normal. Outputs:
root@file-srv:~# smartctl -i /dev/sdb
smartctl 6.2 2013-07-26 r3841 [i686-linux-4.4.0-42-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: /1:0:0:0
Product:
User Capacity: 600,332,565,813,390,450 bytes [600 PB]
Logical block size: 774843950 bytes
scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
>> Terminate command early due to bad response to IEC mode page
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
root@file-srv:~# smartctl -c /dev/sdb
smartctl 6.2 2013-07-26 r3841 [i686-linux-4.4.0-42-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
SCSI device successfully opened
Use 'smartctl -a' (or '-x') to print SMART (and more) information
root@file-srv:~# smartctl -H /dev/sdb
smartctl 6.2 2013-07-26 r3841 [i686-linux-4.4.0-42-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
Log Sense failed, IE page [scsi response fails sanity test]
root@file-srv:~# smartctl -a -d ata /dev/sdb
smartctl 6.2 2013-07-26 r3841 [i686-linux-4.4.0-42-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: Input/output error
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
root@file-srv:~# parted /dev/sdb unit GiB print
Model: ATA ST2000DM001-9YN1 (scsi)
Disk /dev/sdb: 1863GiB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 0.00GiB 0.00GiB 0.00GiB GRUB bios_grub
2 0.00GiB 32.0GiB 32.0GiB ROOT raid
3 32.0GiB 1863GiB 1831GiB LVM raid
Even though parted output seems normal from all the other smartctl commands it seems to me like time for a new disk. Anything else I can try before purchasing one? Thanks in advance.
By the way, it's "only" 4 years old 2TB Seagate.
PS. Notice how smartctl says user capacity 600PB??? I wish...