无法挂载外置 USB 3.0 硬盘

Ten*_*ken 6 10.10 usb mount external-hdd

我有一个无法安装的 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
Run Code Online (Sandbox Code Playgroud)

如您所见,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
Run Code Online (Sandbox Code Playgroud)

这是我的“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
Run Code Online (Sandbox Code Playgroud)

这是我的“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
Run Code Online (Sandbox Code Playgroud)

这是我尝试挂载硬盘时给出的错误:

shinso@shinso-IdeaPad:~$ sudo mount /dev/sdb /mnt
[sudo] password for shinso: 
mount: /dev/sdb: unknown device
Run Code Online (Sandbox Code Playgroud)

这是“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
Run Code Online (Sandbox Code Playgroud)

我正在使用 Ubuntu 10.10(64 位)。

我已经为需要额外信息的人提供了一个来自磁盘工具的屏幕截图。

http://i.stack.imgur.com/mcFRh.png

任何帮助表示赞赏。

Tho*_*ard 3

根据分区格式和分区号(两者都可以通过 找到sudo fdisk -l),mount 命令的语法将如下所示:
sudo mount -t ntfs /dev/sdb1 /media/mountPoint
请注意,列出的命令假定三件事:

  1. 分区位于 上sdb,并且有 的数量1(这就是您最终得到的结果/dev/sdb1
  2. 您的分区属于这种类型ntfs(大多数大容量驱动器都是这种类型,除非它们是针对 Mac 进行格式化的(在这种情况下,它们具有hfs+或类似于格式化)
  3. 您正在尝试将驱动器安装到该位置/media/mountPoint

我刚才提到的这 3 项中的每一项都可以根据需要根据正在使用的分区类型、要安装驱动器的位置以及驱动器的分区号进行调整。

编辑
我刚刚意识到我忘记了关键的一步。假设您要使用上述命令,您需要首先创建挂载点。因此,使用我上面使用挂载点的示例/media/mountPoint,您需要在尝试挂载驱动器之前执行此命令:
mkdir /media/mountPoint
如果此命令要求您拥有超级用户,请在mkdir命令前面加上sudo,这将允许命令运行为超级用户。


neb*_*ula 1

从Ubuntu软件中心下载ntfs配置工具。它将帮助您安装和读/写启用禁用。这很简单。在这种情况下,您不需要使用终端。希望它对你有用。