- 论坛徽章:
- 0
|
本帖最后由 m@qintoshi 于 2010-05-17 15:20 编辑
- Server: WD_Svr
- --------------------------------------------------------------------------------------------------
- # pwd
- /export/home/WodServer
- # ls -lp
- total 4
- -rwxrwxrwx 1 wod nobody 174 Nov 25 2008 local.profile
- drwxrwxrwx 6 wod nobody 512 May 17 09:17 Projects/
- #
- --------------------------------------------------------------------------------------------------
- # more /etc/dfs/dfstab
- # Place share(1M) commands here for automatic execution
- # on entering init state 3.
- #
- # Issue the command 'svcadm enable network/nfs/server' 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 -d "WD_Svr4wd_clientA" /export/home/WodServer
- share -F nfs -o rw -d "wd_data4charie" /export/home/wd
- --------------------------------------------------------------------------------------------------
- ********************************************************
- ********************************************************
- Client: WD_ClientA
- ---------------------------------------------------------------------------------------------------
- # pwd
- /export/server_wd/wdsvr
- # ls -lp
- total 4
- drwxrwxrwx 6 world nobody 512 May 17 09:17 Projects/
- -rwxrwxrwx 1 world nobody 174 Nov 25 2008 local.profile
- ---------------------------------------------------------------------------------------------------
- #
- # more /etc/vfstab
- #device device mount FS fsck mount mount
- #to mount to fsck point type pass at boot options
- #
- ... ...
- ... ...
- /dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /export/home ufs 3 yes -
- /dev/dsk/c0t1d0s3 /dev/rdsk/c0t1d0s3 /export/home2 ufs 3 yes -
- data_guppy:/export/home/data_guppy - /export/guppy/wd_server nfs - yes rw,bg
- WD_Svr:/export/home/WodServer - /export/wd_svr/wdsvr nfs - yes rw,bg
复制代码 |
|