-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Justin Francesconi wrote:

> OUTPUT OF LABEL:
> --------------
> [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
> *label
> Enter Volume Name: test
> Wrote Volume label for volume "test".
> *
> --------------
> 
> Not sure what you mean by 'list media'.  Thanks for the help, though. 

You don't want to do this in btape, you want to do this in bconsole.
btape is really only for testing purposes -- once you confirm a tape
drive acts as it should, from running the test suite as documented in
the manual, you want to generally stay away from that command.

> -----Original Message-----
> From: Jason A. Kates [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 25, 2008 3:49 PM
> To: Justin Francesconi
> Cc: 'bacula-users@lists.sourceforge.net'
> Subject: RE: [Bacula-users] bacula tape drive can test but not use for
> job s
> 
> 
> Can you send the full output of the label command.
> list media
> and your bacula-dir.conf (Passwords and hostname can be obscured).
>                         Thanks -Jason
> 
> On Mon, 2008-02-25 at 14:39 -0800, Justin Francesconi wrote:
>> 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
>>
> ============================================================================
> 
>>
> -- 
> ----------------------------------------------------------------------------
> 
> 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


- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHxJs7mb+gadEcsb4RArdlAKDX1nHvLdPrJyGOWau1tU4kFoU2MACePrl+
JAxmdTkLRsEtqbf5h7OAUUA=
=F5dk
-----END PGP SIGNATURE-----
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer II
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-------------------------------------------------------------------------
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

Reply via email to