CentOS
发布时间:2022-04-02 发布网站:大佬教程 code.js-code.com
大佬教程收集整理的这篇文章主要介绍了Error informing the kernel about modifications to partition,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
概述
centos7.2 partprobe 执行失败的问题 给ceph的osd配置分区的过程中,想通过partprobe命令及时通知kernel去更新
分区表, 所以用parted命令创建完分区后就执行partprobe命令,在centos7.1上代码跑得666的, 但是centos7.2上就发生如下蛋痛的问题: [root@ai1
26251006028 udev]# partprobe Error:
centos7.2 partprobe 执行失败的问题
给ceph的osd配置分区的过程中,想通过partprobe命令及时通知kernel去更新分区表,
所以用parted命令创建完分区后就执行partprobe命令,在centos7.1上代码跑得666的,
但是centos7.2上就发生如下蛋痛的问题:
[root@ai126251006028 udev]# partprobe
Error: Error informing the kernel about modifications to partition /dev/sdb1 -- Device or resource busy. This means Linux won't kNow about any changes you made to /dev/sdb1 until you reboot -- so you shouldn't mount it or use it in any way before rebooTing.
[root@ai126251006028 udev]# partprobe
Error: Error informing the kernel about modifications to partition /dev/sdb1 -- Device or resource busy. This means Linux won't kNow about any changes you made to /dev/sdb1 until you reboot -- so you shouldn't mount it or use it in any way before rebooTing.
[root@ai126251006028 udev]# partx -u /dev/sdd
[root@ai126251006028 udev]# partx -u /dev/sdd
[root@ai126251006028 udev]# partprobe
Error: Error informing the kernel about modifications to partition /dev/sdb1 -- Device or resource busy. This means Linux won't kNow about any changes you made to /dev/sdb1 until you reboot -- so you shouldn't mount it or use it in any way before rebooTing.
[root@ai126251006028 udev]# partx -u /dev/sdd
[root@ai126251006028 udev]# partx -u /dev/sdd
感觉应该是partprobe跟centos7.2内核有地方不兼容导致的,暂时mark下。
大佬总结
以上是大佬教程为你收集整理的Error informing the kernel about modifications to partition全部内容,希望文章能够帮你解决Error informing the kernel about modifications to partition所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。