Centos fdisk分區時提示設備或資源忙的處理辦法


對linux系統磁盤進行分區時,提示如下錯誤提示的處理辦法:

錯誤提示:

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)

處理辦法:

[root@xuegod63 ~]#reboot   #這個是最好的方法(重啟后新的分區表不一定生效)

[root@xuegod63 ~]# partx -a /dev/sda  #獲得新分區表(通過命令partx -a /dev/sda,重新獲得分區表,這個還挺好使的)

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM