雪剑20 发表于 2011-11-25 14:52

solaris重新读取/etc/vfstab文件

刚才修改了下/etc/vfstab文件,虽然进入系统了,但是一些服务被关闭了。
   我现在重新修改好了该文件,请问可以在不重启的情况下重新读取吗?

财版 发表于 2011-11-25 15:22

回复 1# 雪剑20


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

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.
页: [1]
查看完整版本: solaris重新读取/etc/vfstab文件