- 论坛徽章:
- 0
|
我查看拉我的/etc/dfs/dfstab
这是其中的内容"
# Place share(1M) commands here for automatic execution
# on entering init state 3.
#
# Issue the command '/etc/init.d/nfs.server start' to run the NFS
# daemon processes and the share commands, after adding the very
# first entry to this file.
#
# share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
# .e.g,
# share -F nfs -o rw=engineering -d "home dirs" /export/home2
share -F nfs -o rw=10.243.21.20,root=10.243.21.20 /data1/upload
"
/data1/upload的确是不存在拉
所以我就
#share -F nfs -o rw=10.243.21.20,root=10.243.21.20 /data1/upload
注释了这一行,然后在执行
/etc/rc3.d/S15nfs.server start
这时只有一个错误
NFS service was not started because /etc/dfs/dfstab has no entries.
然后我就在/etc/dfs/dfstab
中加上拉一项:
share -F nfs -o rw=10.243.21.20,root=10.243.21.20 /opt/lijie/214bak
再次执行
/etc/rc3.d/S15nfs.server start
就OK拉
现在问题是etc/dfs/dfstab 中为什么一定必须有一条share记录呢??
etc/dfs/dfstab只是一个存放数据的地方,而NFS是一个功能,即处理数据
数据也许存在否,实在不应该影响处理数据的功能阿??感觉象个bug
也许是我的理解误差拉?幼稚否?? |
|