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

Wilhelm Meier wilhelm.meier at fh-kl.de
Fri Nov 24 11:29:40 EST 2006


Am Freitag, 24. November 2006 16:05 schrieb Michael Creel:
> hooanon05 at yahoo.co.jp wrote:
> > Michael Creel:
> >> I was successfully exporting a unionfs share without the imap option
> >> using ver. 1.3. Is the necessity something new with ver. 1.4? I was
> >> unable to export using 1.4 using the patch Wilhem Meier posted the other
> >> day, but I didn't try the imap option.
> >>
> >> I'm willing to do some testing if I can get step-by-step instructions of
> >> what to try.
> >
> > Without imap option, the inode number may be changed silently and
> > unexpectedly. After changing, nfs daemon will not work correctly and
> > produce an error.
>
> I tried to compile unionfs 1.4 adding -DUNIONFS_IMAP in the fistdev.mk
> file, but the unionfs.ko module wouldn't compile. I'm not sure that I'm
> attempting to compile in the correct way, though. 

Do you use a vanilla 2.6.18 kernel?

Did you apply Junjiros last patch? Here it is again:

Index: persistent_inode.c
===================================================================
RCS file: /home/cvs/unionfs/unionfs/persistent_inode.c,v
retrieving revision 1.36
diff -u -p -r1.36 persistent_inode.c
--- persistent_inode.c  8 Jul 2006 17:58:31 -0000       1.36
+++ persistent_inode.c  24 Nov 2006 12:03:16 -0000
@@ -211,7 +211,7 @@ static int verify_reversemap(struct supe
 
                        d = hidden_root_info->udi_dentry[bindex];
 
-                       err = d->d_sb->s_op->statfs(d->d_sb, &st);
+                       err = d->d_sb->s_op->statfs(d, &st);
                        if (err)
                                goto out;
 



> Some step by step 
> instructions would be welcome. My first concern is just to get the export
> to mount at all.
>
> > Is your CONFIG_EXPORTFS defined as module, or static? The patch I
> > mentioned a few days ago depends upon its definition.
>
> As a module.
>
> Thanks, Michael
>
> > Junjiro Okajima
> > _______________________________________________
> > unionfs mailing list
> > unionfs at mail.fsl.cs.sunysb.edu
> > http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

-- 
Wilhelm Meier
email: wilhelm.meier at fh-kl.de



More information about the unionfs mailing list