嗨@moo @Elder Geek @heynnema(欢迎其他任何人),我在聊天室中发布了一个问题
尽管gnome-disk-utility将其显示为“ No media”,但fdisk -l和testdisk均未显示该Seagate驱动器。这是朋友的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
编辑:更多信息,请向moo询问(尽管smart已在初始发布中,但我重新发布并添加了错误代码返回):
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
。[编辑]我放弃了,把车还给了我的朋友。使用SeaChest_Configure -d / dev / sg2 --setMaxLBA 1481663420重置MaxLBA字段失败。也许我可以在通过串行连接重置驱动器上的智能分区方面获得成功的帮助,但是目前我没有串行适配器,这让我受够了,而且一些网站说这种方式仅适用于7000.11驱动器(不是适用于7200.12)。虽然谢谢您的帮助。再见。
chkdsk
实用程序进行修复?在将磁盘连接到任何Linux / Unix系统之前,我先尝试使用内置实用程序。