Hi @moo @Elder Geek @heynnema (anybody else welcome), I posted a question in the chat
Neither fdisk -l nor testdisk show this Seagate drive, although gnome-disk-utility shows it saying "No media". This is a friend's Windows (7 ?).
ls /dev/disk/by-id/* (my own usual uuids replaced by ... below)
... ... wwn-0x5000c5001ef815d2
... ata-ST3750528AS_6VP2NFKJ wwn-0x5000cca37ce23cbb
... ... wwn-0x5000cca37ce23cbb-part1
... ... wwn-0x5000cca37ce23cbb-part2
... ... wwn-0x5000cca37ce23cbb-part3
... ... wwn-0x5000cca37ce23cbb-part4
... wwn-0x50000f001b110412
... wwn-0x50000f001b110412-part1
.
ls /dev/disk/by-uuid/
09ecdff0-44fe-437e-8063-deabc6feb00e
7323407c-7d0b-4acd-8299-c8f3787111ff
a434a28e-a4b9-4db0-b40e-b93010ed6ceb
66392631-7c4f-4773-8614-4c5ea0913890
7b9d93fc-6898-4085-8117-7f1c76fd8a28
e80baa09-5e4b-4c29-9d0b-bc265f8384f4
.
cat /etc/fstab
UUID=09ecdff0-44fe-437e-8063-deabc6feb00e / ext4 errors=remount-ro 0 1
UUID=e80baa09-5e4b-4c29-9d0b-bc265f8384f4 /home ext4 defaults 0 2
UUID=7323407c-7d0b-4acd-8299-c8f3787111ff /srv ext4 defaults 0 2
UUID=7b9d93fc-6898-4085-8117-7f1c76fd8a28 /tmp ext4 defaults 0 2
UUID=a434a28e-a4b9-4db0-b40e-b93010ed6ceb /var ext4 defaults 0 2
UUID=66392631-7c4f-4773-8614-4c5ea0913890 none swap sw 0 0
.
smartctl -a /dev/sdc
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-110-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sdc failed: Permission denied
~$ sudo smartctl -a /dev/sdc
[sudo] password for me:
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-110-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.12
Device Model: ST3750528AS
Serial Number: 6VP2NFKJ
LU WWN Device Id: 5 000c50 01ef815d2
Firmware Version: CC44
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 2.6, 3.0 Gb/s
Local Time is: Sat Mar 4 17:52:16 2017 CET
==> WARNING: A firmware update for this drive may be available,
see the following Seagate web pages:
http://knowledge.seagate.com/articles/en_US/FAQ/207931en
http://knowledge.seagate.com/articles/en_US/FAQ/213891en
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Read SMART Data failed: scsi error aborted command
=== 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 aborted command
Read SMART Error Log failed: scsi error aborted command
Read SMART Self-test Log failed: scsi error aborted command
Selective Self-tests/Logging not supported
.
[ 2483.391005] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 2483.391014] ata5.00: irq_stat 0x40000001
[ 2483.391019] ata5.00: failed command: FLUSH CACHE
[ 2483.391029] ata5.00: cmd e7/00:00:00:00:00/00:00:00:00:00/a0 tag 19
[ 2483.391029] res 51/04:00:00:00:00/00:00:00:00:00/a0 Emask 0x1 (device error)
[ 2483.391034] ata5.00: status: { DRDY ERR }
[ 2483.391038] ata5.00: error: { ABRT }
[ 2483.424566] ata5.00: configured for UDMA/133 (device error ignored)
[ 2483.424578] ata5.00: device reported invalid CHS sector 0
[ 2483.424619] end_request: I/O error, dev sdc, sector 0
[ 2483.424659] ata5: EH complete
EDIT : more info as moo asked (although smart was already in initial post, I repost and added error code return) :
sudo fdisk -l /dev/sdc
~$ echo $?
0
.
~$ sudo smartctl -a /dev/sdc
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-112-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.12
Device Model: ST3750528AS
Serial Number: 6VP2NFKJ
LU WWN Device Id: 5 000c50 01ef815d2
Firmware Version: CC44
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 2.6, 3.0 Gb/s
Local Time is: Thu Mar 9 10:55:14 2017 CET
==> WARNING: A firmware update for this drive may be available,
see the following Seagate web pages:
http://knowledge.seagate.com/articles/en_US/FAQ/207931en
http://knowledge.seagate.com/articles/en_US/FAQ/213891en
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Read SMART Data failed: scsi error aborted command
=== 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 aborted command
Read SMART Error Log failed: scsi error aborted command
Read SMART Self-test Log failed: scsi error aborted command
Selective Self-tests/Logging not supported
~$ echo $?
4
. [EDIT] I gave up and gave the drive back to my friend. Resetting the MaxLBA field with SeaChest_Configure -d /dev/sg2 --setMaxLBA 1481663420 failed. Maybe I could have had success help with resetting the smart partition on the drive with a serial connection, but I had no serial adapter at the moment, I was fed up, and some sites say this way works only with 7000.11 drives (doesn't work for 7200.12). Thanks for help although. Bye bye.
chkdsk
utility for a repair or so? I'd first try the in-built utilities prior to connecting the disk to any Linux/Unix systems. – AzkerM Mar 04 '17 at 18:42sudo dd if=/dev/sdc bs=512 count=2 | xxd
.This will help determine if your disk is readable on a block level or if it is not readable at all (see notes in my answer). This is important to know because your disk may not actually have any hardware issues and it may just that the filesystem has been wiped. – moo Mar 11 '17 at 23:59