> > (http://www.bacula.org/dev- > manual/Testing_Your_Tape_Drive.html#FreeBSDTapes) As far as I - not > being a FreeBSD user - understand it, you have to set the eotmodel > of the tape driver to fit with baculas setting. > > Fixed block size should not be necessary with a SCSI ADR drive.
Arno, can you or somebody on the list give me a hand here. I am finding that i am unable to mount my onstream drive to /mnt. it appears taht freeBSD is requiring the block device. how do I solve this problem? ---- snip ---- # mount /dev/sa0 /mnt mount: /dev/sa0: Block device required --- snip ----- here is what my setup script sent to the drive: --- snip --- # less tape.drive.setup.sh #!/bin/sh mt -f /dev/sa0 seteotmodel 1 mt -f /dev/sa0 blocksize 0 mt -f /dev/sa0 comp enable --- snip --- cheers, Noah > > By the way: Did you check the pthreads information? > > Arno > > > 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 > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > -- > IT-Service Lehmann [EMAIL PROTECTED] > Arno Lehmann http://www.its-lehmann.de > > ------------------------------------------------------- > 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 > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users