Thank you for looking into this.
   My branches -
   root@U1204-32-BS:~# cat /sys/fs/aufs/si_3532123f/br*
   /proj/[1]5.113.79.8/.scratch=rw
   /proj/[2]5.113.79.8/.isoMounts/1790_SGF_Game_TreasuresOfOlympus_V2LinuxDev.i
   so=ro
   /proj/[3]5.113.79.8/.isoMounts/OS.NVIDIA-GF8.FIELD.2.0.168.0.iso=ro
   /proj/[4]5.113.79.8/.isoMounts/OS.SYSTEM.FIELD.2.0.168.0.iso=ro
   /proj/[5]5.113.79.8/.isoMounts/117_binLinuxDev.iso=ro
   /proj/[6]5.113.79.8/.isoMounts/113_SGFLinuxDev.iso=ro
   /proj/[7]5.113.79.8/.isoMounts/1937_EGMOpenSourceLicensesLinuxDev.iso=ro
   /proj/[8]5.113.79.8/.isoMounts/114_ThirdPartyLinuxDev.iso=ro
   /proj/[9]5.113.79.8/.isoMounts/322_GDK_V4_2LinuxDev.iso=ro
   /proj/[10]5.113.79.8/.isoMounts/115_GameSystem_V4LinuxDev.iso=ro
   /proj/[11]5.113.79.8/.isoMounts/116_GDK_V4_1LinuxDev.iso=ro
   /proj/[12]5.113.79.8/.isoMounts/OS.DEVELOP.FIELD.2.0.168.0.iso=ro
   All  of the ro branches are mounted from an NFS share. Maybe the extra
   latency associated with the NFS share has something to do with the issue.
   The file which is causing the "text file busy" error for me is coming form
   /proj/[13]5.113.79.8/.isoMounts/114_ThirdPartyLinuxDev.iso=ro,whichisfrom
   the NFS mount.
   proc is mount --binded into the chroot filesystem
   /proc on /proj/[14]5.113.79.8/devenv/proc type none (rw,bind)
   On the Ubuntu 12.04 version of AuFS, we do not see these errors. Here is the
   AuFS version from the 12.04 Ubuntu install.
   root@U1204-32-BS:~# cat /sys/module/aufs/version
   3.2-20120109
   The NFS mount is NFSv3.

   On Thu, Feb 4, 2016 at 1:50 AM, <[15]sf...@users.sourceforge.net> wrote:

     James Burry:
     > I tried the aufs-4.4 Linux tree from git (
     > git://[16]github.com/sfjro/aufs4-linux.git
     > <[17]https://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've tried aufs4.4 too, and succeeded.
     What is the difference between my test case and yours?
     The branch filesystems?
     (from /proc/mounts)
     /dev/ram1 /dev/shm/ro ext2 ro,relatime,errors=continue,user_xattr,acl 0 0
     /dev/ram0 /dev/shm/rw ext3 rw,relatime,stripe=4,data=ordered 0 0
     none /dev/shm/u aufs rw,relatime,si=17c4456a52bd9806 0 0
     (cat /sys/fs/aufs/br[01])
     /dev/shm/rw=rw
     /dev/shm/ro=ro
     $ cd /dev/shm/u
     $ stat -f . ../rw
     Â  File: "."
     Â  Â  ID: 0Â  Â  Â  Â  Namelen: 242Â  Â  Â Type: UNKNOWN (0x61756673)
     Block size: 1024Â  Â  Â  Â Fundamental block size: 1024
     Blocks: Total: 6907Â  Â  Â  Â Free: 6839Â  Â  Â  Â Available: 6430
     Inodes: Total: 2048Â  Â  Â  Â Free: 2016
     Â  File: "../rw"
     Â  Â  ID: d79306e023c4a4a7 Namelen: 255Â  Â  Â Type: ext2/ext3
     Block size: 1024Â  Â  Â  Â Fundamental block size: 1024
     Blocks: Total: 6907Â  Â  Â  Â Free: 6839Â  Â  Â  Â Available: 6430
     Inodes: Total: 2048Â  Â  Â  Â Free: 2016
     $ ldd /bin/sh /bin/bash /bin/chmod /usr/bin/ldd |
     > fgrep -v 'not a dynamic' |
     > sort | uniq |
     > awk '
     > NF == 1 {sub(/:$/, ""); print}
     > NF == 4 {print $3}
     > NF == 2 {print $1}
     > ' |
     > xargs -ri cp -ipu --parent \{\} ../rw/
     $ cat << EOF > a.sh
     > #!/bin/sh
     > echo success
     > EOF
     $ sudo chroot . sh -c "chmod +x a.sh && ./a.sh"
     success
     J. R. Okajima

References

   1. http://5.113.79.8/.scratch=rw
   2. 
http://5.113.79.8/.isoMounts/1790_SGF_Game_TreasuresOfOlympus_V2LinuxDev.iso=ro
   3. http://5.113.79.8/.isoMounts/OS.NVIDIA-GF8.FIELD.2.0.168.0.iso=ro
   4. http://5.113.79.8/.isoMounts/OS.SYSTEM.FIELD.2.0.168.0.iso=ro
   5. http://5.113.79.8/.isoMounts/117_binLinuxDev.iso=ro
   6. http://5.113.79.8/.isoMounts/113_SGFLinuxDev.iso=ro
   7. http://5.113.79.8/.isoMounts/1937_EGMOpenSourceLicensesLinuxDev.iso=ro
   8. http://5.113.79.8/.isoMounts/114_ThirdPartyLinuxDev.iso=ro
   9. http://5.113.79.8/.isoMounts/322_GDK_V4_2LinuxDev.iso=ro
  10. http://5.113.79.8/.isoMounts/115_GameSystem_V4LinuxDev.iso=ro
  11. http://5.113.79.8/.isoMounts/116_GDK_V4_1LinuxDev.iso=ro
  12. http://5.113.79.8/.isoMounts/OS.DEVELOP.FIELD.2.0.168.0.iso=ro
  13. http://5.113.79.8/.isoMounts/114_ThirdPartyLinuxDev.iso=ro
  14. http://5.113.79.8/devenv/proc
  15. mailto:sf...@users.sourceforge.net
  16. http://github.com/sfjro/aufs4-linux.git
  17. https://github.com/sfjro/aufs4-linux.git
------------------------------------------------------------------------------
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=272487151&iu=/4140

Reply via email to