首页 > 编程知识 正文

partprobe命令错误

时间:2023-05-04 14:29:09 阅读:184342 作者:3933

在VMware下,在/dev/sdb的空余空间用fdisk划分新的分区,完毕后,使用partprobe 重读分区表时报错。

[root@localhost ~]# partprobe 

Warning: WARNING: the kernel failed to re-read the partition table on /dev/sdb (Device or resource busy).  As a result, it may not reflect all of your changes until after reboot.


原因:

/dev/sdb设备处于挂载状态,可用df命令查看。

解决:

使用umount取消挂载。

转载于:https://blog.51cto.com/xyxyl/1723361

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。