我最近购买了一个 3 TB 的硬盘,将其插入外部 USB 驱动器外壳并将其连接到 Linux Debian。
不幸的是,它现在显示了 2 个独立的物理驱动器:一个 2.19TB,一个 801 GB。
我不知道为什么。
我升级到了 wheezy 和内核 3.2.48,但没有什么区别。
这是我的 dmesg 输出:
[ 4133.260187] usb 2-4: new high-speed USB device number 2 using ehci_hcd
[ 4133.414995] usb 2-4: New USB device found, idVendor=1bcf, idProduct=0c31
[ 4133.415003] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4133.415008] usb 2-4: Product: USB to Serial-ATA bridge
[ 4133.415012] usb 2-4: Manufacturer: Sunplus Innovation Technology
[ 4133.582155] Initializing USB Mass Storage driver...
[ 4133.582259] scsi8 : usb-storage 2-4:1.0
[ 4133.582316] usbcore: registered new interface driver usb-storage
[ 4133.582317] USB Mass Storage support registered.
[ 4134.582266] scsi 8:0:0:0: Direct-Access Generic External 0200 PQ: 0 ANSI: 4
[ 4134.584004] scsi 8:0:0:1: Direct-Access Generic External 0200 PQ: 0 ANSI: 4
[ 4134.584682] sd 8:0:0:0: Attached scsi generic sg6 type 0
[ 4134.584887] sd 8:0:0:1: Attached scsi generic sg7 type 0
[ 4134.586143] sd 8:0:0:0: [sdg] 4294967295 512-byte logical blocks: (2.19 TB/1.99 TiB)
[ 4134.587706] sd 8:0:0:1: [sdh] 1565565872 512-byte logical blocks: (801 GB/746 GiB)
[ 4134.594994] sd 8:0:0:0: [sdg] Write Protect is off
[ 4134.595005] sd 8:0:0:0: [sdg] Mode Sense: 38 00 00 00
[ 4134.601930] sd 8:0:0:1: [sdh] Write Protect is off
[ 4134.601933] sd 8:0:0:1: [sdh] Mode Sense: 38 00 00 00
[ 4134.608790] sd 8:0:0:0: [sdg] No Caching mode page present
[ 4134.612126] sd 8:0:0:0: [sdg] Assuming drive cache: write through
[ 4134.615642] sd 8:0:0:1: [sdh] No Caching mode page present
[ 4134.619021] sd 8:0:0:1: [sdh] Assuming drive cache: write through
[ 4134.631010] sd 8:0:0:0: [sdg] No Caching mode page present
[ 4134.634342] sd 8:0:0:0: [sdg] Assuming drive cache: write through
[ 4134.652110] sd 8:0:0:1: [sdh] No Caching mode page present
[ 4134.655459] sd 8:0:0:1: [sdh] Assuming drive cache: write through
[ 4134.687317] sdg: unknown partition table
[ 4134.687749] sdh: unknown partition table
[ 4134.710370] sd 8:0:0:0: [sdg] No Caching mode page present
[ 4134.713674] sd 8:0:0:0: [sdg] Assuming drive cache: write through
[ 4134.716994] sd 8:0:0:0: [sdg] Attached SCSI disk
[ 4134.717241] sd 8:0:0:1: [sdh] No Caching mode page present
[ 4134.720764] sd 8:0:0:1: [sdh] Assuming drive cache: write through
[ 4134.720768] sd 8:0:0:1: [sdh] Attached SCSI disk
现在我可以创建两个独立的分区并将它们添加到一个 lvm 组件中,但由于我不知道为什么会发生这种情况,所以我首先想知道原因。
答案1
我认为这是 MBR 分区大小限制。尝试使用 parted 创建 GPT 标签。
(parted) mklabel gpt
(parted) mkpart primary 0 0
(parted) quit
答案2
USB 驱动器外壳中的 USB2SATA 硬件设备必须负责,因为我在不同的 Windows 机器上得到了相同的结果。
在 USB 驱动器外壳文档中找不到任何内容,但这并不意味着什么。
答案3
因为它似乎显示为两个独立的 SCSI 设备(8:0:0:0 和 8:0:0:1),所以我猜测驱动器固件是这样做的,特别是因为 Windows 也认为它是两个驱动器。
如果只是分区,那么它仍然会显示为一个驱动器,而不是两个。