免费注册 查看新帖 |

Chinaunix

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

solaris重新读取/etc/vfstab文件 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-11-25 14:52 |只看该作者 |倒序浏览
刚才修改了下/etc/vfstab文件,虽然进入系统了,但是一些服务被关闭了。
   我现在重新修改好了该文件,请问可以在不重启的情况下重新读取吗?

论坛徽章:
0
2 [报告]
发表于 2011-11-25 15:22 |只看该作者
回复 1# 雪剑20


    /etc/vfstab不是umount 和mount就可以吗?

论坛徽章:
1
IT运维版块每日发帖之星
日期:2015-11-22 06:20:00
3 [报告]
发表于 2011-11-25 16:07 |只看该作者
/etc/vfstab一般只和文件系统有关

论坛徽章:
1
19周年集字徽章-19
日期:2020-01-08 15:08:20
4 [报告]
发表于 2011-11-25 17:30 |只看该作者
/etc/vfstab  只和文件系统有关,手动umount和mount一下就行了,不需要重启的。

论坛徽章:
0
5 [报告]
发表于 2011-11-26 21:01 |只看该作者
和服务有关吗?/etc/inetd.conf 这个才有关吧

论坛徽章:
0
6 [报告]
发表于 2011-11-27 09:23 |只看该作者
楼主说的情况遇见过,系统需要重启,重启之后有些服务就直接OK。
这是因为当vfstab表某些项有问题时,系统进入一个不完整多用户模式,一些系统服务是怎么也打不开的,重启万能。

论坛徽章:
0
7 [报告]
发表于 2011-11-27 11:29 |只看该作者
回复 6# sun_chongqing

恩,确实跟你说的是一样的。

论坛徽章:
0
8 [报告]
发表于 2011-11-28 17:25 |只看该作者
check if any of the following services are in maintenance:

#  svcs -a | grep filesystem
online         2010     svc:/system/filesystem/root:default
online         2010     svc:/system/filesystem/usr:default
online         2010     svc:/system/filesystem/minimal:default
online         2010     svc:/system/rmtmpfiles:default
online         2010     svc:/system/filesystem/local:default

"svcadm clear SERVICE" after /etc/vfstab fixed and all the file systems mounted. After file system services are all OK, check the other services depending on the filesystem services are up by "svcs -a".


Anyway, reboot could be an option.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP