Re: [Bacula-users] Problems appending on FreeBSD

2007-02-16 Thread Andrea Venturoli
Martin Simmons wrote: > This error is unexpected. > > My guess is that either the tape is bad Ok, this might be. And this might explain the two wrong files. However, I'm getting the append problems on every tape, so it is possible that I'm seeing two different problems. > or the EOT model wa

Re: [Bacula-users] Problems appending on FreeBSD

2007-02-16 Thread Martin Simmons
> On Fri, 16 Feb 2007 13:04:06 +0100, Andrea Venturoli said: > > Martin Simmons wrote: > > >>> What is printed if you run > >>> > >>> btape -c bacula-sd.conf /dev/nsa0 > >>> > >>> with Tape41 in the drive and then issue the commands > >>> > >>> rewind > >>> status > >>> eod > >>> status > >>>

Re: [Bacula-users] Problems appending on FreeBSD

2007-02-16 Thread Kern Sibbald
On Friday 16 February 2007 13:25, Martin Simmons wrote: > > On Fri, 16 Feb 2007 12:10:34 +0100, Andrea Venturoli said: > > > > Martin Simmons wrote: > > >> On Tue, 13 Feb 2007 15:12:40 +0100, Andrea Venturoli said: > > >>> > > >>> If it did, it might be useful to find out what that tape con

Re: [Bacula-users] Problems appending on FreeBSD

2007-02-16 Thread Andrea Venturoli
Martin Simmons wrote: >> I tried a complete restore of the mentioned job and there are two files >> which did not restore correctly, but were truncated. >> Since that backup spanned three tapes, I suspect these might be the >> files which end on one tape and continue into the next one. >> Is the

Re: [Bacula-users] Problems appending on FreeBSD

2007-02-16 Thread Martin Simmons
> On Fri, 16 Feb 2007 12:10:34 +0100, Andrea Venturoli said: > > Martin Simmons wrote: > >> On Tue, 13 Feb 2007 15:12:40 +0100, Andrea Venturoli said: > >>> If it did, it might be useful to find out what that tape contains by doing > >>> > >>> bls -c bacula-sd.conf -j -V'*' /dev/nsa0 > >>

Re: [Bacula-users] Problems appending on FreeBSD

2007-02-16 Thread Andrea Venturoli
Martin Simmons wrote: >>> What is printed if you run >>> >>> btape -c bacula-sd.conf /dev/nsa0 >>> >>> with Tape41 in the drive and then issue the commands >>> >>> rewind >>> status >>> eod >>> status >>> quit # btape -c /usr/local/etc/bacula-sd.conf /dev/nsa0 Tape block granularity is 1024 bytes

Re: [Bacula-users] Problems appending on FreeBSD

2007-02-16 Thread Martin Simmons
> On Fri, 16 Feb 2007 11:22:02 +0100, Andrea Venturoli said: > > Martin Simmons wrote: > > > Hmmm, there are a few strange things here: > > > > 1) bls says that the tape ends at file 6, which matches the jobmedia table, > >which is good. More importantly, it also matches the catalog val

Re: [Bacula-users] Problems appending on FreeBSD

2007-02-16 Thread Andrea Venturoli
Martin Simmons wrote: >> On Tue, 13 Feb 2007 15:12:40 +0100, Andrea Venturoli said: >>> If it did, it might be useful to find out what that tape contains by doing >>> >>> bls -c bacula-sd.conf -j -V'*' /dev/nsa0 >> Here it is: Update: I tried a complete restore of the mentioned job and there

Re: [Bacula-users] Problems appending on FreeBSD

2007-02-16 Thread Andrea Venturoli
Martin Simmons wrote: > Hmmm, there are a few strange things here: > > 1) bls says that the tape ends at file 6, which matches the jobmedia table, >which is good. More importantly, it also matches the catalog value from >the mismatch in bacula-sd of 06-Feb 17:59. However, that bacula-sd

Re: [Bacula-users] Problems appending on FreeBSD

2007-02-14 Thread Martin Simmons
> On Tue, 13 Feb 2007 15:12:40 +0100, Andrea Venturoli said: > > > If it did, it might be useful to find out what that tape contains by doing > > > > bls -c bacula-sd.conf -j -V'*' /dev/nsa0 > > Here it is: > > # bls -c /usr/local/etc/bacula-sd.conf -j -V'*' /dev/nsa0 > bls: match.c:249 add

Re: [Bacula-users] Problems appending on FreeBSD

2007-02-13 Thread Andrea Venturoli
Martin Simmons wrote: Thanks for the answer. > Did the system pass all of the the btape tests from the Testing Your Tape > Drive With Bacula chapter of the manual? It did at the time bacula was first installed (on FreeBSD 4.x). I updated to 6.2, so I run them again after your request (that's

Re: [Bacula-users] Problems appending on FreeBSD

2007-02-07 Thread Martin Simmons
> On Wed, 07 Feb 2007 10:41:27 +0100, Andrea Venturoli said: > > Hello. > > I thought this must be a faq, but my research did not provide anything > that useful... > > I've been using Bacula on FreeBSD for quite a while and I always had one > problem: I can run multiple jobs and append them

[Bacula-users] Problems appending on FreeBSD

2007-02-07 Thread Andrea Venturoli
Hello. I thought this must be a faq, but my research did not provide anything that useful... I've been using Bacula on FreeBSD for quite a while and I always had one problem: I can run multiple jobs and append them to the same tape, as long as I do this at once. If I remove the tape and insert it