- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Rsync warning: some files vanished before they cou...
Operating System - HP-UX
1824881
Members
3741
Online
109675
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2007 10:36 AM
тАО03-01-2007 10:36 AM
We are using rsync to copy a considerable number of files over to our disaster recovery site. We are using rsync because we want the files that have already been transferred skipped. I would like rsync to ignore the files that have already been deleted because such cases will occur. I couldn't find anything that would ignore errors when I ran man on rsync. Any recommendations or solutions would be appreciated.
Thanks,
Alex
Thanks,
Alex
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2007 03:07 AM
тАО03-05-2007 03:07 AM
Solution
Hi Alex,
What's the problem being caused by this? I believe the exit code and message are warnings, the copying doesn't stop when the missing files are encountered.
If you are wrapping 'rsync' in a script, you just need to treat exit code 24 as success.
It's a FAQ here -
http://samba.anu.edu.au/rsync/FAQ.html#10
Andrew
What's the problem being caused by this? I believe the exit code and message are warnings, the copying doesn't stop when the missing files are encountered.
If you are wrapping 'rsync' in a script, you just need to treat exit code 24 as success.
It's a FAQ here -
http://samba.anu.edu.au/rsync/FAQ.html#10
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2007 03:33 AM
тАО03-05-2007 03:33 AM
Re: Rsync warning: some files vanished before they could be transfered (code 24) at main.c(633)
Alex, I don't know exactly what you're asking, but it looks to me like the error is caused by a file that rsync meant to be sent since the rsync began has been deleted before it could be sent. Meaning, that a file has been deleted that needed to be sent - since the rsync has begun. It planned to send the file, but it was taken away (probably) by the application before it was sent over.
How to handle? That depends on whether or not your hot-site needs that file to facilitate a disaster-recovery solution.
If the file is not needed at the hot-site, then I wouldn't worry about it (like say an intermediate temporary report output file used to construct the final report).
If it is needed at the hot-site, then you've got a whole other problem which means that you've got to come up with a system that checks to see that a file is over on the hot-site before it can be deleted from the originating server. The most obvious place to put in the fix would be at the code level of whatever tool is responsible for and performing the delete. Whether or not the delete is actually doable at that level depends on what the deletion mechanism is written in/based on.
How to handle? That depends on whether or not your hot-site needs that file to facilitate a disaster-recovery solution.
If the file is not needed at the hot-site, then I wouldn't worry about it (like say an intermediate temporary report output file used to construct the final report).
If it is needed at the hot-site, then you've got a whole other problem which means that you've got to come up with a system that checks to see that a file is over on the hot-site before it can be deleted from the originating server. The most obvious place to put in the fix would be at the code level of whatever tool is responsible for and performing the delete. Whether or not the delete is actually doable at that level depends on what the deletion mechanism is written in/based on.
We are the people our parents warned us about --Jimmy Buffett
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2007 03:56 AM
тАО03-05-2007 03:56 AM
Re: Rsync warning: some files vanished before they could be transfered (code 24) at main.c(633)
Shalom Alex,
The message is accurate, which for Unix is pretty rare. The rsync file transfer to the DR site is slow and files were deleted during the tranfer.
Possible culprits:
cron
sysadmins
regular users.
SEP
The message is accurate, which for Unix is pretty rare. The rsync file transfer to the DR site is slow and files were deleted during the tranfer.
Possible culprits:
cron
sysadmins
regular users.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP