Re: client side see wrong directory entries with nfs_export on overlayfs

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

 



On 03/28/2018 06:15 AM, Jeff Layton wrote:
Long, long ago, the fsid for the export was almost always determined by
the device major/minor tuple. That became really problematic whenever
devices got reordered after adding a disk to the system and rebooting.
So, Neil Brown added the ability to determine the fsid from the
libblkdev uuid (see nfs-utils commit e91ff0175602c, and kernel commits
from around that time).


I recently got burned by this because it appears that bind-mounted XFS exports are somehow different from bind-mounted ext4 exports? I.e. I was able to export one bind mounted filesystem (under an NFS4 root export) with no fsid, but when I tried to add another one (also a bind mount under the same root), the export failed in an odd way. The only difference was in the first case the underlying filesystem was ext4 and the other XFS. I'll post a question about this later, but for now ...

This seems like bad design. Wouldn't it make more sense to require that an fsid be assigned to all exports? Then there's no question in the user's mind of do I need an fsid or don't I?




--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux