Bacula-users

Re: [Bacula-users] No medium found.. How to force it?

2010-10-05 12:45:12
Subject: Re: [Bacula-users] No medium found.. How to force it?
From: Romer Ventura <rventura AT h-st DOT com>
To: Phil Stracchino <alaric AT metrocast DOT net>
Date: Tue, 5 Oct 2010 11:32:39 -0500
I have done "update slots"
*update slots 
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
The defined Storage resources are:
     1: SLDLTv4
     2: File
Select Storage resource (1-2): 1
Connecting to Storage daemon SLDLTv4 at housigma25.h-st.com:9103 ...
3306 Issuing autochanger "slots" command.
Device "DLTv4" has 16 slots.
Connecting to Storage daemon SLDLTv4 at housigma25.h-st.com:9103 ...
3306 Issuing autochanger "list" command.
Catalog record for Volume "CNH902" updated to reference slot 1.
Catalog record for Volume "CNH903" updated to reference slot 2.
Catalog record for Volume "CNH904" updated to reference slot 3.
Catalog record for Volume "CNH905" updated to reference slot 4.
Catalog record for Volume "CNH906" updated to reference slot 5.
Catalog record for Volume "CNH907" updated to reference slot 6.
Catalog record for Volume "CNH908" updated to reference slot 7.

It just doesnt get the change. For some reason bacula still thinks that the tape still needs to be used. Maybe is my retention settings that it is screwing it up.

I am gonna try to mark it as used and see what happens.

Thanks
------ 
Romer Ventura

On Oct 5, 2010, at 11:34 AM, Phil Stracchino wrote:

On 10/05/10 11:59, Romer Ventura wrote:
Hello,

I recently change the set of tapes for the month and for some reason i
am getting errors when backing up data since bacula keeps asking about a
tape that was previously used. How can i get bacula to use the new set?
i've done the updata slots and label barcode, etc and nothing seems to
be working. Here is the message i get:

05-Oct 10:53 housigma25-sd JobId 118: Invalid slot=0 defined in catalog
for Volume "CNH895" on "DLTv4" (/dev/nst0). Manual load may be required.
05-Oct 10:53 housigma25-sd JobId 118: 3301 Issuing autochanger "loaded?
drive 0" command.
05-Oct 10:53 housigma25-sd JobId 118: 3302 Autochanger "loaded? drive
0", result: nothing loaded.
05-Oct 10:53 housigma25-sd JobId 118: 3301 Issuing autochanger "loaded?
drive 0" command.
05-Oct 10:53 housigma25-sd JobId 118: 3302 Autochanger "loaded? drive
0", result: nothing loaded.
05-Oct 10:53 housigma25-sd JobId 118: Warning: mount.c:221 Open device
"DLTv4" (/dev/nst0) Volume "CNH895" failed: ERR=dev.c:491 Unable to open
device "DLTv4" (/dev/nst0): ERR=No medium found


CNH895 is no longer in the loader since it was used last month..

This looks like you need to issue an "Update Slots" command.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
_______________________________________________
Bacula-users mailing list

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users