Hard-Disk

“mkfs.ext3 -cc”錯誤報告的含義

  • October 26, 2015

我正在嘗試在跨越整個磁碟的分區上使用“mkfs.ext3 -cc /dev/sda1”格式化一個據稱有缺陷的硬碟。

我希望了解 mkfs.ext3 命令輸出中持續錯誤報告的含義,在最後一行:“…(109/0/0 錯誤)”。我沒有在手冊頁和其他來源中找到有關這三個值的資訊。

這是執行命令的持續輸出:

# mkfs.ext3 -cc /dev/sda1
mke2fs 1.42.4 (12-June-2012)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
61054976 inodes, 244190390 blocks
12209519 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
7453 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups saved in blocks:
       32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
       4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
       102400000, 214990848

Checking with model 0xaa: done
Reading and comparision:  94.30% done, 24:09:03 elapsed. (109/0/0 errors)

當所有其他方法都失敗時,請使用實際來源!在那裡,我們看到正在列印的欄位是:

fprintf(stderr,
               _("Pass completed, %u bad blocks found. (%d/%d/%d errors)\n"),
               bb_count, num_read_errors, num_write_errors, num_corruption_errors);

換句話說,它們是讀取錯誤、寫入錯誤和損壞錯誤的數量。

引用自:https://unix.stackexchange.com/questions/238721