Well, it turns out there was an issue with the bacula-dir.conf as stated.
It works fine and btape can mostly control the drive, except for every time
I try to run a backup job to the tape, I get the following error:
Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
I have used both ./bconsole and ./btape to 'label' the tape. Each time I
label it, it says it was successful. I have tried to rewind the tape, move
the tape to the end of the medium, everything I can think of, and it keeps
giving that same error. What am I missing here?
Thanks.
-----Original Message-----
From: Jason A. Kates [mailto:[EMAIL PROTECTED]
Sent: Monday, February 25, 2008 9:47 AM
To: Justin Francesconi
Cc: 'bacula-users@lists.sourceforge.net'
Subject: Re: [Bacula-users] bacula tape drive can test but not use for
jobs
1st your conf files shouldn't be in /usr/local/bacula/bin
2nd your bacula-sd.conf may be fine it's the bacula-dir.conf file that
you need to look at.
-Jason
On Mon, 2008-02-25 at 09:44 -0800, Justin Francesconi wrote:
> Basically, this snippet from the console sums it all up:
> -------------------------------------------
> [EMAIL PROTECTED] bin]# ./btape
> -c /usr/local/bacula/bin/bacula-sd.conf /dev/nst0
> Tape block granularity is 1024 bytes.
> btape: butil.c:285 Using device: "/dev/nst0" for writing.
> btape: btape.c:368 open device "SonyDrive" (/dev/nst0): OK
> *
> [EMAIL PROTECTED] bin]# ./bacula start
> Starting the Bacula Storage daemon
> Starting the Bacula File daemon
> Starting the Bacula Director daemon
> 25-Feb 09:39 bacula-dir: ERROR TERMINATION at parse_conf.c:532
> Config error: Could not find config Resource "storage" referenced on
> line 44 : Storage = SonyDrive
>
>
> : line 44, col 22 of
> file /usr/local/bacula/bin/bacula-dir.conf
> Storage = SonyDrive
>
> [EMAIL PROTECTED] bin]# ./btape
> -c /usr/local/bacula/bin/bacula-sd.conf /dev/nst0
> Tape block granularity is 1024 bytes.
> btape: butil.c:285 Using device: "/dev/nst0" for writing.
>
> [EMAIL PROTECTED] bin]#
> ----------------------------------------------
> So, after reboot, you can basically follow what happens - run bacula
> tape test and it's able to communicate with the drive and provide the
> * to run the command 'test', which I have done, and it worked fine.
> However, as soon as I start bacula, it suddenly doesn't like the
> sd.conf (which I thought needed to be correct anyways for btape to
> work), and after that fails, btape no longer works. When I first try
> to start bacula, I hear the tape drive briefly spin and then it
> fails.
>
> What could be causing this?
>
> Thanks,
>
> Justin Francesconi
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________ Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
----------------------------------------------------------------------------
Jason A. Kates ([EMAIL PROTECTED])
Fax: 208-975-1514
Phone: 212-400-1670 x2
============================================================================
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users