Monday, January 13, 2014

Mount A linux drive

on the server
yum install nfs-utils nfs-utils-lib

chkconfig nfs on 
service rpcbind start
service nfs start

vi /etc/exports

add the following line
/home           12.33.44.0/24(rw,sync,no_root_squash,no_subtree_check)


/home is the shared folder 

12.33.44.0 allowed ips
/24 subnet mask

service nfs restart

on the clinet

 mount 192.168.133.133:/home /home

192.168.133.133 server ip
/usr/local server folder

 /usr/local where to mount 

No comments:

Post a Comment