solaris重新读取/etc/vfstab文件
刚才修改了下/etc/vfstab文件,虽然进入系统了,但是一些服务被关闭了。我现在重新修改好了该文件,请问可以在不重启的情况下重新读取吗? 回复 1# 雪剑20
/etc/vfstab不是umount 和mount就可以吗?:em27: /etc/vfstab一般只和文件系统有关 /etc/vfstab只和文件系统有关,手动umount和mount一下就行了,不需要重启的。 和服务有关吗?/etc/inetd.conf 这个才有关吧 楼主说的情况遇见过,系统需要重启,重启之后有些服务就直接OK。
这是因为当vfstab表某些项有问题时,系统进入一个不完整多用户模式,一些系统服务是怎么也打不开的,重启万能。 回复 6# sun_chongqing
恩,确实跟你说的是一样的。 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.
页:
[1]