在Linux磁盤管理中,使用fdisk將剩余的容量繼續分區,但是在保存分區表時,會出現以下報錯:
The partition table has been altered!Calling ioctl() to re-read partition table.WARNING: Re-reading the partition table failed with error 16: 設備或資源忙.
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.
該提示為:
重載分區出現的上述信息中,當時對于警告提示“設備或資源忙,需要重啟系統才能使更改生效”直接忽略,以為是正常現象。但是對于錯
誤信息“Error: 無效的分區表 – /dev/sr0 出現遞歸分區。
此時使用fdisk命令看不到新建的分區信息,可以使用partprobe命令解決這個問題而不用重啟系統,因為partprobe可以使kernel重新讀
取分區信息,從而避免重啟系統。
partprobe
fdisk -l
此時看分區成功加載