A
A
Alexey Ukolov2017-01-07 00:11:34
linux
Alexey Ukolov, 2017-01-07 00:11:34

Can a hard drive be saved?

A home NAS running Ubuntu 14.04 has three drives: 60Gb, 1Tb and 2Tb. The biggest one stopped working.
At the same time, the BIOS sees it, but incorrectly determines the size. With lshw the situation is similar:

$ sudo lshw -c disk
  *-disk
       description: ATA Disk
       product: ST2000DM001
       vendor: Seagate
       physical id: 0.0.0
       bus info: [email protected]:0.0.0
       logical name: /dev/sda
       version: CC25
       serial: Z4Z3S9GV
       size: 3950MiB (4142MB)
       configuration: ansiversion=5 sectorsize=512
  *-disk
       description: ATA Disk
       product: Corsair Force 3
       physical id: 0.0.0
       bus info: [email protected]:0.0.0
       logical name: /dev/sdb
       version: 3
       serial: 12126504000013400820
       size: 55GiB (60GB)
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5 sectorsize=512 signature=000ea4a1
  *-disk
       description: ATA Disk
       product: ST31000524AS
       vendor: Seagate
       physical id: 0.0.0
       bus info: [email protected]:0.0.0
       logical name: /dev/sdc
       version: JC45
       serial: 9VPBHDQP
       size: 931GiB (1TB)
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5 sectorsize=512 signature=18837842

The df command does not see it:
$ df
Filesystem     1K-blocks      Used        Available   Use%   Mounted on
udev           1815976        12          1815964     1%     /dev
tmpfs          365684         968         364716      1%     /run
/dev/sdb1      53823972       3830392     47236360    8%     /
none           4              0           4           0%     /sys/fs/cgroup
none           5120           0           5120        0%     /run/lock
none           1828416        0           1828416     0%     /run/shm
none           102400         0           102400      0%     /run/user
/dev/sdc1      961302560      548608716   363839384   61%    /media/archive

Running fdisk -l is also empty:
$ sudo fdisk -l
Disk /dev/sdb: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117231408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ea4a1

Device      Boot  Start         End          Blocks     Id  System
/dev/sdb1   *     2048          109635583    54816768   83  Linux
/dev/sdb2         109637630     117229567    3795969    5   Extended
/dev/sdb5         109637632     117229567    3795968    82  Linux swap / Solaris

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
81 heads, 63 sectors/track, 382818 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x18837842

Device     Boot      Start End          Blocks      Id  System
/dev/sdc1            2048  1953525167   976761560   83  Linux

If you try to get data on it via fdisk, the following error is returned:
$ sudo fdisk -u /dev/sda
fdisk: unable to read /dev/sda: Input/output error

SMART cannot be read:
$ sudo smartctl -a /dev/sda
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.4.0-57-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     ST2000DM001
Serial Number:    Z4Z3S9GV
LU WWN Device Id: 5 000c50 087240820
Firmware Version: CC25
User Capacity:    137 438 952 960 bytes [137 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.0, 6.0 Gb/s
Local Time is:    Sat Jan  7 02:37:02 2017 +05
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

Read SMART Data failed: scsi error badly formed scsi parameters

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: UNKNOWN!
SMART Status, Attributes and Thresholds cannot be read.

Read SMART Log Directory failed: scsi error badly formed scsi parameters

Read SMART Error Log failed: scsi error badly formed scsi parameters

Read SMART Self-test Log failed: scsi error badly formed scsi parameters

Selective Self-tests/Logging not supported

$ sudo dd if=/dev/sda of=/dev/stdout bs=128 count=2
dd: error reading ‘/dev/sda’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0,743544 s, 0,0 kB/s

What happened to him and is it possible to revive him somehow?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question