NFS still exports non-mountpoints with mountpoint= option /etc/exports

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

 



In reading man exports, it seems that the 'mountpoint=' option would
be of use to me exporting mounts from an external HDD on my NFS
server.  I am finding that despite the fact that the export I defined
is not a mountpoint, it is still exported.  My distro is Arch Linux
running the distro provided nfs-utils-2.1.1-4.  Perhaps I do not have
the syntax correct or one of the other options I am defining is
overriding?

Example:
 % cat /etc/exports
 /srv/nfs      10.1.10.0/24(ro,fsid=root,no_subtree_check)
 /srv/nfs/ATV4 10.1.10.0/24(ro,no_subtree_check,insecure,mountpoint=/srv/nfs/ATV4)

I have /srv/nfs/ATV4 bind mounted to the actual /mnt/nas/ATV4 on the
external media.

On my filesystem, /srv/nfs/ATV4 is literally an empty directory:
 % mountpoint /srv/nfs/ATV4
 /srv/nfs/ATV4 is not a mountpoint

% showmounts -e
 Export list for test:
 /srv/nfs           10.1.10.0/24
 /srv/nfs/ATV4      10.1.10.0/24
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux