nfs in AIX
server side:
1. Starting nfs service #mknfs –N
2. Starting nfs daemons #startsrc -g nfs /startsrc -s nfsd
3. Editing /etc/exports file for mentioning the file to share for client.or exportfs -i /test (for temp.)
Ex: 1. #vi /etc/exports
2. /test (fs/file to share with client)
3.: wq!
4. Exporting fs #exportfs or #/usr/sbin/exportfs –a
5. Check fs has been exported #showmount -e servername
Client Side:
1. Creating mt. point #mkdir /test
2. Mounting the remote fs. #mount 10.11.80.14:/test /test
10.11.80.14 — remote server ipaddress.
/test — fs shared by server
/test — mt pt.for the client to access the nfs shared fs.
Or go to smitty #smitty mknfsmnt
3. Check for mounted fs #df -g
4. Go into the dir. #cd /test
5. List the file. #ls
Now we can access and modify the file from the server Based on the file permission and nfs share permission (Where we make entry in. — step 3 on server side)
6. (Optional) edit the /etc/filesystems file and
put entry for mounting the fs while booting.
0 Responses to “nfs in AIX”