VMware虛擬機,CentOS6.4系統,在執行分區操作之後,
如想重新加載分區表,執行
[root@localhost~]#partprobe
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy).
As a result, it may not reflect all of your changes until after reboot.
在CentOS6.4中系統硬盤在分完區後可以直接使用partprobe更新分區,使內核識別分區。
在CentOS6.4中分區完畢後使用partprobe無法更新分區,須重新啓動服務或執行partx -a +所要操作磁盤(如partx -a /dev/sda),分區纔可以被正常掛載。
[root@localhost~]#reboot
重啓後則可以完成加載分區表的操作。