Hello Arsen,

Arsen Kamensky:
> I trying to create diskless network bootable station with aufs root. I 
> using 2.6.27-gentoo-r7 and aufs 2-standalone.tree-27

I need to confirm its version.
Please show me the output of "head aufs2-standalone.git/ChangeLog".


> It happens when samba accessing (at least) /var/cache/samba/ and 
> /var/lib/samba/private/. Then samba halts. If something mounted over 
> there (tmpfs, other NFS, etc.), it works fine.

We need to find the simple way to reproduce the problem. You may already
know that. It happens when you access /var/cache/samba or
/var/lib/samba/private from smb client, right? If so, please try strace
to your smbd. Your system may have several smbd daemons, so you may need
to execute strace for every smbd.

I will try reproducing the problem on my test environment. But it may
take some time. If you can, please test these.
- without aufs.
  mount nfs readwrite which contains /var/cache/samba and
  /var/lib/samba/private.
  export the nfs via samba.
  access it from smb client.

- with aufs and readonly nfs.
  mount nfs and aufs as you do currently.
  mount tmpfs (or something) as /tmp/w.
  mkdir -p /tmp/w/var/{cache/samba,lib/samba/private}
  prepend /tmp/w to your aufs.
  set nfs branch readonly.
  export aufs via samba.
  access it from smb client.


J. R. Okajima

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

Reply via email to