Mount
ext4-fs:幾何錯誤:塊數超過設備大小
我有 2TB 磁碟,我在筆記本中使用。該磁碟被格式化為 ext4 並且在筆記本上執行良好,但是當我將它附加到桌面時(通過 sata-usb 適配器),由於以下錯誤,我無法安裝它:
從桌面:
# mount /dev/sdd1 /mnt mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdd1, missing codepage or helper program, or other error. # dmesg | grep sdd [ 6978.692452] sd 11:0:0:0: [sdd] 3907029166 512-byte logical blocks: (2.00 TB/1.82 TiB) [ 6978.692604] sd 11:0:0:0: [sdd] Write Protect is off [ 6978.692606] sd 11:0:0:0: [sdd] Mode Sense: 03 00 00 00 [ 6978.692799] sd 11:0:0:0: [sdd] No Caching mode page found [ 6978.692803] sd 11:0:0:0: [sdd] Assuming drive cache: write through [ 6978.789625] sdd: sdd1 [ 6978.789631] sdd: p1 size 3907027120 extends beyond EOD, enabling native capacity [ 6978.792344] sdd: sdd1 [ 6978.792346] sdd: p1 size 3907027120 extends beyond EOD, truncated [ 6978.793299] sd 11:0:0:0: [sdd] Attached SCSI disk [ 7002.085079] EXT4-fs (sdd1): bad geometry: block count 488378390 exceeds size of device (488378389 blocks) # fdisk -l /dev/sdd Disk /dev/sdd: 1.8 TiB, 2000398932992 bytes, 3907029166 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 Disklabel type: dos Disk identifier: 0xa3bf120c Device Boot Start End Sectors Size Id Type /dev/sdd1 2048 3907029167 3907027120 1.8T 83 Linux
從筆記本:
# dmesg | grep sdb [ 6.747344] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB) [ 6.747347] sd 1:0:0:0: [sdb] 4096-byte physical blocks [ 6.747369] sd 1:0:0:0: [sdb] Write Protect is off [ 6.747372] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00 [ 6.747407] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 6.769650] sdb: sdb1 [ 6.770587] sd 1:0:0:0: [sdb] Attached SCSI disk [ 14.128886] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: data=ordered here I tried remount it, and it worked fine: [ 286.189504] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null) # fdisk -l /dev/sdb Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0xa3bf120c Device Boot Start End Sectors Size Id Type /dev/sdb1 2048 3907029167 3907027120 1.8T 83 Linux
我的問題是:為什麼一台電腦在磁碟上顯示的扇區數量與另一台電腦不同?我檢查了壞塊,沒有找到。
這發生在有故障的 USB 介面適配器上。適配器出現故障的可能原因:
- 適配器太舊
- 便宜的適配器
- 壞的適配器韌體
隨著高級格式驅動器的出現,這些錯誤變得更加頻繁。
一些適配器嘗試“轉換”AF 驅動器互動,以便模擬傳統格式驅動器。
這意味著您可以:
- 使用 USB 適配器格式化驅動器,然後在兩台電腦上繼續使用 USB 適配器
- 獲得更好的 USB 適配器,這樣您就不必格式化您的驅動器。
- 在兩台電腦上使用內部 SATA 連接器。
格式化將破壞驅動器上的所有數據。