Thanks Andrew and Carl, The Unix Configuration helped. The jumpers weren't set correctly. After setting them correctly (all off), I booted the system.
Bacula Started. mt -f /dev/st0 status Reported "Device or resource busy" again. I stopped Bacula. Ran the mt command again and got a response stating the drive was Online . . . (Bacula does lock the resource) I erased the tape as a test run (I also needed to erase it anyway, since it came from a Windows Tape Software). That went well. I started Bacula again. Mounted the tape, but it couldn't because of no Volume Label. Unmounted the tape. I ran the label command in Bacula's client, gave it a name TapeTest1. Mounted the tape again. It mounted okay and reported the volume name above. I ran a simple backup of about 30MB with 7 files. It ran okay, sent me an email and reported on the console. All is great with the backup. Testing the restore is now the problem. The sd daemon complains of the following: RestoreFiles.2006-08-09_11.15.54 Fatal error: Could not create bootstrap file /var/bacula/mailer-sd.RestoreFiles.2006-08-09_11.15.54.bootstrap: ERR=Permission denied And a communication error from the fd daemon of: 09-Aug 11:15 mailer-fd: RestoreFiles.2006-08-09_11.15.54 Fatal error: job.c:1614 Comm error with SD. bad response to Bootstrap. ERR=Connection reset by peer I'm sure the second fd daemon error is related to the sd daemon error not being able to create the bootstrap file: "/var/bacula/mailer-sd.RestoreFiles.2006-08-09_11.15.54.bootstrap" My permissions in var are: drwxrwx--- 2 root bacula 4096 Aug 9 11:15 bacula Should the directory bacula in /var be owned by root or bacula? In answering my own question, I went ahead and changed the owner permissions from root to bacula. It Works! Thanks for all of your help guys. Any other tips you have for bacula would be appreciated. The restore seems a bit tweaky, but I'm new to it as well. More reading, I guess. Anyway, if you have some helpful hints, I'd be grateful. Thanks again, Brian Butler -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carl Lowenstein Sent: Tuesday, August 08, 2006 5:52 PM To: Main Discussion List for KPLUG Subject: Re: Sony SDT-9000 SCSI Tape Drive Problems On 8/8/06, James G. Sack (jim) <[EMAIL PROTECTED]> wrote: > Brian Butler wrote: > >.. > > mt -f /dev/st0 status > > /dev/st0: Device or resource busy > > > > This is the same result as before, either with an action or with a > > non-action command. > > > > I'm a member of group "Disk" and the same results occur as when I'm logged > > into as root. Incidentally, Bacula is also a member of group "Disk." > > Is Bacula running? If I remember correctly, some programs _can_ > essentially take control of the st0 device, and mt will report busy to > avoid having some accidental interference with an ongoing backup. > > You maybe can find out more with the lsof command. I can never remember > the right options, so usually do something like More thoughts in the hardware configuration mode. I presume you have documentation for the drive. If not, you might want to look at: < http://sony.storagesupport.com/unix/Unix_Configuration_Guide_2.23.pdf > This mentions DIP switch settings for Unix compatibility, and also jumper settings for TERMPWR and Termination Enable. This device can be its own SCSI bus terminator, unlike some other tape drives. Also back to the simple things, I think I interpreted your first posting to indicate that you were able to identify the drive using the Adaptec card built-in diagnostic firmware. If not, try that just to verify cabling and termination. carl -- carl lowenstein marine physical lab u.c. san diego [EMAIL PROTECTED] -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
