Thanks for the post Michael. Unfortunately I am still getting the same results. 
I changed my SCSI card settings so that the ID of the tape drive was 
now:Initiate Wide Negotiation = NoSync Transfer Rate = 40MB/sPacketized =  
NoQAS = NoThe tape drive is on the same channel as the hard drives so I could 
not disable the BIOS for the channel. I did notice something new... I have been 
doing all my testing via a SSH connection but saw that every time I ran the 
btape test command, an error would be displayed on the server's terminal. I 
then ran the btape test command at the server and this is what I got:btape: 
btape.c:852 Rewind OK.1000 blocks re-read correctly.(sa0:aacp:0:0:4:0) : 
READ(06). CDB: 8 0 0 fc 0 0(sa0:aacp:0:0:4:0) : NO SENSE info:fc00 
asc:0,1(sa0:aacp:0:0:4:0) : Filemark detectedJobId 0: Error: block.c:995 Read 
error on fd=3 at file:blk 0:1000 on device "HP_Ultrium" (/dev/sa0). 
ERR=Operation not permitted.btape: btape.c:864 Read block 1001 failed! 
ERR=Operation not permitted I was not seeing the read, no sense and filemark 
messages via my SSH console.
I have also decided to install a different SCSI card to use as a test to rule 
out any issues with my current Adaptec 2130SLP. Luckily I have a few older 
cards laying around that can fill this role. I will attempt this tomorrow and 
post my results. Thanks!



> Date: Fri, 9 Nov 2007 16:25:31 -0500> From: [EMAIL PROTECTED]> To: [EMAIL 
> PROTECTED]> CC: bacula-users@lists.sourceforge.net> Subject: Re: 
> [Bacula-users] Btape test command fails> > i had somewhat similar problems 
> with btape that i ended up resolving by modifying the > configuration of my 
> scsi controller. see this thread:> > 
> http://sourceforge.net/mailarchive/forum.php?thread_name=20071030014308.GA31765%40sif.lsd.ornl.gov&forum_name=bacula-users>
>  > -- michael> > > > On Fri, Nov 09, 2007 at 01:07:13PM -0800, Brad M wrote:> 
> > Hi there, I am having some problems trying to get my Tape drive working 
> with Bacula. I am very new to the world of Bacula as I was only introduced to 
> it back at the BSDCan 2007 gathering. Basically I am setting up a new file 
> server and need to backup the data on a daily basis but can't get past the 
> point of simply testing my drive. When running the btape test command, it 
> seems that it is able to write to the device but unable to read from it. Here 
> is the error output: # ./btape -c bacula-sd.conf /dev/sa0Tape block 
> granularity is 1024 bytes.btape: butil.c:285 Using device: "/dev/sa0" for 
> writing.btape: btape.c:368 open device "HP_Ultrium" (/dev/sa0): OK*test=== 
> Write, rewind, and re-read test ===I'm going to write 1000 records and an 
> EOFthen 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:827 Wrote 1000 blocks of 64412 bytes.btape: btape.c:501 Wrote 1 EOF 
> to "HP_Ultrium" (/dev/sa0)btape: btape.c:843 Wrote 1000 blocks of 64412 
> bytes.btape: btape.c:501 Wrote 1 EOF to "HP_Ultrium" (/dev/sa0)btape: 
> btape.c:501 Wrote 1 EOF to "HP_Ultrium" (/dev/sa0)btape: btape.c:852 Rewind 
> OK.1000 blocks re-read correctly.07-Nov 15:28 btape JobId 0: Error: 
> block.c:995 Read error on fd=3 at file:blk 0:1000 on device "HP_Ultrium" 
> (/dev/sa0). ERR=Operation not permitted.btape: btape.c:864 Read block 1001 
> failed! ERR=Operation not permitted Here is a copy of my baculad-sd.conf 
> file: Storage { # definition of myself Name = quagmire-sd SDPort = 9103 # 
> Director's port WorkingDirectory = "/usr/local/bacula/bin/working" Pid 
> Directory = "/usr/local/bacula/bin/working" Maximum Concurrent Jobs = 20}> > 
> Director { Name = quagmire-dir Password = "somthing random"}> > Director { 
> Name = quagmire-mon Password = "somthing random" Monitor = yes}> > Device { 
> Name = HP_Ultrium Media Type = LTO Archive Device = /dev/sa0 AutomaticMount = 
> yes; Device Type = Tape AlwaysOpen = yes Removable Media = yes Random Access 
> = no; AutoChanger = no#FreeBSD Settings Offline On Unmount = no Hardware End 
> of Medium = no BSF at EOM = yes Backward Space Record = no Backward Space 
> File = no Fast Forward Space File = no TWO EOF = yes}> > Messages { Name = 
> Standard director = quagmire-dir = all} My software setup is as 
> follows:FreeBSD 5.5 x86Bacula 2.2.5 (Installed from source)MySQL 5.0.45 My 
> hardware setup is as follows:CPU - AMD AM2 5600+Motherboard - Asus M2N-LRSCSI 
> Card - Adaptec 2130SLP (PCIX Ultra320)Tape Drive - HP StorageWorks Ultrium 
> 448Data Cartridge - HP LTO2 Ultrium 400GB I have been trying various FreeBSD 
> suggested configuration changes but in the end, I'm always getting the same 
> error. I manually tar'd 40GB of data to the tape drive then extracted it back 
> and it worked flawlessly. So I am guessing its a configuration setting that I 
> either got wrong or am missing.Any help would be very appreciated. Thanks! 
> Brad.> > > > (Sorry if this gets posted twice as I had a message awaiting 
> approval but it disappeared)> > 
> _________________________________________________________________> > Send a 
> smile, make someone laugh, have some fun! Start now!> > 
> http://www.freemessengeremoticons.ca/?icid=EMENCA122> > 
> -------------------------------------------------------------------------> > 
> This SF.net email is sponsored by: Splunk Inc.> > Still grepping through log 
> files to find problems? Stop.> > Now Search log events and configuration 
> files using AJAX and a browser.> > Download your FREE copy of Splunk now >> 
> http://get.splunk.com/> > > _______________________________________________> 
> > Bacula-users mailing list> > Bacula-users@lists.sourceforge.net> > 
> https://lists.sourceforge.net/lists/listinfo/bacula-users> 
_________________________________________________________________
Express yourself with free Messenger emoticons. Get them today!
http://www.freemessengeremoticons.ca/?icid=EMENCA122
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to