Solaris nfs exporting

1. Prepare dir for sharing, (assume "ws" for group member, "tmp" for everyone):

cd /export/home
mkdir ws tmp
chown matt:staff ws
chown root:root tmp
chmod 750 ws
chmod 777 tmp
chmod +t tmp

2. edit /etc/dfs/dfstab, append:

share -F nfs -o rw -d "workspace" /export/home/ws
share -F nfs -o rw -d "tmp" /export/home/tmp

3. use command shareall and unshareall to share/unshare all resources mentioned in /etc/dfs/dfstab, use command share to show current sharing resources

0 Comments so far

  1. There are currently no comments.
Leave a Comment?


« Word 排版要略  —  Solaris crontab 的用法 »

Tags

Blogroll

Fairy World | STUPiD | 阅微草堂 | ShelleX | 流浪五天