Auto mount Volume on CentOS


Edit:
/etc/auto.master

/mnt/autofs/cifs /etc/auto.cifs --timeout=300
/mnt/autofs/nfs /etc/auto.nfs --timeout=300

Edit:
/etc/auto.nfs

netapp-vol4 -fstype=nfs,rw,bg,soft,nolock 172.16.1.16:/vol/vol4

Edit:
/etc/auto.cifs

Test -fstype=cifs,username=utente,password=password,iocharset=utf8,file_mode=0555,dir_mode=0555 ://192.168.1.16/Test

service autofs restart

Per verificare che funzioni:
ls -al /mnt/autofs/nfs/netapp-vol4