On 2013-03-17 09:50, Neha Ranawade wrote:
I found earlier version of unionfs (1.X) have
export operations included, but latest version doesn't include it. Is
there any reason for removing NFS support from later version?
I was not part of the developer team, but I understand that unionfs NFS
export must be tricky.
But unionfs does not appear to be well-maintained anymore, so unless you
are already running a unionfs kernel and never plan to update it beyond
Linux-3.3, after which unofficial, but unstable unionfs patches exist
for 3.4 and 3.5, and nothing beyond that, I'd recommend to use another
union file system.
Aufs (another union filesystem), a rewrite of unionfs which uses a
unionfs-compatible mount syntax, so it can be used to replace unionfs,
is an option which has an configuration option to enable NFS-exporting
with current kernel versions.
Because of oopses when underlaying layers changed with the unofficial
patches for Linux-3.4, and and since other alternatives like overlayfs
(apparently no defined behaviour when underlying file system layers
change) and unionfs-fuse (user space file system) were ruled out, my
team switched to aufs for supporting Linux-3.4.
Besides, you can NFS-export any local file system using the user-space
NFS daemon which runs as a regular process and can export anything it
sees as a process:
http://unfs3.sourceforge.net/
This user-space NFS daemon was the Linux NFS server solution before a
kernel-space NFS server was implemented inside the Linux Kernel, it is
stable, and it cannot be as fast as the in-kernel NFS server, it does
not lag too far behind.
--
*Bernhard Kaindl*
PS: Links:
Unionfs patches which I tried for 3.5 (and and for 3.4)
https://github.com/init6/init_6/blob/master/sys-kernel/geek-sources/files/3.5.7/mageia/fs-unionfs-2.5.11_for_3.5.0.patch
https://github.com/init6/init_6/blob/master/sys-kernel/geek-sources/files/3.5.7/mageia/fs-unionfs-2.5.11_for_3.4.0-buildfix.patch
(also used for 3.5.x)
https://github.com/init6/init_6/blob/master/sys-kernel/geek-sources/files/3.5.7/mageia/fs-unionfs-3.5.1-buildfix.patch
https://github.com/init6/init_6/blob/master/sys-kernel/geek-sources/files/3.5.7/mageia/fs-unionfs-2.5.3-oops.patch
https://github.com/init6/init_6/blob/master/sys-kernel/geek-sources/files/3.5.7/mageia/fs-unionfs-buildfix.patch
unionfs-fuse - simply a program exporting a file system (which can be
exported too) - if the kernel has fuse support, no kernel compile is needed:
http://podgorny.cz/moin/UnionFsFuse
**
_______________________________________________
unionfs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs