想象一下,你是一个磁盘重新分区,当你离开fdisk写入新的分区表挂载尝试装入新的分区。 所以,刷新磁盘,而不是准备newfs你得到这样的警告: WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next boot.
所以,你可以忘掉一段时间newfs。 你会怎么做? 只要重新启动? 如果你必须重新更多然后一个磁盘? 以下是解决方案...
解决的办法是暂时禁用自动挂载。 您可以轻松地做到这一点的 /etc/init.d/autofs stop /etc/init.d/haldaemon stop #umount the device you're trying to fdisk - it might be already mounted
第二行是不平凡然后第一个,是不是? 要禁用自动挂载永久使用此: chkconfig autofs off chkconfig haldaemon off /etc/init.d/autofs stop /etc/init.d/haldaemon stop #umount the device you're trying to fdisk - it might be already mounted
这个职位是发表在如何 ,Linux的 。 |
2008年2月12日在12:59上午
[...] 21分区表写入到磁盘。 你可能有兴趣阅读这个职位,以及如果你遇到写分区表的问题[...]