I tried the aufs-4.4 Linux tree from git ([1]git://github.com/sfjro/aufs4-linux.git) I still see these "text file busy" errors. The errors happen in a chroot environment of the aufs mountpoint. I have verified that the errors do not occur in Ubuntu 12.04 (kernel 3.2.0). Do you know of any special consideration for using AUFS in a chroot environment ?
On Tue, Jan 26, 2016 at 2:27 PM, <[2]sf...@users.sourceforge.net> wrote: Hello James, James Burry: > Hello everyone. I am attempting to use aufs with Ubuntu 14.04.3. When I run > the line below in an aufs filesystem, I will intermittently get an error - > "text file is busy" > > chmod +x script.sh && ./script.sh I didn't know such problem. Your kernel, Ubuntu 14.04.3, is modified by ubuntu. For me, it is hard to support non-vanilla kernel, because I am not an ubuntu user and I have to check the modifications made by ubuntu people. If I had enough time, I would try. But unfortunately (or fortunately) I am very busy now. So if you can, try reproducing the problem on the vanilla kernel. > Others have reported a similar issue here - > [3]https://github.com/docker/docker/issues/9547 I saw one guy reported the problem happend with overlayfs. ---------------------------------------------------------------------- luxas commented on Jul 25, 2015 I also had this issue. Using docker 1.7.1 with overlay. Running sync in between fixed it. Thanks! ---------------------------------------------------------------------- I am not sure this is aufs specific problem or not. > I have not seen this error in Ubuntu 12.04.1 with aufs. Is there any known > workaround or patch ? I have tried mounting the underlying ext2 filesystem > with the dirsync option - this did not solve the issue. When I mount with > the sync option the issue seems to go away, but the aufs performance is > very bad. It means that ext2 with sync option is bad, right? J. R. Okajima References 1. https://github.com/sfjro/aufs4-linux.git 2. mailto:sf...@users.sourceforge.net 3. https://github.com/docker/docker/issues/9547
------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140