Hi,
for quite a while (since FreeBSD 5.x) I've been trying to get Bacula
working with my DLT-Drive (DLT IIIxt); however, the btape-Program also
reports Problems :-(
The first stage of the btape runs fine; however, when I run the
"fill"-Test, I always get an error:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++02
-Sep 15:05 btape: End of Volume "" at 13:14251 on device "DLT"
(/dev/nsa0). Writ
e of 64512 bytes got 0.
Write failed at block 215751.
02-Sep 15:05 btape: Fatal Error at dev.c:1525 because:
dev.c:1524 Attempt to WEOF on non-appendable Volume
btape: btape.c:465 Bad status from weof -1. ERR=dev.c:1524 Attempt to
WEOF on no
n-appendable Volume
*
I'm not quite sure this is a problem of the drive or FreeBSD, as I
recently was able (w/o any Problems) to restore the Sytem from a
two-Tape-"dump", so multi-Tape in general seems to work. I'm not saying
this is a prove that there is no Problem with FreeBSD/the Tape-Driver,
but it does show, that it should be possible to use
multiple-Tape-Backups on FreeBSD.
As mentioned, I've been trying use Bacula to Backup to Tape since
FreeBSD 5.x, always w/o success. That's why I still "dump" the System to
Tape from time to time.
Here's the Info; I hope I didn't forget anything:
FreeBSD boss.home.folkerts-net.de 6.1-STABLE FreeBSD 6.1-STABLE #0: Fri
Jun 23 18:35:10 CEST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
bacula-client-1.38.11_1 = up-to-date with port
bacula-server-1.38.11_1 = up-to-date with port
sa0 at sym0 bus 0 target 6 lun 0
sa0: <DEC DLT2000 15/30 GB 840B> Removable Sequential Access SCSI-2 device
sa0: 5.000MB/s transfers (5.000MHz, offset 8)
I used the settings from the "Testing your Tape Drive with Bacula":
boss:root#mt -f /dev/nsa0 seteotmodel 2
/dev/nsa0: old model was 2 filemarks at EOT
/dev/nsa0: new model is 2 filemarks at EOT
boss:root#mt -f /dev/nsa0 blocksize 0
boss:root#mt -f /dev/nsa0 comp enable
boss:root#mt -f /dev/nsa0 status
Mode Density Blocksize bpi Compression
Current: 0x19:DLTapeIII variable 62500 IDRC
---------available modes---------
0: 0x19:DLTapeIII variable 62500 IDRC
1: 0x19:DLTapeIII variable 62500 IDRC
2: 0x19:DLTapeIII variable 62500 IDRC
3: 0x19:DLTapeIII variable 62500 IDRC
---------------------------------
Current Driver State: at rest.
---------------------------------
File Number: 0 Record Number: 0 Residual Count 0
Here's the Device-Entry from the bacula-sd.conf
Device {
Name = DLT
Media Type = DLTIIIxt
Archive Device = /dev/nsa0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Hardware End of Medium = no;
Backward Space Record = no;
Backward Space File = no;
# 2 Filemart at EOT
Fast Forward Space File = no;
BSF at EOM = yes;
TWO EOF = yes;
}
Would be great if this Problem could be solved and I could use Bacula to
Backup to Tape :-)
Many thanks in advance!
Cheers,
_ralf_
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users