autofs: Best option for usecase where one need to group servers
Hi,
We have a great number of RHEL-servers exporting NFS-shares, which we today mount using traditional NFS mounting in /etc/fstab. Most of the shares are accessed only once in a while, so I though we'd migrate to autofs. We have frequent problems of NFS shares hanging, so it's important that we try to reduce this issue. We need to mount the shares in a folder structure such as: /somewhere/environment/servername/share1 /somewhere/environment/servername/share2 example: Code:
/var/www/html/environment1/server1/share1 So to my knowledge the best option would be to use regular direct mounts, which is very close to how /etc/fstab works. Any thoughts on this approach? And any thought on how to reduce NFS share hang issues - maybe setting a really low retry value? Best regards, kenneho |
i prefer autofs to standard fstab for mounting NFS shares for the simple facts you mentioned. keep in mind to add a few options to your autofs files:
Code:
$ cat /etc/auto.NFS |
All times are GMT -5. The time now is 07:41 PM. |