我有一个无法挂载的 USB 3.0 外置硬盘。该条目出现在“lsusb”命令中,但我不太明白如何挂载它。
这是我的 lsusb 命令的输出。“ASMedia Technology Inc.”是 USB 3.0 设备。我希望得到一些有关安装和访问硬盘的帮助。
当我将 USB 3.0 HDD 连接到普通 USB 2.0 端口时,这是我的“sudo fdisk -l”的相关输出:
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8e0eee9e
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sdb2 13 38914 312466432 7 HPFS/NTFS
如您所见,sdb 驱动器和分区已准确列出。
但是,当我将 USB 3.0 HDD 连接到 (ExpressCard34) USB 3.0 端口并运行相同的“sudo fdisk -l”命令时,未检测到 sdb 驱动器。它们似乎只出现在“lsusb”输出中。我给出了以下“sudo fdisk -l”输出:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b441f
Device Boot Start End Blocks Id System
/dev/sda1 * 1 37434 300686336 83 Linux
/dev/sda2 37434 38914 11882497 5 Extended
/dev/sda5 37434 38914 11882496 82 Linux swap / Solaris
这是我的“lsusb”的相关输出:
lsusb
Bus 009 Device 002: ID 174c:5106 ASMedia Technology Inc.
Bus 008 Device 002: ID 0a5c:2150 Broadcom Corp. BCM2046 Bluetooth Device
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 5986:0205 Acer, Inc
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
这是我的“lsusb -v”的相关输出:
Bus 009 Device 002: ID 174c:5106 ASMedia Technology Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x174c ASMedia Technology Inc.
idProduct 0x5106
bcdDevice 0.01
iManufacturer 2 ASMedia
iProduct 3 AS2105
iSerial 1 00000000000000000000
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x1d6b Linux Foundation
idProduct 0x0003 3.0 root hub
bcdDevice 2.06
iManufacturer 3 Linux 2.6.35-28-generic xhci_hcd
iProduct 2 xHCI Host Controller
iSerial 1 0000:04:00.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 4
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0503 highspeed power enable connect
Port 4: 0000.0503 highspeed power enable connect
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled
这是我尝试安装硬盘时出现的错误:
shinso@shinso-IdeaPad:~$ sudo mount /dev/sdb /mnt
[sudo] password for shinso:
mount: /dev/sdb: unknown device
这是“dmesg|tail”的输出:
[30062.774178] Either the lower file is not in a valid eCryptfs format, or the key could not be retrieved. Plaintext passthrough mode is not enabled; returning -EIO
[30535.800977] usb 9-4: USB disconnect, address 3
[30659.237342] Valid eCryptfs headers not found in file header region or xattr region
[30659.237351] Either the lower file is not in a valid eCryptfs format, or the key could not be retrieved. Plaintext passthrough mode is not enabled; returning -EIO
[31259.268310] Valid eCryptfs headers not found in file header region or xattr region
[31259.268313] Either the lower file is not in a valid eCryptfs format, or the key could not be retrieved. Plaintext passthrough mode is not enabled; returning -EIO
[31860.059058] Valid eCryptfs headers not found in file header region or xattr region
[31860.059062] Either the lower file is not in a valid eCryptfs format, or the key could not be retrieved. Plaintext passthrough mode is not enabled; returning -EIO
[32465.220590] Valid eCryptfs headers not found in file header region or xattr region
[32465.220593] Either the lower file is not in a valid eCryptfs format, or the key could not be retrieved. Plaintext passthrough mode is not enabled; returning -EIO
我正在使用 Ubuntu 10.10(64 位)。
对于那些需要更多信息的人,我附上了“磁盘工具”的屏幕截图。
https://i.stack.imgur.com/mcFRh.png
任何帮助都将受到赞赏。
答案1
根据分区格式和分区号(两者都可以通过 找到sudo fdisk -l
),mount 命令的语法可能如下所示:
sudo mount -t ntfs /dev/sdb1 /media/mountPoint
请注意,列出的命令假设三件事:
- 分区位于 上
sdb
,且数量为1
(这就是最终得到的/dev/sdb1
) - 您的分区属于以下类型
ntfs
(大多数大容量驱动器都是这样的,除非它们是为 Mac 格式化的(在这种情况下它们具有hfs+
或类似于格式) - 您正在尝试将驱动器安装到该位置
/media/mountPoint
。
我刚才提到的 3 项中的每一项都可以根据所使用的分区类型、要安装驱动器的位置以及驱动器的分区号进行必要的调整。
编辑
我刚刚意识到我忘记了一个关键步骤。假设您要使用上述命令,则需要先创建挂载点。因此,使用我上面使用挂载点的示例/media/mountPoint
,您需要在尝试挂载驱动器之前执行此命令:
mkdir /media/mountPoint
如果此命令要求您拥有超级用户权限,请在mkdir
命令前面加上sudo
,这将允许以超级用户身份运行该命令。
答案2
您的 USB 3.0 卡可能声称它具有 NEC 芯片组,该芯片组与 Linux 完全兼容,但 lsusb 输出显示它具有(更便宜、兼容性较差的)AsMedia 芯片组。这在 USB 3.0 模式下与 Linux 不兼容(目前)。
答案3
下载ntfs 配置工具来自 Ubuntu 软件中心。它将帮助您安装和启用/禁用 R/W。这很容易。在这种情况下,您不需要使用终端。希望它对你有用。
答案4
当我在机器启动后插入 USB 3.0 ExpressCard 时,我的硬盘根本无法工作。我读到过一些文章说,如果机器已经在运行,Ubuntu 似乎无法正确检测 ExpressCard,而如果在打开机器之前插入 ExpressCard,Ubuntu 则可以正确检测它们。
因此基本上,尝试在已插入 ExpressCard 的情况下进行启动,然后查看硬盘是否正常运行。