df 掛起:dev sdh1 上的緩衝區 I/O 錯誤,邏輯區塊 754166359,非同步頁面讀取

df 掛起:dev sdh1 上的緩衝區 I/O 錯誤,邏輯區塊 754166359,非同步頁面讀取

Ubuntu 20.04 機器運行一段時間後,我嘗試運行df,它只是掛在那裡。

dmesg顯示大量相同的錯誤訊息:

[118924.226495] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118924.226928] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118924.227149] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118924.227344] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118924.227500] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118924.227701] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118924.227906] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118924.228065] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118924.228354] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118924.228517] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118929.496105] buffer_io_error: 1440 callbacks suppressed
[118929.496110] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118929.496422] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118929.496605] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118929.496780] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118929.496964] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118929.497150] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118929.497296] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118929.497445] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118929.497625] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118929.497855] Buffer I/O error on dev sdh1, logical block 754166359, async page read
[118934.783290] buffer_io_error: 1440 callbacks suppressed

接下來我們該如何進行呢?

我們可以卸載/dev/sdh1然後重新安裝它,以便我們df再次正常運行嗎?如果是這樣,我們如何找到 的掛載點/dev/sdh1,以便我們可以執行該命令sudo umount <mountpoint_of_/dev/sdh1>

嘗試了以下命令,但它們沒有返回任何內容

  • findmnt -S /dev/sdh
  • findmnt -S /dev/sdh1
  • grep /dev/sdh /etc/mtab
  • grep /dev/sdh1 /etc/mtab

答案1

您不需要知道安裝點即可卸載它,設備名稱就足夠了。做就是了sudo umount /dev/sdh1

如果你想辨識掛載點,findmnt /dev/sdh1應該就夠了。

相關內容