FreeBSD-4.9
bacula-server-1.36.2
tape drive: onstream SCR50 SCSI drive
okay I am trying to get an initial bacula configuration working. btape
testing keeps failing and not sure what else to try.
so here is the initial drive configuration from /usr/local/etc/bacula-sd.conf
with the btape errored output:
--- snip ---
# A FreeBSD tape drive
#
Device {
Name = Onstream
Description = "Onstream on FreeBSD"
Media Type = Onstream
Archive Device = /dev/sa0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes
Offline On Unmount = no
Hardware End of Medium = no
BSF at EOM = yes
Backward Space Record = no
Fast Forward Space File = no
TWO EOF = yes
}
--- snip ---
btape fails on "Forward space files test"
so I make some changes to the /usr/local/etc/bacula-sd.conf
--- snip ---
# A FreeBSD tape drive
#
Device {
Name = Onstream
Description = "Onstream on FreeBSD"
Media Type = Onstream
Archive Device = /dev/sa0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes
Offline On Unmount = no
Hardware End of Medium = no
BSF at EOM = no
Backward Space Record = no
Fast Forward Space File = yes
TWO EOF = no
}
--- snip ---
now the btape test fails at the "Append files test." and here are the errors:
--- snip ---
Append test failed.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Unable to correct the problem. You MUST fix this
problem before Bacula can use your tape drive correctly
Perhaps running Bacula in fixed block mode will work.
Do so by setting:
Minimum Block Size = nnn
Maximum Block Size = nnn
in your Storage daemon's Device definition.
nnn must match your tape driver's block size, which
can be determined by reading your tape manufacturers
information, and the information on your kernel dirver.
Fixed block sizes, however, are not normally an ideal solution.
--- snip ---
then I add some block information to the /usr/local/etc/bacula-sd.conf
--- snip ---
# A FreeBSD tape drive
#
Device {
Name = Onstream
Description = "Onstream on FreeBSD"
Media Type = Onstream
Archive Device = /dev/sa0
Minimum Block Size = 32768
Maximum Block Size = 32768
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes
Offline On Unmount = no
Hardware End of Medium = no
BSF at EOM = no
Backward Space Record = no
Fast Forward Space File = yes
TWO EOF = no
}
--- snip ---
then btape fails the "Append files test." Its suggesting correcting the block
size again which was already configured.
--- snip ---
That appears *NOT* to have corrected the problem.
Append test failed.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Unable to correct the problem. You MUST fix this
problem before Bacula can use your tape drive correctly
Perhaps running Bacula in fixed block mode will work.
Do so by setting:
Minimum Block Size = nnn
Maximum Block Size = nnn
in your Storage daemon's Device definition.
nnn must match your tape driver's block size, which
can be determined by reading your tape manufacturers
information, and the information on your kernel dirver.
Fixed block sizes, however, are not normally an ideal solution.
--- snip ---
cheers,
Noah
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users