Chinaunix

标题: solaris重新读取/etc/vfstab文件 [打印本页]

作者: 雪剑20    时间: 2011-11-25 14:52
标题: solaris重新读取/etc/vfstab文件
刚才修改了下/etc/vfstab文件,虽然进入系统了,但是一些服务被关闭了。
   我现在重新修改好了该文件,请问可以在不重启的情况下重新读取吗?
作者: 财版    时间: 2011-11-25 15:22
回复 1# 雪剑20


    /etc/vfstab不是umount 和mount就可以吗?
作者: brucewoo_cu    时间: 2011-11-25 16:07
/etc/vfstab一般只和文件系统有关
作者: cwnlinux    时间: 2011-11-25 17:30
/etc/vfstab  只和文件系统有关,手动umount和mount一下就行了,不需要重启的。
作者: ericyan_cu    时间: 2011-11-26 21:01
和服务有关吗?/etc/inetd.conf 这个才有关吧
作者: sun_chongqing    时间: 2011-11-27 09:23
楼主说的情况遇见过,系统需要重启,重启之后有些服务就直接OK。
这是因为当vfstab表某些项有问题时,系统进入一个不完整多用户模式,一些系统服务是怎么也打不开的,重启万能。
作者: 雪剑20    时间: 2011-11-27 11:29
回复 6# sun_chongqing

恩,确实跟你说的是一样的。
作者: chinaux    时间: 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.




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2