Hello Katharina, Katharina Haselhorst: > mount aufs mntaufs -t aufs -o br:mnt1=rw,mnt2=ro > mount -o remount,del:mnt1 mntaufs > umount mnt1 > > result: I can't umount mnt1, because device is busy. lsof gives nothing. > In some cases even after unmounting the aufs filesystem I can't umount mnt1.
Aufs creates the XINO files on the first writable branch by default. These XINO files are always opened. If lsof showed nothing, I guess they made your mnt1 busy. Try "remount,del:mnt1,noxino" or "remount,del:mnt1,xino=/somewhere/else". In cases even after unmounting aufs you could out unmount mnt1, I don't know what was wrong. Did lsof really show nothing in this case too? > If I mount all branches ro into aufs from the beginning, there are no > problems. But the following doesn't work either: When there are no writable branch, aufs choose /tmp for XINO files. So they won't make /mnt1 busy. J. R. Okajima ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev