solaris nfs设置的三个部分(1)(4)
关于mount options的参数,请用 man mount 自己看看吧.
3、5 手工调试命令.
# mountall
不带任何参数,安装所有列在/etc/vfstab文件中mount at boot中为yes的资源.
# mountall -r 只影响远程文件
# mountall -l 只影响本地文件
# umountall
不带任何参数,谢载已经安装的资源.不包括/ 、/proc、/usr、/var.另外,系统忙,也可能不会卸载.
# umountall -r 只影响远程文件
# umountall -l 只影响本地文件
solaris nfs设置小节:
到这里我想应该没有什么问题了.
大家只要注意一下客户端和服务器端的区分.
nfs服务器端运行守侯进程mound、nfsd
nfs服务器端使用文件/etc/dfs/dfstab、/etc/dfs/sharetab、/etc/rmtab
nfs服务器使用命令是:share unshare shareall unshareall
nfs客户端运行守侯进程statd、lockd.
用到的文件是/etc/vfstab、/etc/mnttab
nfs客户机使用命令是:mount umount mountall umountall
知道这些,就ok了.
solaris nfs设置FAQ :
1、运行mount命令不能得到共享资源,得到信息:"nfs server not responding".
answer:确信服务器上nfsd和mountd已经运行,资源已经用共享命令正确共享.
2、当我企图共享到本地磁盘时,错误为:"mount:/tmp_mount not found".
answer: 你有没有在本地创建mount点...
评论暂时关闭