On Tue, 10 Jul 2007 16:36:59 -0500 Michael Hughes <[EMAIL PROTECTED]> wrote:
> I have loaded Bacula 2.0.3 from source on my FreeBSD system. I ran > btape test and it passed all the tests. Also ran the autoloader test > and that passed. > > I did a full backup which fit on one DLT IV tape. Then I wanted to > do a test restore to make sure things are working before I stop doing > my dump(8). When I do a restore, I picked a couple of files and the > restore started. I have search the web and having been able to find > anything like this. I have also noticed that the drive seems to go > offline right after the restore job starts. Then it loads the tape > again, but gets the error. Here are the errors I get: > > Forward spacing Volume "AI0011" to file:block 5:0. > RestoreFiles.2007-07-10_13.00.18 Error: block.c:993 Read error on > fd=6 at file:blk 5:2563 on device "DLT_9" (/dev/nsa1). ERR=Operation > not permitted. RestoreFiles.2007-07-10_13.00.18 Error: Unexpected > Tape is Off-line > > Here is my bacula-sd.conf for the device: > > Autochanger { > Name = Autochanger > Device = DLT_9 > Changer Command = "/mnt4/mdh/bacula-2.0.3/examples/autochangers/rc > chio-changer %c %o %S %a %d" Changer Device = /dev/ch0 > } > > Device { > Name = DLT_9 > Drive Index = 0 > Media Type = DLT > Archive Device = /dev/nsa1 > AutomaticMount = yes; > LabelMedia = yes; > RemovableMedia = yes; > AutoChanger = yes > 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 > } > > -- > Michael Hughes Log Home living is the best > [EMAIL PROTECTED] > > Temperatures: > Outside: 77.9 House: 71.2 Computer room: 69.7 > > Well I think I figured out what my problem was. It turned out to be a SCSI cable problem. I got to looking in the logs and found this error: /kernel: sym0: unexpected disconnect After doing some re-cabling, it start to work without any errors. I don't understand why restore(8) was able to read from that drive and both dunp(8) and Bacula were able to write to the drive. -- Michael Hughes Log Home living is the best [EMAIL PROTECTED] Temperatures: Outside: 77.4 House: 71.4 Computer room: 69.8 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users