Hi List,

There have been a number of postings over the last few years mentioning
Seagate STT20000A IDE tape drives - has anyone managaed to get one to
work with Bacula?

FWIW - Suse 9.3 on Athlon 2600XP, Bacula 1.38.1 (and earlier versions)

dmesg reports:

Probing IDE interface ide0...
hdb: Seagate STT20000A, ATAPI TAPE drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
...
scsi2 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: Seagate   Model: STT20000A         Rev: 8.43
  Type:   Sequential-Access                  ANSI SCSI revision: 02
Attached scsi tape st0 at scsi2, channel 0, id 0, lun 0
st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA
1048575
Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0,  type 1

bacula built with:

./configure \
  --sbindir=$HOME/bacula/bin \
  --sysconfdir=$HOME/bacula/bin \
  --with-pid-dir=$HOME/bacula/bin \
  --with-subsys-dir=$HOME/bacula/sbin \
  --with-mysql \
  --with-working-dir=$HOME/bacula/bin/working \
  [EMAIL PROTECTED] \
  [EMAIL PROTECTED] \
  --with-smtp-host=****

running as ordinary user & with /dev/nst0 perms set to 777

mt-tools test runs but the "tar tvf" stage retuns nothing - tape whirrs for a few seconds then prompt re-appears.

Tried btape anyway, after starting mysql and bacula tables intialised

bacula-sd.conf has FileStorage comemnted out and teh follwoing added:

Device {
  Name = Travan-20
  Media Type = Travan-20
  Archive Device = /dev/nst0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
}


btape starts with no error:

Tape block granularity is 1024 bytes.
btape: butil.c:266 Using device: "/dev/nst0" for writing.
btape: btape.c:338 open device "Travan-20" (/dev/nst0): OK
*test

=== Write, rewind, and re-read test ===

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 ...

17-Nov 19:38 btape: btape Error: block.c:538 Write error at 0:0 on device "Travan-20" (/dev/nst0). ERR=Invalid argument. 17-Nov 19:38 btape: btape Error: block.c:940 Read error at file:blk 0:4294967295 on device "Travan-20" (/dev/nst0). ERR=Invalid argument. 17-Nov 19:38 btape: btape Error: Re-read last block at EOT failed. ERR=block.c:940 Read error at file:blk 0:4294967295 on device "Travan-20" (/dev/nst0). ERR=Invalid argument.
btape: btape.c:791 Error writing block to device.
*quit

Any thoughts gratefully recieved!
--
Richard.


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to