Stale NFS file handle when using aufs on top of btrfs?

2015-01-27 Thread Dan Kegel
I've been using aufs on top of ext4 reliably for some time. Recently I tried it on top of btrfs (stock Ubuntu 14.04), and my builds are failing in rm -rf with: /bin/rm: cannot remove `/tmp/temp-lintian-lab-h2hbg82XOW/pool/o/oobleck.../unpacked': Directory not empty internal error: failed to

Re: Stale NFS file handle when using aufs on top of btrfs?

2015-01-27 Thread Michael Johnson - MJ
I see very similar behavior (and always have with AUFS) and it is easily reproducible. Here is how to reproduce 100% of the time: $ cd /aufsdir; $ mkdir -p dir1/dir2; $ rm -rf dir1 $ ls ls: cannot open directory .: Stale file handle To mke the error go away: $ cd .

Re: Stale NFS file handle when using aufs on top of btrfs?

2015-01-27 Thread Dan Kegel
... although if it's bug #1, I'm not sure why it just showed up for me with btrfs and not ext4... On Tue, Jan 27, 2015 at 4:03 PM, Dan Kegel d...@kegel.com wrote: Thanks for the short repro script. This prevents debian packaging tools from working; seems like it'd be good to fix it in aufs

Re: Stale NFS file handle when using aufs on top of btrfs?

2015-01-27 Thread sfjro
Michael Johnson - MJ: $ cd /aufsdir; $ mkdir -p dir1/dir2; $ rm -rf dir1 $ ls ls: cannot open directory .: Stale file handle At least, these steps succeeded on my test machine. $ mkdir -p dir1/dir2 $ rm -ir dir1 rm: descend into directory `dir1'? y rm: remove directory `dir1/dir2'? y aufs

Re: Stale NFS file handle when using aufs on top of btrfs?

2015-01-27 Thread sfjro
Dan Kegel: I see that Ubuntu 14.04's using kernel 3.13.mumble, and aufs no longer Is this your Ubuntu 14.04? 2d22fc7 2014-10-09 UBUNTU: Ubuntu-3.13.0-38.65 According to git://kernel.ubuntu.com/ubuntu/ubuntu-trusty.git, it uses aufs3.13-20140303. As always, ubuntu uses old version

Re: Stale NFS file handle when using aufs on top of btrfs?

2015-01-27 Thread sfjro
According to git://kernel.ubuntu.com/ubuntu/ubuntu-trusty.git, it uses aufs3.13-20140303. As always, ubuntu uses old version enough to make it very hard for me suppport. But I am trying, as always, to support and help users. Ah, I might be confused, sorry. If ubuntu-trusty.git is release on