【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/查看

测试验证

重新挂载就可以正常

相关推荐
wasp5203 小时前
做了技术管理后,我发现技术和管理其实可以兼得
java·运维·网络
云和数据.ChenGuang3 小时前
mysqld.service is not a native service问题解决!
运维·nginx·运维技术·运维工程师技术
赖small强4 小时前
【Linux 网络基础】HTTPS 技术文档
linux·网络·https·tls
写代码的学渣4 小时前
ubuntu 22.04 新装的系统 xshell 连不上
linux·运维·ubuntu
2501_941805934 小时前
深入解析现代多语言后端架构设计:Python、Java、C++与Go在高性能服务中的实践
运维
F***E2394 小时前
如何安装配置Goland并使用固定公网地址SSH远程连接本地服务器
运维·服务器·ssh
序属秋秋秋4 小时前
《Linux系统编程之进程环境》【环境变量】
linux·运维·服务器·c语言·c++·操作系统·系统编程
云边有个稻草人5 小时前
手机也能控 Linux?Cpolar+JuiceSSH 搞定内网远程
运维·服务器·cpolar
Altair12315 小时前
nginx的https的搭建
运维·网络·nginx·云计算
云计算练习生5 小时前
linux shell编程实战 10 Git工具详解与运维场景实战
linux·运维·git