Monday, September 24, 2012


Configure NFS server:
 
   Set up NFS server linux machine:
   
    NFS server machine ip address is 10.1.10.100
 we have to configure /etc/export entry as follows in NFS server machine:

root@sundar:~# cat /etc/exports | grep "/u"
/u       10.1.10.20(rw,sync,no_subtree_check)


NFS client machine [10.1.10.20] can access the NFS server's u folder with read write access:

/u       10.1.10.20(rw,sync,no_subtree_check)

   

To mount NFS in NFS client:

root@sundar:~# mount -v -t nfs 10.1.19.100:/u /mnt
mount.nfs: timeout set for Mon Sep 24 12:37:05 2012
mount.nfs: text-based options: 'addr=10.1.10.100'
10.1.10.100:/u on /mnt type nfs (rw)
++++++++++++++
 afterwards copy using
cp /mnt/file destPath

Current /etc/export entry:

+++++++++++
root@sundar:~# cat /etc/exports | grep "/u"
/u       10.1.10.20(rw,sync,no_subtree_check)
+++++++++++


Labels: ,

0 Comments:

Post a Comment

<< Home