亚洲国产第一_开心网五月色综合亚洲_日本一级特黄特色大片免费观看_久久久久久久久久免观看

Hello! 歡迎來到小浪云!


Linux 硬盤分區(qū)生效命令partprobe


avatar
小浪云 2024-10-09 217


Linux磁盤管理中,使用fdisk將剩余的容量繼續(xù)分區(qū),但是在保存分區(qū)表時,會出現(xiàn)以下報錯:

The partition table has been altered!Calling ioctl() to re-read partition table.WARNING: Re-reading the partition table failed with error 16: 設(shè)備或資源忙.

The kernel still uses the old table. The new table will be used at

the next reboot or after you run partprobe(8) or kpartx(8)

Syncing disks.

該提示為:

重載分區(qū)出現(xiàn)的上述信息中,當時對于警告提示“設(shè)備或資源忙,需要重啟系統(tǒng)才能使更改生效”直接忽略,以為是正常現(xiàn)象。但是對于錯

誤信息“Error: 無效的分區(qū)表 – /dev/sr0 出現(xiàn)遞歸分區(qū)。

此時使用fdisk命令看不到新建的分區(qū)信息,可以使用partprobe命令解決這個問題而不用重啟系統(tǒng),因為partprobe可以使kernel重新讀

取分區(qū)信息,從而避免重啟系統(tǒng)。

partprobe

fdisk -l

此時看分區(qū)成功加載

相關(guān)閱讀