我有 1.5 TB西部数据外部 USB 硬盘和两个 Ubuntu 系统,均为 Ubuntu 12.04 LTS,“Precise Pangolin”。当我将磁盘插入系统A它不会显示在输出中,sudo fdisk -l
也不会自动安装(请注意,情况并非总是如此 - 它过去曾经出现过)。当我将其插入系统B(再次是 Ubuntu 12.04),当我执行sudo fdisk -l
(输出附加在末尾)时它会显示出来并且自动安装。
这种差异表明了什么?我应该运行什么样的诊断程序/使用什么样的工具来解决问题?
我按照收到的建议做了一个,sudo tail -f /var/log/syslog
当我插入、拔出并重新插入 USB 电缆时,输出如下系统A:
Sep 14 23:27:09 thorin mtp-probe: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:13.2/usb2/2-2"
Sep 14 23:27:09 thorin mtp-probe: bus: 2, device: 3 was not an MTP device
Sep 14 23:28:01 thorin kernel: [ 338.994295] usb 2-2: USB disconnect, device number 3
Sep 14 23:28:04 thorin kernel: [ 341.808139] usb 2-2: new high-speed USB device number 4 using ehci_hcd
Sep 14 23:28:04 thorin mtp-probe: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:13.2/usb2/2-2"
Sep 14 23:28:04 thorin mtp-probe: bus: 2, device: 4 was not an MTP device
Sep 14 23:29:54 thorin AptDaemon: INFO: Quitting due to inactivity
Sep 14 23:29:54 thorin AptDaemon: INFO: Quitting was requested
(我猜最后两条消息无关紧要)。
系统 B 上的 sudo fdisk -l 的输出
$ sudo fdisk -l
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00070db4
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 2905114623 1452556288 83 Linux
/dev/sda2 2905116670 2930276351 12579841 5 Extended
/dev/sda5 2905116672 2930276351 12579840 82 Linux swap / Solaris
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9c849c84
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 488375999 244187968+ 7 HPFS/NTFS/exFAT
Disk /dev/sdg: 1500.3 GB, 1500299395072 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930272256 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003e17f
Device Boot Start End Blocks Id System
/dev/sdg1 2048 2930272255 1465135104 7 HPFS/NTFS/exFAT
答案1
我相信您正在尝试使用 USB 3.0 端口。如果是,您可以尝试连接到系统 A 上的 USB 2.0 端口,它应该可以工作。我遇到了类似的问题。我认为这是新内核的一个错误。