On Fri, Apr 29, 2011 at 02:17:35AM +0900, sf...@users.sourceforge.net wrote: > > Oleg: > > On Thu, Apr 28, 2011 at 11:55:21PM +0900, sf...@users.sourceforge.net wrote: > > > I guess there exists a whiteout for the old name in the upper branch. > > > > Can I fix this with auchk? > > Unfortunately I don't understand your problem or what you want to solve. > Do you want unlink(2) and rmdir(2) in aufs to remove the same named > files on all writable branches?
For example. ~# ls -l /home/ftp/sdg1/pub drwxr-xr-x 6 repop repop 4096 Sen 26 2010 test_dir ~# ls -l /home/ftp/sdk1/pub drwxr-xr-x 6 repop repop 4096 Apr 18 2010 test_dir ~# ls -l /home/ftp/sdl1/pub drwxr-xr-x 6 repop repop 4096 Apr 18 2010 test_dir ~# cd /pub/pub # mv test_dir test-dir # # ls -l /home/ftp/sdg1/pub drwxr-xr-x 6 repop repop 4096 Sen 26 2010 test-dir # ls -l /home/ftp/sdk1/pub drwxr-xr-x 6 repop repop 4096 Apr 28 2010 test_dir drwxr-xr-x 6 repop repop 4096 Apr 28 2010 test-dir # ls -l /home/ftp/sdl1/pub drwxr-xr-x 6 repop repop 4096 Apr 28 2010 test_dir drwxr-xr-x 6 repop repop 4096 Apr 28 2010 test-dir Is this normal? May be I can send any aufs debug info for precise information? > > If so, I don't think aufs will have such feature since the effective (or > meaningful) file is topmost only in aufs. Other lower files are simply > ignored. > And I don't think auchk will not detect/fix such situation since it is > totally legal. > But aubrsync (actually it is rsync) script with some options from rsync > may help you. Just my guess. > > > J. R. Okajima > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd