Autofs of samba and nfs

1. yum install autofs
2. yum install nfs-utils smb-client

edit
1. vi /etc/auto.master
/mnt/smb    /etc/auto.smb
/mnt/nfs    /etc/auto.nfs

2. vi /etc/auto.smb
direcoty-name     -fstype=cifs,username=NULL,password=NULL  ://IP-Addr/shared-path

3. vi /etc/auto.nfs
directory-name  -rw,bg,soft,rsize=32768,wsize=32768    ip-addr/shared-path

 

Leave a comment

Your comment


Warning: Undefined variable $user_ID in /var/www/sites/wordpress/wp-content/themes/librio/comments.php on line 67