想象一下,你重新分区磁盘,当您退出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写入到磁盘的分区表。 如果您遇到与写入分区表的问题,您可能会在阅读这篇文章,以及[...]