Linux:1 TB HDD 显示 7 TB 分区!

Linux:1 TB HDD 显示 7 TB 分区!

我用 2 TB 硬盘替换了 1 TB 硬盘(它包含一个 EXT4 分区,该分区内有许多指向备份文件/目录的硬链接。它还有一堆常规文件/目录),现在我正尝试从外部硬盘读取器将前者的数据复制回新磁盘。不幸的是,旧磁盘似乎不喜欢被拖回家,现在它拒绝安装其唯一的分区。

gdisk /dev/sdf1显示:

GPT fdisk (gdisk) version 1.0.6

Warning: Partition table header claims that the size of partition table
entries is 0 bytes, but this program  supports only 128-byte entries.
Adjusting accordingly, but partition table may be garbage.
Warning: Partition table header claims that the size of partition table
entries is 0 bytes, but this program  supports only 128-byte entries.
Adjusting accordingly, but partition table may be garbage.

Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present

Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.

Warning! Secondary partition table overlaps the last partition by
1709333071 blocks!
You will need to delete this partition or resize it in another utility.
Disk /dev/sdf: 244190646 sectors, 931.5 GiB
Model: 003-1SB102
Sector size (logical/physical): 4096/4096 bytes
Disk identifier (GUID): 0B823749-13F7-4A4E-A8C4-F4F507A94A79
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 5
First usable sector is 6, last usable sector is 244190640
Partitions will be aligned on 256-sector boundaries
Total free space is 2042 sectors (8.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
1            2048      1953523711   7.3 TiB     8300  Linux filesystem

让我感到困惑的是奇怪的二级分区表和报告末尾声称的不真实的 7.3 TiB。磁盘在取出之前运行正常,即使现在通过外部方式连接,智能工具健康状况没有问题。

更多信息:

swapspace我猜问题与磁盘运行时在该分区上启用服务有关。testdisk实用程序检测到几个交换分区,我猜是swapspace创建用于保存交换数据的交换文件。也许这些假“分区”让 gdisk 误以为有 7 TB 的磁盘空间……

有什么想法/指导吗?

安东尼奥

答案1

最后,这确实都是由于硬盘读取器不兼容造成的!当我将硬盘重新连接到内部 SATA 端口时,它立即被识别。

需要说明的是,HDD 读取器是一款全合一硬盘坞站 (型号 875)以及相应的lsusb命令输出:

ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge

相关内容