Hi,

Am Dienstag, 15. April 2008 16:08:25 schrieb [EMAIL PROTECTED]:
> Andreas Bsching:
> > done, trace is attached.
>
> Thank you.
> But I could not anything wrong in this trace.

And again I forget to explain something :-(

The trace contains the try to rename dir1/dir6 to dir1/dir6.new. The current 
direcitry structure shows:

[EMAIL PROTECTED]:~# find /union/ /branch_rw /branch_ro/ | grep dir6
/union/dir1/dir6
/union/dir1/dir6/file1
/union/dir1/dir6/file2
/branch_ro/dir1/dir6
/branch_ro/dir1/dir6/file1
/branch_ro/dir1/dir6/file2

dir1/dir6 is just found in /branch_ro

> Aufs doesn't support this case and print a kernel warning such like,
> aufs may_rename_srcdir:425:smbd[5216]: renaming dir who has child(ren)
> on multiple branches, is not supported
> Please check your syslog or something.

Ok this error message exists, but dir6 is just found on /branch_ro. 

aufs may_rename_srcdir:401:smbd[14721]: renaming dir who has child(ren) on 
multiple branches, is not supported

And the trace contains the following:

rename("dir1/dir6", "dir1/dir6.new")    = -1 EXDEV (Invalid cross-device link)

> In this case, aufs returns EXDEV error, and I could see this error
> (NT_STATUS_NOT_SAME_DEVICE) on my test environment (samba 3.0.24).
> I don't know why you received 'permission denied', but it might be a
> behaviour of your smb client.

smb client == Windows XP ;-)

If I understand this correctly aufs can not move directories if they exist 
in /branch_ro and /branch_rw. Is this correct?

regards
Andreas

-- 
** Besuchen Sie uns auf dem LinuxTag vom 28.-31. Mai 2008 in Berlin **

Andreas Büsching   <[EMAIL PROTECTED]>     fon: +49 421 22 232- 0
Entwicklung        Linux for Your Business
Univention GmbH    http://www.univention.de/     fax: +49 421 22 232-99

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

Reply via email to