Red Hat Bugzilla – Bug 421581
Problem with nfs mounts of bind mounted directories
Last modified: 2014-06-18 03:37:14 EDT
On my server I have a hard disk partition mounted on /data. In this partition I
have a directory /home with all of the users files.
The /data/home directory is mounted using the --bind option to /home.
On a client system I can NFS mount /home and /data from the server.
However the clients /data directory ends up being actually a mount
of /home !
This worked fine under FC6.
There is a kernel message on the server:
mountd: /home and /data have same filehandle for *.kingnet, using first
This seems like a bug to me ...
Steps to Reproduce:
1. Mount using --bind a partitions subdirectory to somewhere.
2. Export both mount points.
3. On a client mount both mount points.
> There is a kernel message on the server:
> mountd: /home and /data have same filehandle for *.kingnet, using first
This is because the "device" portion of the filehandle is coming from the same
info on this filesystem. If you apply different "fsid=" options to both exports,
does that work around this problem?
i.e.: give /home "fsid=1", and /data "fsid=2"
see exports(5) for more info on the fsid= option...
No response in several months. Closing as NOTABUG.