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

测试验证

重新挂载就可以正常

相关推荐
Xの哲學6 小时前
Linux流量控制: 内核队列的深度剖析
linux·服务器·算法·架构·边缘计算
tuokuac6 小时前
docker中nginx配置报错解决
linux·运维·服务器
Zeku6 小时前
20251129 - 详细解析Linux的mmap(内存映射)
linux·驱动开发·嵌入式软件·linux应用开发
Joren的学习记录7 小时前
【Linux运维大神系列】docker详解(四)
linux·运维·docker
老王熬夜敲代码8 小时前
网络中数据传输的具体过程
linux·网络·笔记
Elastic 中国社区官方博客8 小时前
让我们把这个 expense 工具从 n8n 迁移到 Elastic One Workflow
大数据·运维·elasticsearch·搜索引擎·ai·信息可视化·全文检索
世转神风-8 小时前
linux使用终端打开当前文件夹界面
linux
( •̀∀•́ )9209 小时前
GitHub Actions SSH 部署密钥
运维·ssh·github
louqle9 小时前
docker基本知识及常用命令汇总
运维·docker·容器
刘某的Cloud9 小时前
列表、元组、字典、集合-组合数据类型
linux·开发语言·python