Project

General

Profile

Actions

Bug #3324

closed

Re: DragonFly automountd NFS mounting broken

Added by tkusumi over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
09/05/2022
Due date:
% Done:

0%

Estimated time:

Description

Right now when I try using autofs to automount NFS shares it fails each
time with the same error. Can't tell when it was definitely working, but
that was more then a month ago:

<snip>

Probably this has something to do with automountd indirect directories,
that's why direct mounts are not working.

I don't have any issue with automount with indirect map.

Also note that these intermediate directories in indirect map have nothing to do with autofs itself.
These are just regular directories in parent directory's filesystem.

# cat /etc/auto_master
# $FreeBSD$
#
# Automounter master map, see auto_master(5) for details.
#
#/net           -hosts          -nobrowse,nosuid,intr
# When using the -media special map, make sure to edit devd.conf(5)
# to move the call to "automount -c" out of the comments section.
#/media         -media          -nosuid,noatime
#/-             -noauto
/mnt/a/b/c/d/e          auto_nfs
# cat /etc/auto_nfs
NFS -intr,nfsv3 192.168.0.123:/mnt/exports
# automount -L
/mnt/a/b/c/d/e                                  auto_nfs             # indirect map referenced at /etc/auto_master:10
# mount | grep autofs
map auto_nfs on /mnt/a/b/c/d/e (autofs)
# mount | grep automounted
# tree /mnt/a > /dev/null    <------ this is where a/b/c/d/e are mkdir'ed before automount
# mount | grep automounted
192.168.0.123:/mnt/exports on /mnt/a/b/c/d/e/NFS (nfs, automounted)
Actions

Also available in: Atom PDF