Bug 6038 - failed: No such file or directory (2)
Summary: failed: No such file or directory (2)
Status: RESOLVED WORKSFORME
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 2.6.6
Hardware: Other Windows XP
: P3 major (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-15 09:49 UTC by Jay
Modified: 2010-03-17 02:43 UTC (History)
0 users

See Also:


Attachments
Patch to ignore "delete of stat xattr" failures on symlinks (633 bytes, patch)
2009-07-14 22:00 UTC, William Throwe
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jay 2009-01-15 09:49:44 UTC
Currently we are using rsync to backup our critical information to a hard drive connected to a remote computer. There are two main folders, one of them works and the other does not. When I try to rsync the second one I get the following errors.

rsync: recv generator: mkdir "/mnt/usb_hd/bigmama_bak/ccdevel/attachments/tickets/112" failed: No such file or directory (2)

rsync: stat "/mnt/usb_hd/bigmama_bak/ccdevel/attachments/tickets/112" failed: No such file or directory (2)
Comment 1 Matt McCutchen 2009-01-15 10:53:03 UTC
Rsync won't create ancestors of the destination directory; this may be what you're seeing.  Please post your rsync command.
Comment 2 Jay 2009-01-15 12:21:39 UTC
 the command im using is

rsync -zavPot /critical/svn_trac/trac/ ssh ktc@24.56.242.128:/mnt/usb_hd/bigmama_bak
Comment 3 Matt McCutchen 2009-01-15 17:55:16 UTC
The problematic directory is inside the destination, so rsync should have been able to create it.

- Do you get any other error messages?

- What is the nearest ancestor of /mnt/usb_hd/bigmama_bak/ccdevel/attachments/tickets/112 that exists on the destination?

- Please strace the receiving end using the rsync-debug script from http://rsync.samba.org/issues.html and attach the output to this bug, or email it to Wayne or me if it is big or private.
Comment 4 William Throwe 2009-07-14 22:00:28 UTC
Created attachment 4417 [details]
Patch to ignore "delete of stat xattr" failures on symlinks
Comment 5 William Throwe 2009-07-14 22:02:03 UTC
(In reply to comment #4)
> Created an attachment (id=4417) [details]
> Patch to ignore "delete of stat xattr" failures on symlinks
> 

Whoops, wrong bug.  Sorry.
Comment 6 Matt McCutchen 2010-03-17 02:43:34 UTC
Closing due to lack of response.  Feel free to open if you can provide the information requested in comment #3.