Hi, I've been trying to export an autofs-mounted filesystem via NFS, but I can't get it to work. Basically when I try to mount such export on the client, mount.nfs gets stuck and never completes.
Autofs seems to work correctly. because after starting the daemon on the server and say, doing a "ls", the filesystem gets mounted correctly and I can access its files. Then I start nfs-kernel-server (when the autofs is already mounted) and it doesn't report any error (also, if I run showmount --exports <host> on the client it correclty shows the export). But when I try to mount it on the client: # mount.nfs -v 192.168.1.125:/media/Elements /media/Elements mount.nfs: timeout set for Wed Dec 19 17:21:27 2012 mount.nfs: trying text-based options 'vers=4,addr=192.168.1.125,clientaddr=192.168.1.128' It gets stuck there until I interrupt it. When I mount the filesystem on the server manually (without autofs) then the NFS export works correctly. Here is my configuration: % cat /etc/auto.master /media /etc/auto.media --ghost +dir:/etc/auto.master.d +auto.master % cat /etc/auto.media Elements -fstype=auto,noatime UUID=xxxxx % cat /etc/exports /media/Elements 192.168.1.0/24(rw,no_subtree_check) Is what I'm trying to do even possible? Cheers P.S. please CC me, since I'm not subscribed to the list. -- perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
signature.asc
Description: Digital signature