James Pearson wrote:
> In case anyone is interested, I've worked out what had been causing my
> problem - it wasn't an autofs problem as such, but the fact that the
> server crashed just after a client automounted one of it's disks - which
> meant that although the file /var/lib/nfs/rmtab had been updated on the
> server, the data hadn't been written to disk, so when the server
> rebooted, rpc.mountd had no record of the client, so the client gets
> 'Permission denied' when it tries to access the mount point.
>
> The situation has been improved by changing rpc.mountd to force a sync
> of /var/lib/nfs/rmtab after it has been updated - see:
>
Gotta love race conditions.
-hpa