[Unionfs] Re: unionfs 2.2.3 OOPS

Dave Miller justdave at mozilla.com
Tue Jan 29 10:54:22 EST 2008


Luiz Fernando N. Capitulino wrote on 1/29/08 10:05 AM:

> https://bugzilla.filesystems.org/show_bug.cgi?id=604
> 
>  Something I've realized now is that it seems the bug depends on the
> right timing to be triggered. I've put those commands to reproduce it
> in a script and I can't reproduce that bug, but I get a different OOPS
> when rebooting...

I've been experiencing the reboot issue myself...  what appears to 
happen is that the initscript for the nfs client tries to unmount all of 
the NFS mounts during shutdown, however, since the NFS mount is a branch 
of a unionfs, unionfs gets confused when it disappears.  If I unmount 
the unionfs mount first before rebooting then there's no OOPS.
   In thinking about it, I'm not really sure what a good way to fix it 
would be.  unionfs could mark something on the NFS partition as "in use" 
so it won't unmount (and it might do that already) but that would only 
confuse things during shutdown.  I was sort of planning on writing up an 
initscript to umount any unionfs partitions and getting that in position 
to run prior to the equivalent NFS one during shutdown.

-- 
Dave Miller                                   http://www.justdave.net/
System Administrator, Mozilla Corporation      http://www.mozilla.com/
Project Leader, Bugzilla Bug Tracking System  http://www.bugzilla.org/


More information about the unionfs mailing list