【ubuntu18.04】ubuntu18.04挂在硬盘出现 Wrong diagnostic page; asked for 1 got 8解决方案

错误日志

[ 8754.700227] usb 2-3: new full-speed USB device number 3 using xhci_hcd
[ 8754.867389] usb 2-3: New USB device found, idVendor=0e0f, idProduct=0002, bcdDevice= 1.00
[ 8754.867421] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 8754.867424] usb 2-3: Product: VMware Virtual USB Hub
[ 8754.867425] usb 2-3: Manufacturer: VMware, Inc.
[ 8754.872725] hub 2-3:1.0: USB hub found
[ 8754.872827] hub 2-3:1.0: 7 ports detected
[ 8755.168815] usb 2-4: new high-speed USB device number 4 using xhci_hcd
[ 8755.329380] usb 2-4: New USB device found, idVendor=0e0f, idProduct=0002, bcdDevice= 1.00
[ 8755.329382] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 8755.329383] usb 2-4: Product: VMware Virtual USB Hub
[ 8755.329383] usb 2-4: Manufacturer: VMware, Inc.
[ 8755.330236] hub 2-4:1.0: USB hub found
[ 8755.330326] hub 2-4:1.0: 7 ports detected
[ 8755.741058] usb 2-2: new high-speed USB device number 5 using xhci_hcd
[ 8756.060565] usb 2-2: New USB device found, idVendor=1058, idProduct=2623, bcdDevice=10.34
[ 8756.060566] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8756.060567] usb 2-2: Product: Elements SE 2623
[ 8756.060568] usb 2-2: Manufacturer: Western Digital
[ 8756.060568] usb 2-2: SerialNumber: 575831324143314A535A5948
[ 8758.040900] traps: appstreamcli[21444] trap int3 ip:7fec86cabfc1 sp:7fff9f605ab0 error:0 in libglib-2.0.so.0.5600.4[7fec86c5a000+114000]
[ 8763.664701] usb-storage 2-2:1.0: USB Mass Storage device detected
[ 8763.665797] scsi host33: usb-storage 2-2:1.0
[ 8763.666315] usbcore: registered new interface driver usb-storage
[ 8763.937548] usbcore: registered new interface driver uas
[ 8764.683293] scsi 33:0:0:0: Direct-Access     WD       Elements SE 2623 1034 PQ: 0 ANSI: 6
[ 8764.684290] scsi 33:0:0:1: Enclosure         WD       SES Device       1034 PQ: 0 ANSI: 6
[ 8764.689309] sd 33:0:0:0: Attached scsi generic sg2 type 0
[ 8764.690308] scsi 33:0:0:1: Attached scsi generic sg3 type 13
[ 8764.691841] sd 33:0:0:0: [sdb] 3906963456 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 8764.695216] sd 33:0:0:0: [sdb] Write Protect is off
[ 8764.695217] sd 33:0:0:0: [sdb] Mode Sense: 47 00 10 08
[ 8764.696942] sd 33:0:0:0: [sdb] No Caching mode page found
[ 8764.696965] sd 33:0:0:0: [sdb] Assuming drive cache: write through
[ 8764.735813]  sdb: sdb1
[ 8764.740760] sd 33:0:0:0: [sdb] Attached SCSI disk
[ 8765.242545] scsi 33:0:0:1: Wrong diagnostic page; asked for 1 got 8
[ 8765.242549] scsi 33:0:0:1: Failed to get diagnostic page 0x1
[ 8765.242551] scsi 33:0:0:1: Failed to bind enclosure -19

解决方案

安装工具

复制代码
apt install ntfs-3g -y

修改指令

复制代码
ntfsfix /dev/sdb

注意,不同电脑可能不一样,可以通过dmesg查看,也可以通过ls /dev/查看

测试验证

重新挂载就可以正常

相关推荐
vvw&3 分钟前
如何在 Debian 12 上安装和使用 Vuls 漏洞扫描器
linux·运维·nginx·ubuntu·debian·论坛
GCTTTTTT8 分钟前
linux日常常用命令(AI向)
java·linux·服务器
北'辰31 分钟前
使用ENSP实现NAT(2)
运维·网络
2401_8543910835 分钟前
SSM 架构下的垃圾分类系统,开启绿色生活
android·java·运维·安全
legend_jz1 小时前
Socket编程UDP
linux
云计算DevOps-韩老师1 小时前
【网络云计算】2024第50周-每日【2024/12/13】小测-理论-写10个Bash Shell脚本-解析
运维·网络·云计算·vim·bash·负载均衡·perl
YRr YRr3 小时前
深入解析Ubuntu 20.04中ROS的catkin_make工具
linux·运维·ubuntu
龙少95433 小时前
【linux下mysql主从复制操作流程】
linux·mysql·adb
轨迹H3 小时前
一文学会“瑞士军刀“-netcat命令使用
linux·网络安全·渗透测试·nc