Automount Netapp NFS shares on Linux with AUTOFS
Hi All,
We have a NFS share provided via Netapp Filer /vol/Testvol I want to use autofs to mount that on a Linux System RHEL 3 I have configure the /etc/auto.master like this, /mnt /etc/auto.misc then the /etc/auto.misc TestVol -fstype=nfs,-rw,nosuid filerID:/vol/Testvol So as per the config the share should get mounted on /mnt/Testvol right ? when I restart the autofs service no error comes but, nothing gets mounted if I give mount then I see instead of /mnt/TestVol, /mnt is mounted on the Share and ls /mnt is EMPTY!!, Then I try to create a directory , But I get the permission denied errors , Please help me on this Regards, |
Never had much luck in the auto stuff. I would make the directory manually. Then add a line to fstab to the share but set it to noauto for the mount since networking will not be up before the /etc/fstab is run. Then in the /etc/rc.local add the mount command to manually mount the NFS like a normal mount. Use the full path to the mount command also. Last you may have to set permissions for the user to use.
Brian |
|
All times are GMT -5. The time now is 07:26 PM. |