I have the following as a line in a script kicked off from cron: sudo rsync -e ssh -avz /Times_QPS/ 192.168.22.72:/Times_QPS/ --eahfs It logs the output to a log file, however rsync caused the log file to go to an 80gb file and fill up my disk because it threw a mental when a file it went to sync was no longer there! Is there some way to get the sync to ignore errors? -Jason ********************************************************************************* This e-mail message, including any attachments, is intended solely for the use of the addressee and may contain confidential information. If it is not intended for you, please inform the sender and delete the e-mail and any attachments immediately. Any review, retransmission, disclosure, copying or modification of it is strictly forbidden. Please be advised that the views and opinions expressed in this e-mail may not reflect the views and opinions of Newsquest (Herald & Times) Limited or any of its subsidiary companies. Whilst we take reasonable precautions to ensure that our emails are free from viruses, we cannot be responsible for any viruses transmitted with this e-mail and recommend that you subject any incoming e-mail to your own virus checking procedures. Use of this or any other e-mail facility signifies consent to any interception we might lawfully carry out to prevent abuse of these facilities. ***********************************************************************************
"Threw a mental" is extremely unhelpful. What was it writing to the logfile? Jason Ferguson wrote:> I have the following as a line in a script kicked off from cron: > > sudo rsync -e ssh -avz /Times_QPS/ 192.168.22.72:/Times_QPS/ --eahfs > > It logs the output to a log file, however rsync caused the log file to go to an 80gb file and fill up my disk because it threw a mental when a file it went to sync was no longer there! > > Is there some way to get the sync to ignore errors? > > > -Jason > > > ********************************************************************************* > This e-mail message, including any attachments, is intended solely for the use of the addressee and may contain confidential information. > If it is not intended for you, please inform the sender and delete the e-mail and any attachments immediately. Any review, retransmission, > disclosure, copying or modification of it is strictly forbidden. Please be advised that the views and opinions expressed in this e-mail may not reflect the views and opinions of Newsquest (Herald & Times) Limited or any of its subsidiary companies. > > Whilst we take reasonable precautions to ensure that our emails are > free from viruses, we cannot be responsible for any viruses transmitted with this e-mail and recommend that you subject any incoming e-mail to your own virus checking procedures. Use of this or any other e-mail facility signifies consent to any interception we might lawfully carry out to prevent abuse of these facilities. > *********************************************************************************** >
What message was sent to the log? If you are using a version of rsync that uses the '--eahfs' flag, then it should not matter if files are moved or removed during a sync. Kevin Boyd OS X Deployment Coordinator Sys Adm UMIT Contract Services On Mon, 22 Mar 2004, Jason Ferguson wrote:> Date: Mon, 22 Mar 2004 05:49:56 -0000 > From: Jason Ferguson <Jason.Ferguson@glasgow.newsquest.co.uk> > To: rsync@lists.samba.org > Subject: Rsync killed my server > > > I have the following as a line in a script kicked off from cron: > > sudo rsync -e ssh -avz /Times_QPS/ 192.168.22.72:/Times_QPS/ --eahfs > > It logs the output to a log file, however rsync caused the log file to go to an 80gb file and fill up my disk because it threw a mental when a file it went to sync was no longer there! > > Is there some way to get the sync to ignore errors? > > > -Jason > > > ********************************************************************************* > This e-mail message, including any attachments, is intended solely for the use of the addressee and may contain confidential information. > If it is not intended for you, please inform the sender and delete the e-mail and any attachments immediately. Any review, retransmission, > disclosure, copying or modification of it is strictly forbidden. Please be advised that the views and opinions expressed in this e-mail may not reflect the views and opinions of Newsquest (Herald & Times) Limited or any of its subsidiary companies. > > Whilst we take reasonable precautions to ensure that our emails are > free from viruses, we cannot be responsible for any viruses transmitted with this e-mail and recommend that you subject any incoming e-mail to your own virus checking procedures. Use of this or any other e-mail facility signifies consent to any interception we might lawfully carry out to prevent abuse of these facilities. > *********************************************************************************** > > -- > To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html >
Perhaps I should turn logging back on and wait for the error to start again and then post the output. -----Original Message----- From: Kevin Alexander Boyd [mailto:kboyd@umich.edu] Sent: Monday, March 22, 2004 5:58 AM To: Jason Ferguson Cc: rsync@lists.samba.org Subject: Re: Rsync killed my server What message was sent to the log? If you are using a version of rsync that uses the '--eahfs' flag, then it should not matter if files are moved or removed during a sync. Kevin Boyd OS X Deployment Coordinator Sys Adm UMIT Contract Services On Mon, 22 Mar 2004, Jason Ferguson wrote:> Date: Mon, 22 Mar 2004 05:49:56 -0000 > From: Jason Ferguson <Jason.Ferguson@glasgow.newsquest.co.uk> > To: rsync@lists.samba.org > Subject: Rsync killed my server > > > I have the following as a line in a script kicked off from cron: > > sudo rsync -e ssh -avz /Times_QPS/ 192.168.22.72:/Times_QPS/ --eahfs > > It logs the output to a log file, however rsync caused the log file to go to an 80gb file and fill up my disk because it threw a mental when a file it went to sync was no longer there! > > Is there some way to get the sync to ignore errors? > > > -Jason > > > ********************************************************************************* > This e-mail message, including any attachments, is intended solely for the use of the addressee and may contain confidential information. > If it is not intended for you, please inform the sender and delete the e-mail and any attachments immediately. Any review, retransmission, > disclosure, copying or modification of it is strictly forbidden. Please be advised that the views and opinions expressed in this e-mail may not reflect the views and opinions of Newsquest (Herald & Times) Limited or any of its subsidiary companies. > > Whilst we take reasonable precautions to ensure that our emails are > free from viruses, we cannot be responsible for any viruses transmitted with this e-mail and recommend that you subject any incoming e-mail to your own virus checking procedures. Use of this or any other e-mail facility signifies consent to any interception we might lawfully carry out to prevent abuse of these facilities. > *********************************************************************************** > > -- > To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html >