do_mount_autofs_direct: failed to create mount directory ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

I have problems "submounting" a share when using direct mounts. Given the following automounter tables:

/etc/auto.master:
-----------------------------------
/-  /etc/auto.groups


/etc/auto.groups
-----------------------------------
/groups/group1/int        server:/export/group1
/groups/group1/int/svc/a  server2:/export/service_a
/groups/group2/int        server2:/export/group2
/groups/group3/int        server:/export/group3
[... ca. 100 entries here ...]


/groups/group1/int/svc/a is not mounted and I get the error message "do_mount_autofs_direct: failed to create mount directory /groups/group1/int/svc/a" on any host which doesn not have root permissions (no_root_squash) on server:/export/group1 (which is on 99% of all clients).

The directory "svc/a" has been created on server:/export/group1, so there is no need to recreate it.

There are additional subdirectories in /groups/group1/int/svc/ which directly reside on server:/export/group1. Only "a" need to be mounted from a second location.


Can this be solved with direct mounts? How? We would prefer to use direct mounts, as this has shown to create the least problems when dynamically changing the mount tables (no automounter restart is required). However I would not have a problem to use some indirect mount mechanism for /groups/group1/int/svc/a as long as the main /groups/groupN/int can stay in a direct mount table.

Any help or hint is appreciated.

Cheers, Frank



[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux