免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4302 | 回复: 3
打印 上一主题 下一主题

"Uable to remove directory: File exists" error [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-10-09 09:56 |只看该作者 |倒序浏览
I can not remove a directory even use root to remove:

rm: Unable to remove directory backup//fs/123: File exists
rm: Unable to remove directory backup//fs: File exists
rm: Unable to remove directory backup/: File exists


pls advise.

论坛徽章:
0
2 [报告]
发表于 2007-10-09 10:08 |只看该作者
Make sure that you are using UFS Filesystem. Then I think You probably have some filesystem corruption...

unmounted the filesystem, ran fsck, then mounted the filesystem.

Try again

Good luck

论坛徽章:
0
3 [报告]
发表于 2007-10-09 14:50 |只看该作者
有文件的目录,用rm -r吧

论坛徽章:
0
4 [报告]
发表于 2007-10-09 18:13 |只看该作者
原帖由 bloomit 于 2007-10-9 10:08 发表
Make sure that you are using UFS Filesystem. Then I think You probably have some filesystem corruption...

unmounted the filesystem, ran fsck, then mounted the filesystem.

Try again

Good luck


我比较赞同你的观点,
我遇到类似问题,rm和类rm的system function均无法删除这样的文件,我的fs内含海量琐碎文件,最后newfs了,忘记了使用fsck了。 楼主不妨一试。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP