免费注册 查看新帖 |

Chinaunix

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

关于mount系统的问题. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-03-21 15:19 |只看该作者 |倒序浏览
我原来mount的NFS系统是只读的,我将配置文件/etc/fstab修改为可写.
怎么不重新启动机器,使它生效呢?

我umount它时是busy, 可以强制umount 吗?

论坛徽章:
0
2 [报告]
发表于 2003-03-21 15:34 |只看该作者

关于mount系统的问题.

fuser看一下进程号,如果不是关键进程杀掉算了,umount,改完了再重新mount上。应该是不用重起就能生效。

论坛徽章:
0
3 [报告]
发表于 2003-03-21 16:05 |只看该作者

关于mount系统的问题.

在HP-UX下面,我不可以强制卸载吗?
我用umount发现没有 -f的选项,跟solaris不同呀.

论坛徽章:
0
4 [报告]
发表于 2003-03-23 06:16 |只看该作者

关于mount系统的问题.

原帖由 \"sql2000\" 发表:
我原来mount的NFS系统是只读的,我将配置文件/etc/fstab修改为可写.
怎么不重新启动机器,使它生效呢?

我umount它时是busy, 可以强制umount 吗?


Hi,
You don\'t have to \"umount\" the file system. Use the \"remount\" option.
e.g.

# mount -F vxfs -o remount,rw /mount-point

Hope this helps.

论坛徽章:
0
5 [报告]
发表于 2003-03-23 06:26 |只看该作者

关于mount系统的问题.

原帖由 \"Shad\" 发表:


Hi,
You don\'t have to \"umount\" the file system. Use the \"remount\" option.
e.g.

# mount -F vxfs -o remount,rw /mount-point

Hope this helps.


Hi, again:

I may have given you wrong advice. When you change a file system to \"read only\" to \"read write\", the above command will tell you that the file system is corrupted and force you to do fsck. Only when you change the mounted file system from \"rw\" to \"ro\", the above command will succeed.

So, in your case, you may have to do:
1) vi /etc/fstab to make the file system read, write (or just use \"default\".
2) fuser -ku /mount-point
3) umount /mount-point
4) mount /mount-point

Good Luck.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP