Bacula-users

Re: [Bacula-users] Please mount volume...

2010-07-16 17:43:26
Subject: Re: [Bacula-users] Please mount volume...
From: "Jeremiah D. Jester" <jjest AT u.washington DOT edu>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Fri, 16 Jul 2010 14:38:44 -0700
Ok. Done.  However, the job (#358) that was requesting this volume (KL0390) has 
quit. Should I restart bacula-sd?


   358  Incr          0         0   Error    16-Jul-10 14:22 james-onsite


Here is the output for the bls command...

[root@monk bacula]# ./bin/bls -c /etc/bacula/bacula-sd.conf -V* -L /dev/st0
bls: butil.c:281 Using device: "/dev/st0" for reading.
16-Jul 14:35 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on 
"Drive1" (/dev/st0). Manual load may be required.
16-Jul 14:35 bls JobId 0: 3301 Issuing autochanger "loaded? drive 0" command.
16-Jul 14:35 bls JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 22.
16-Jul 14:35 bls JobId 0: Ready to read from volume "KL0390" on device "Drive1" 
(/dev/st0).

Volume Label:
Id                : Bacula 1.0 immortal
VerNo             : 11
VolName           : KL0390
PrevVolName       :
VolFile           : 0
LabelType         : PRE_LABEL
LabelSize         : 177
PoolName          : Onsite
MediaType         : LTO2
PoolType          : Backup
HostName          : monk.microslu.washington.edu
Date label written: 19-Jun-2010 23:55




-----Original Message-----
From: John Drescher [mailto:drescherjm AT gmail DOT com] 
Sent: Friday, July 16, 2010 2:19 PM
To: Jeremiah D. Jester
Cc: bacula-users
Subject: Re: [Bacula-users] Please mount volume...

Please stop bacula-sd (yes only the storage daemon)

then
Can you manually load the volume in the first tape drive (using the
autochanger console) then issue the following command after the load
is finished

bls -c /etc/bacula/bacula-sd.conf -V* -L /dev/nst0



Here is an example from my autochanger:
dev6 ~ # bls -c /etc/bacula/bacula-sd.conf -V* -L /dev/nst0
bls: match.c:249-0 add_fname_to_include prefix=0 gzip=0 fname=/
bls: butil.c:282 Using device: "/dev/nst0" for reading.
16-Jul 17:10 bls JobId 0: Invalid slot=0 defined in catalog for Volume
"*" on "LTO2-0" (/dev/nst0). Manual load may be required.
16-Jul 17:10 bls JobId 0: 3301 Issuing autochanger "loaded? drive 0" command.
16-Jul 17:10 bls JobId 0: 3302 Autochanger "loaded? drive 0", result:
nothing loaded.
16-Jul 17:11 bls JobId 0: Ready to read from volume "A00020" on device
"LTO2-0" (/dev/nst0).

Volume Label:
Id                : Bacula 1.0 immortal
VerNo             : 11
VolName           : A00020
PrevVolName       :
VolFile           : 0
LabelType         : VOL_LABEL
LabelSize         : 155
PoolName          : Scratch
MediaType         : LTO-2
PoolType          : Backup
HostName          : dev6
Date label written: 17-Oct-2006 16:29
bls: acquire.c:436-0 dir_update_vol_info. label=64 Vol=*


John

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users