![WD My Passport USB 驱动器无法被识别](https://linux22.com/image/1161523/WD%20My%20Passport%20USB%20%E9%A9%B1%E5%8A%A8%E5%99%A8%E6%97%A0%E6%B3%95%E8%A2%AB%E8%AF%86%E5%88%AB.png)
我也遇到过其他类似的问题,但这些解决方案都无济于事。我的外置 USB 驱动器不再工作。
lsusb:
Bus 001 Device 023: ID 1058:0730 Western Digital Technologies, Inc. My Passport Essential (WDBACY)
dmesg:
[ 4788.172750] sd 4:0:0:0: [sdb] 625076224 512-byte logical blocks: (320 GB/298 GiB)
[ 4788.173424] sd 4:0:0:0: [sdb] Write Protect is off
[ 4788.173429] sd 4:0:0:0: [sdb] Mode Sense: 47 00 10 08
[ 4788.174077] sd 4:0:0:0: [sdb] No Caching mode page found
[ 4788.174085] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 4788.183673] sdb: sdb1
[ 4788.186056] sd 4:0:0:0: [sdb] Attached SCSI disk
[ 4800.611506] usb 1-1.2: reset high-speed USB device number 19 using ehci-pci
[ 4805.743321] usb 1-1.2: device descriptor read/64, error -110
[ 4821.387265] usb 1-1.2: device descriptor read/64, error -110
[ 4821.575546] usb 1-1.2: reset high-speed USB device number 19 using ehci-pci
[ 4822.405581] usb 1-1.2: USB disconnect, device number 19
[ 4822.411861] scsi 4:0:0:0: rejecting I/O to offline device
[ 4822.411873] scsi 4:0:0:0: [sdb] killing request
[ 4822.411893] scsi 4:0:0:0: [sdb] FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 4822.411899] scsi 4:0:0:0: [sdb] CDB: Read(10) 28 00 00 5d bf 70 00 00 08 00
[ 4822.411905] print_req_error: I/O error, dev sdb, sector 6143856
[ 4822.411962] blk_partition_remap: fail for partition 1
[ 4822.411965] Buffer I/O error on dev sdb1, logical block 6141808, async page read
[ 4822.411969] blk_partition_remap: fail for partition 1
[ 4822.411971] Buffer I/O error on dev sdb1, logical block 6141809, async page read
[ 4822.411974] blk_partition_remap: fail for partition 1
[ 4822.411975] Buffer I/O error on dev sdb1, logical block 6141810, async page read
[ 4822.411979] blk_partition_remap: fail for partition 1
[ 4822.411980] Buffer I/O error on dev sdb1, logical block 6141811, async page read
[ 4822.411984] blk_partition_remap: fail for partition 1
[ 4822.411986] Buffer I/O error on dev sdb1, logical block 6141812, async page read
[ 4822.411989] blk_partition_remap: fail for partition 1
[ 4822.411990] Buffer I/O error on dev sdb1, logical block 6141813, async page read
[ 4822.411993] blk_partition_remap: fail for partition 1
[ 4822.411995] Buffer I/O error on dev sdb1, logical block 6141814, async page read
[ 4822.411997] blk_partition_remap: fail for partition 1
[ 4822.411999] Buffer I/O error on dev sdb1, logical block 6141815, async page read
[ 4822.913500] usb 1-1.2: new high-speed USB device number 20 using ehci-pci
[ 4823.652804] usb 1-1.2: New USB device found, idVendor=1058, idProduct=0730
[ 4823.652810] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4823.652815] usb 1-1.2: Product: My Passport 0730
[ 4823.652818] usb 1-1.2: Manufacturer: Western Digital
[ 4823.652822] usb 1-1.2: SerialNumber: 575831314142303639393835
[ 4823.653453] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 4823.653709] scsi host4: usb-storage 1-1.2:1.0
[ 4825.714633] scsi 4:0:0:0: Direct-Access WD My Passport 0730 1012 PQ: 0 ANSI: 6
[ 4825.715495] scsi 4:0:0:1: Enclosure WD SES Device 1012 PQ: 0 ANSI: 6
[ 4825.718301] sd 4:0:0:0: Attached scsi generic sg2 type 0
[ 4825.718521] ses 4:0:0:1: Attached Enclosure device
[ 4825.718711] ses 4:0:0:1: Attached scsi generic sg3 type 13
[ 4831.665344] ses 4:0:0:1: Wrong diagnostic page; asked for 1 got 8
[ 4831.665351] ses 4:0:0:1: Failed to get diagnostic page 0x1
[ 4831.665355] ses 4:0:0:1: Failed to bind enclosure -19
尝试了几种方法之后,USB 被列出了,但仍然无法打开它,并且随机地不断抛出“操作已待处理”错误。
有什么方法可以保存数据并修复磁盘?
更新:
Smartctl open device: /dev/sdb1 failed: No such device
caissa@caissa:~$ sudo smartctl -a /dev/sdb1
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-39-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: WD
Product: My Passport 0730
Revision: 1012
Compliance: SPC-4
User Capacity: 320,039,026,688 bytes [320 GB]
Logical block size: 512 bytes
Serial number: WX11AB069985
Device type: disk
Local Time is: Tue Dec 4 23:12:12 2018 IST
SMART support is: Unavailable - device lacks SMART capability.
=== START OF READ SMART DATA SECTION ===
Current Drive Temperature: 0 C
Drive Trip Temperature: 0 C
Error Counter logging not supported
No self-tests have been logged
答案1
您的硬件有缺陷:立即更换。
日志显示磁盘不可靠
例如:[4822.411999] Buffer I/O error on dev sdb1
你的系统找不到驱动器返回错误...这是硬件故障的常见迹象。[感谢@ThomasWard]
smartctl 输出显示磁盘接口缺乏进一步调查的能力。
您可能能够从磁盘中保存一些数据,但这是硬件和数据恢复问题。Ubuntu 没有神奇的咒语来修复损坏的硬件。AskUbuntu 上已经有很多关于如何从坏掉的驱动器中恢复数据的相关帖子。
答案2
我也遇到过类似的情况,可能是因为设备被不恰当地移除了,没有卸载。journalctl -xe -p 3
scsi 2:0:0:1: Wrong diagnostic page; asked for 1 got 8
scsi 2:0:0:1: Failed to get diagnostic page 0x1
scsi 2:0:0:1: Failed to bind enclosure -19
sd 3:0:0:0: Wrong diagnostic page; asked for 1 got 51
sd 3:0:0:0: Failed to get diagnostic page 0x1
sd 3:0:0:0: Failed to bind enclosure -19
sd 2:0:0:0: [sdb] No Caching mode page found
sd 2:0:0:0: [sdb] Assuming drive cache: write through
我检查文件系统使用 GNOME Disks ( gnome-disks
) 时出现一些错误。使用修复选项修复:
更多信息这里。
答案3
好吧,就我而言,我只需要重命名我的 wd-drive 的卷组。我无法解释为什么这是原因,但扫描(如lvscan
)显示一切正常。以下答案对我有帮助:挂载未知文件系统类型‘lvm2_member’
答案4
尝试不同的 USB 端口
为什么?WD Passport(可能)有 USB-C 输入 + USB-3.0 适配器。尝试在您的 PC/NTB 上使用不同的 USB-C 输入,如果问题仍然存在,请通过该适配器尝试不同类型的 USB 端口
在我的情况下,这种行为与损坏的磁盘一致 - 在 Windows 和 Ubuntu 上。在我尝试这个之前,我准备把它寄回去。使用不同端口的适配器而不是 usb-c 解决了我的问题。在这种情况下,似乎我的主板是问题所在