Re: [Bacula-users] looking for a tape

2011-02-22 Thread Bob Hetzel
In your Storage resource of your bacula-dir.conf file you need to add 
autochanger=yes.  It's kind of odd how the design of bacula is but anyway 
yes you need to tell bacula you're not using a simple drive in both the 
bacula-sd.conf and the bacula-dir.conf.  Otherwise, bacula ignores the 
InChanger field.

 Bob

 Date: Mon, 21 Feb 2011 10:47:15 -0600
 From: ward.p.fonte...@wellsfargo.com
 Subject: [Bacula-users] looking for a tape
 To: bacula-users@lists.sourceforge.net
 Message-ID:
   
 ca701525c118ec47a1383fa7a79c6c326ae12d6...@msgcmsv21031.ent.wfb.bank.corp
   
 The following is on a CentOS 5.5 x86_64 system with bacula 2.0.3-10 installed 
 and working very well except for the following:

 I have a library that is looking for a tape that is not in the library

 21-Feb 09:34 bacula-sd: 3302 Autochanger loaded? drive 0, result: nothing 
 loaded.
 21-Feb 09:34 bacula-sd: Invalid slot=0 defined, cannot autoload Volume.
 21-Feb 09:34 bacula-sd: Please mount Volume 03 on Storage Device 
 Drive-1 (/dev/st0) for Job loghost1u.2011-02-21_09.28.30

 When I list volumes it's shown as not in the library

 +-++---+-+-+--+--+-+--+---+---+-+
 | MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | 
 VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
 +-++---+-+-+--+--+-+--+---+---+-+
 |   1 | 02 | Append|   1 | 126,167,021,568 |  138 |   
  2,592,000 |   1 |2 | 0 | LTO3  | 2011-02-07 00:00:09 |
 |   2 | 03 | Append|   1 |  45,615,273,984 |   56 |   
  2,592,000 |   1 |3 | 0 | LTO3  | 2011-02-14 00:00:11 |

 I've updated slots, inventoried the library, power cycled the library, 
 rebooted the server.

 How can I get this library to look for the next tape (04)?


 Paul Fontenot
 Enterprise Key Management  Public Key Infrastructure | EKM/PKI Engineering 
 Team

 1305 W 23rd Street | Tempe, AZ 85282
 MAC S3939-022
 Tel 480-724-4662 | Cell 480-788-0730

 ward.p.fonte...@wellsfargo.com

 This message may contain confidential and/or privileged information. If you 
 are not the addressee or authorized to receive this for the addressee, you 
 must not use, copy, disclose, or take any action based on this message or any 
 information herein. If you have received this message in error, please advise 
 the sender immediately by reply e-mail and delete this message. Thank you for 
 your cooperation.




--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] looking for a tape

2011-02-21 Thread John Drescher
 The following is on a CentOS 5.5 x86_64 system with bacula 2.0.3-10 installed 
 and working very well except for the following:

You should really update to a more recent version. 2.0.3 is over 4
years old and has many bugs that were fixed in future versions. The
current bacula version is 5.0.3. That was released last August.


 I have a library that is looking for a tape that is not in the library

 21-Feb 09:34 bacula-sd: 3302 Autochanger loaded? drive 0, result: nothing 
 loaded.
 21-Feb 09:34 bacula-sd: Invalid slot=0 defined, cannot autoload Volume.
 21-Feb 09:34 bacula-sd: Please mount Volume 03 on Storage Device 
 Drive-1 (/dev/st0) for Job loghost1u.2011-02-21_09.28.30

 When I list volumes it's shown as not in the library

 +-++---+-+-+--+--+-+--+---+---+-+
 | MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles | 
 VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         |
 +-++---+-+-+--+--+-+--+---+---+-+
 |       1 | 02     | Append    |       1 | 126,167,021,568 |      138 |   
  2,592,000 |       1 |    2 |         0 | LTO3      | 2011-02-07 00:00:09 |
 |       2 | 03     | Append    |       1 |  45,615,273,984 |       56 |   
  2,592,000 |       1 |    3 |         0 | LTO3      | 2011-02-14 00:00:11 |

 I've updated slots, inventoried the library, power cycled the library, 
 rebooted the server.

 How can I get this library to look for the next tape (04)?

I am not sure exactly why you want this but you could always mark the
other two tapes Full, Used, or Archive so that bacula ignores them.

John

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] looking for a tape

2011-02-21 Thread Ward.P.Fontenot

 How can I get this library to look for the next tape (04)?


I am not sure exactly why you want this but you could always mark the
other two tapes Full, Used, or Archive so that bacula ignores them.

John

It won't run a backup, it keeps telling me to load tape 3 which is offsite at 
Iron Mountain

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] looking for a tape

2011-02-21 Thread John Drescher
On Mon, Feb 21, 2011 at 12:31 PM,  ward.p.fonte...@wellsfargo.com wrote:

 How can I get this library to look for the next tape (04)?


I am not sure exactly why you want this but you could always mark the
other two tapes Full, Used, or Archive so that bacula ignores them.

John

 It won't run a backup, it keeps telling me to load tape 3 which is offsite at 
 Iron Mountain

Use the
update volume
command in bconsole to mark that volume Used, or Full.

-- 
John M. Drescher

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users