Error 28 and exclusion
I am having two issues with a transfer I perform every weekend. The first is I am trying to exclude a directory with the following command: /usr/bin/rsync --rsync-path=/usr/bin/rsync --rsh=/usr/bin/rsh --log-file=/tmp/rsync.out --exclude /gcse1/infor/ --delete-before -rptS usaix:/gcse1/ /gcse1 I am attempting to pull and synchronize the directory /gcse1 with my local server directory /gcse1, but exclude /gcse1/infor . When looking through the logs, it appears that files were transferred within the /gcse1/infor tree after all. I naturally assumed that I followed documentation and examples well enough, but obviously not. Secondly, I am receiving an error 28 (ENOSPC) on the transfer of a large file. I make sure the destination file system is double what the source for the possibility of needing to keep copies of both during transfer, but I assumed --delete-before would help me avoid that. BTW, the rsync version I am using on both ends is rsync version 3.0.9 protocol version 30 on AIX 5.3. Thank you for any assistance you can offer. PLEASE NOTE: The preceding information may be confidential or privileged. It only should be used or disseminated for the purpose of conducting business with Parker. If you are not an intended recipient, please notify the sender by replying to this message and then delete the information from your system. Thank you for your cooperation. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Error 28 and exclusion
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Exclude paths are relative to the source path. Therefore you want to exclude /infor/ Are you actually using rsh? If so make sure you know the security implications. As for the space issue is it possible that you are hitting a file size limitation? Those are usually at 2GB or 4GB but my knowledge of AIX is pretty minimal. On 02/11/13 07:24, scott.geo...@parker.com wrote: I am having two issues with a transfer I perform every weekend. The first is I am trying to exclude a directory with the following command: /usr/bin/rsync --rsync-path=/usr/bin/rsync --rsh=/usr/bin/rsh --log-file=/tmp/rsync.out --exclude /gcse1/infor/ --delete-before -rptS usaix:/gcse1/ /gcse1 I am attempting to pull and synchronize the directory /gcse1 with my local server directory /gcse1, but exclude /gcse1/infor . When looking through the logs, it appears that files were transferred within the /gcse1/infor tree after all. I naturally assumed that I followed documentation and examples well enough, but obviously not. Secondly, I am receiving an error 28 (ENOSPC) on the transfer of a large file. I make sure the destination file system is double what the source for the possibility of needing to keep copies of both during transfer, but I assumed --delete-before would help me avoid that. BTW, the rsync version I am using on both ends is rsync version 3.0.9 protocol version 30 on AIX 5.3. Thank you for any assistance you can offer. PLEASE NOTE: The preceding information may be confidential or privileged. It only should be used or disseminated for the purpose of conducting business with Parker. If you are not an intended recipient, please notify the sender by replying to this message and then delete the information from your system. Thank you for your cooperation. - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Kevin Korb Phone:(407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. ke...@futurequest.net (work) Orlando, Floridak...@sanitarium.net (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEY6GIACgkQVKC1jlbQAQd40gCfaMio6e0KanMNHxL3cR8ptXnK b78An2oUmeh9uU1rybmxZTX7l7zIE3kv =3fE0 -END PGP SIGNATURE- -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Error 28 and exclusion
On Mon 11 Feb 2013, scott.geo...@parker.com wrote: Secondly, I am receiving an error 28 (ENOSPC) on the transfer of a large file. I make sure the destination file system is double what the source for the possibility of needing to keep copies of both during transfer, but I assumed --delete-before would help me avoid that. If a file still exists at the destination but is changed on the source, then there will be at a point in time two copies of the file at the destination: the original file and the newly copied file from the source, under its temporary name. --delete-whatever doesn't come into it. Only way to avoid that would be --inplace but that might be detrimental to the speedup, as moved data might not be able to be used as it might be written over during the transfer. Also the file's contents are not correct during the transfer (by default the file will have either the old or the new contents, but not a mix of the two). Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html