From: Chan W. <cha...@gm...> - 2004-08-26 17:19:44
|
No, I didn't get an answer. The tape drive is in variable block mode=20 (that's the 'v' in the tps5d4nrv definition)... at least that's the intention. With a bit of hardware mucking I could get this jukebox attached to=20 an ia32 box (currently running freebsd) to verify Bacula functionality. But it works fine under native xfsdump with the v device, so... --Chan On Mon, 23 Aug 2004 23:16:05 +0200, Kern Sibbald <ke...@si...> wrote: > Hello, >=20 > I don't know if you got an answer to this or not. It looks to me like > your tape drive is configured to run with fixed tape blocks and that is > not compatible by default with Bacula. Either you need to run in > variable tape block mode (preferable) or you need to tell Bacula what > your tape block size is. >=20 > The Tape testing chapter of the manual goes through most of this in > detail. >=20 > Regards, Kern >=20 >=20 >=20 > On Wed, 2004-08-18 at 19:37, Chan Wilson wrote: > > 'lo there. > > > > I want to use Irix as the storage daemon in a bacula setup. Both > > 1.34.6 and 1.35.1 compiled cleanly using gcc/g++, but both fail the bta= pe test > > in different ways on a DLT 8000. Here's the result from btape test: > > > > : 2x2-/opt/bacula/etc #587#; mt -t /dev/rmt/tps5d4nrvc stat > > Controller: SCSI > > Device: QUANTUM: DLT8000 0250=81P > > Status: 0x8020262 > > Drive type: DLT > > Media : READY, writable, at BOT > > : 2x2-/opt/bacula/etc #588#; ../sbin/btape DLT8000 > > Tape block granularity is 1024 bytes. > > btape: butil.c:168 Using device: "DLT8000" for writing. > > btape: btape.c:331 open_dev /dev/rmt/tps5d4nrv OK > > *test > > > > =3D=3D=3D Write, rewind, and re-read test =3D=3D=3D > > > > I'm going to write 1000 records and an EOF > > then write 1000 records and an EOF, then rewind, > > and re-read the data to verify that it is correct. > > > > This is an *essential* feature ... > > > > btape: btape.c:782 Wrote 1000 blocks of 64412 bytes. > > btape: btape.c:463 Wrote 1 EOF to /dev/rmt/tps5d4nrv > > btape: btape.c:798 Wrote 1000 blocks of 64412 bytes. > > btape: btape.c:463 Wrote 1 EOF to /dev/rmt/tps5d4nrv > > btape: btape.c:807 Rewind OK. > > 1000 blocks re-read correctly. > > Got EOF on tape. > > 1000 blocks re-read correctly. > > =3D=3D=3D Test Succeeded. End Write, rewind, and re-read test =3D=3D=3D > > > > > > =3D=3D=3D Write, rewind, and position test =3D=3D=3D > > > > I'm going to write 1000 records and an EOF > > then write 1000 records and an EOF, then rewind, > > and position to a few blocks and verify that it is correct. > > > > This is an *essential* feature ... > > > > btape: btape.c:890 Wrote 1000 blocks of 64412 bytes. > > btape: btape.c:463 Wrote 1 EOF to /dev/rmt/tps5d4nrv > > btape: btape.c:906 Wrote 1000 blocks of 64412 bytes. > > btape: btape.c:463 Wrote 1 EOF to /dev/rmt/tps5d4nrv > > btape: btape.c:915 Rewind OK. > > Reposition to file:block 0:4 > > Block re-read correctly. > > Reposition to file:block 0:200 > > Block re-read correctly. > > Reposition to file:block 0:999 > > Block re-read correctly. > > Reposition to file:block 1:0 > > Block re-read correctly. > > Reposition to file:block 1:600 > > btape: btape.c:957 Reposition error. > > > > Relevant portion of bacula-sd.conf: > > Device { > > Name =3D DLT8000 > > Media Type =3D DLT8000 > > Archive Device =3D /dev/rmt/tps5d4nrv > > AutomaticMount =3D yes; # when device opened, read it > > AlwaysOpen =3D yes; > > RemovableMedia =3D yes; > > RandomAccess =3D no; > > } > > > > Ideas? > > > > thanks... > > > > --Chan > > > >=20 > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Bacula-devel mailing list > > Bac...@li... > > https://lists.sourceforge.net/lists/listinfo/bacula-devel >=20 > |