[Unionfs] Can't mount NFS-exported union anymore in unionfs-1.4

hooanon05 at yahoo.co.jp hooanon05 at yahoo.co.jp
Fri Nov 24 06:34:52 EST 2006


Wilhelm Meier:
> > The imap option is necessary to nfsd.
> 
> Really? In the past versions it worked reliable without imap as ro-filesystem.

In last May or June, there was a bug report to this ML and I rewrite
exporting code. But attentions needs to be paid to this code and I had
written some mails about that.


> But there was a warning. I ignored it in the first place, disabling -Werror in 
> the Makefile:
> 
>   CC [M]  /root/unionfs-1.4.nfs-permission-denied/persistent_inode.o
> /root/unionfs-1.4.nfs-permission-denied/persistent_inode.c: In 
> function 'verify_reversemap':
> /root/unionfs-1.4.nfs-permission-denied/persistent_inode.c:214: warning: 
> passing argument 1 of 'd->d_sb->s_op->statfs' from incompatible pointer type

I will check it later.


> The filesystem /tftproot contains both branches for my 
> union: /tftproot/gentoo_A (ro) and /tftproot/gentoo_Bdiff (rw). So I need 
> only a forward map and one reversemap.

The reverse map is required per a branch. You need TWO revmaps.
I am not sure this option is the cause of your problem, but please try
TWO revmaps first.
And check these mails please.
http://www.fsl.cs.sunysb.edu/pipermail/unionfs/2006-August/004755.html
http://www.fsl.cs.sunysb.edu/pipermail/unionfs/2006-August/004756.html


Junjiro Okajima


More information about the unionfs mailing list