Re: amcheck hangs

2009-10-19 Thread Stefan G. Weichinger
Dustin J. Mitchell schrieb: On Fri, Oct 16, 2009 at 2:44 AM, Stefan G. Weichinger s...@amanda.org wrote: posted there as well: The admin there noticed that the time/date was off for one hour ... set it via ntpdate and from then everything worked without a problem. I can't explain ... anyone?

TCP Tuning

2009-10-19 Thread Alan Griffiths
Hi, Is there a way to modify the size of the TCP buffers used by AMANDA? I am trying to improve performance over a relatively high latency link and this seems to be the only way. Thanks, Alan

Another oddity from Gene

2009-10-19 Thread Gene Heskett
Greetings; I made a movie out of a machining operation which put nearly 18GB in .avi files in my /usr/movies DLE. So this mornings report for the 2nd time, notes its too big, and only wrote a PARTIAL, then ran out of space, and I had added another 20GB to the size of the vtape yesterday. I'll

Re: TCP Tuning

2009-10-19 Thread Dustin J. Mitchell
On Mon, Oct 19, 2009 at 5:33 AM, Alan Griffiths ap_griffi...@hotmail.com wrote: Is there a way to modify the size of the TCP buffers used by AMANDA? I am trying to improve performance over a relatively high latency link and this seems to be the only way. It's a source constant, unfortunately,

Re: Another oddity from Gene

2009-10-19 Thread Gene Heskett
On Monday 19 October 2009, Dustin J. Mitchell wrote: On Mon, Oct 19, 2009 at 8:05 AM, Gene Heskett gene.hesk...@verizon.net wrote: if [`/bin/ls /dumps`]; then line 173 This can be a bit tricky in portable shell, but maybe this is closer to what you want: if [ `/bin/ls /dumps` !=

Re: globbing

2009-10-19 Thread Brian Cuttler
Jean, Sorry for the delay, wanted to make sure the house was in order after my return. Will schedule a test on a single glob (not all 26 of them) for tonight and see if we can't tell what happens. On Tue, Oct 13, 2009 at 02:35:41PM -0400, Jean-Louis Martineau wrote: Brian, It should

Re: Another oddity from Gene

2009-10-19 Thread Paul Bijnens
On 2009-10-19 16:34, Gene Heskett wrote: On Monday 19 October 2009, Dustin J. Mitchell wrote: On Mon, Oct 19, 2009 at 8:05 AM, Gene Heskett gene.hesk...@verizon.net wrote: if [`/bin/ls /dumps`]; then line 173 This can be a bit tricky in portable shell, but maybe this is closer

Re: Another oddity from Gene

2009-10-19 Thread Dustin J. Mitchell
On Mon, Oct 19, 2009 at 10:34 AM, Gene Heskett gene.hesk...@verizon.net wrote: I'll try that, but IIRC if the dir is empty, ls still returns a linefeed. brb. Nope, tried with !='' and !='\n', with almost the same result, the diff being that now the error message on the console is minus the

Re: Another oddity from Gene

2009-10-19 Thread Gene Heskett
On Monday 19 October 2009, Paul Bijnens wrote: On 2009-10-19 16:34, Gene Heskett wrote: On Monday 19 October 2009, Dustin J. Mitchell wrote: On Mon, Oct 19, 2009 at 8:05 AM, Gene Heskett gene.hesk...@verizon.net wrote: if [`/bin/ls /dumps`]; then line 173 This can be a bit

Re: Another oddity from Gene

2009-10-19 Thread Dustin J. Mitchell
On Mon, Oct 19, 2009 at 8:05 AM, Gene Heskett gene.hesk...@verizon.net wrote:        if [`/bin/ls /dumps`]; then   line 173 This can be a bit tricky in portable shell, but maybe this is closer to what you want: if [ `/bin/ls /dumps` != '' ] Dustin -- Open Source Storage Engineer

Re: Another oddity from Gene

2009-10-19 Thread Gene Heskett
On Monday 19 October 2009, Dustin J. Mitchell wrote: On Mon, Oct 19, 2009 at 10:34 AM, Gene Heskett gene.hesk...@verizon.net wrote: I'll try that, but IIRC if the dir is empty, ls still returns a linefeed. brb. Nope, tried with !='' and !='\n', with almost the same result, the diff being that

Re: Another oddity from Gene

2009-10-19 Thread Nathan Stratton Treadway
On Mon, Oct 19, 2009 at 10:57:16 -0400, Dustin J. Mitchell wrote: The whitespace is significant in the command I showed: if [ `/bin/ls /dumps` != ] btw, the shell strips leading and trailing whitespace, so don't worry about the newline. However, if /dumps is empty, the above will return