Bacula-users

Re: [Bacula-users] Invalid Tape position - Marking tapes with error

2011-07-07 12:38:54
Subject: Re: [Bacula-users] Invalid Tape position - Marking tapes with error
From: James Woodward <james.woodward AT ualberta DOT ca>
To: Martin Simmons <martin AT lispworks DOT com>
Date: Thu, 7 Jul 2011 10:35:55 -0600
Sorry I forgot to add in. I haven't tried changing the device to nsa2. We do 
have clients backing up to this server. The problem did not present itself 
during testing but at that point we didn't have a lot of overlapping clients. 
The problem is also not very consistent. 

It's also interesting that it shows up in the tapes assigned to the incremental 
and differential pools but has not shown up at all in the pool for full backups.

Thank you,

James



On 2011-07-07, at 9:21 AM, Martin Simmons wrote:

>>>>>> On Thu, 7 Jul 2011 09:07:32 -0600, James Woodward said:
>> 
>> Hello,
>> 
>> Our older production servers are running FreeBSD 7.2 and Bacula 3.0.2.
>> 
>> This particular server with the this issue is running FreeBSD 8.1 and Bacula
>> 5.0.3 installed from the packages.
> 
> OK, so it could be an OS bug too.
> 
> Using /dev/sa2 on FreeBSD is not advisable -- can you try it with /dev/nsa2
> instead?
> 
> What is the Device config for this drive in bacula-sd.conf?  Is that identical
> to the production machines?
> 
> Have you tried running the btape test?
> 
> __Martin
> 
> 
>> 
>> Thanks,
>> 
>> James
>> 
>> On 2011-07-07, at 8:41 AM, Martin Simmons wrote:
>> 
>>>>>>>> On Thu, 7 Jul 2011 08:04:50 -0600, James Woodward said:
>>>> 
>>>> Hello Martin,
>>>> 
>>>> It's a Dell L500 and does not auto rewind. We have another 5 identical ones
>>>> in production but they are running an older version of Bacula. This seems 
>>>> to
>>>> be new to us with Bacula 5.0.3.
>>> 
>>> It's true, "Expected 0, got 20" sounds like the opposite problem.
>>> 
>>> Which operating system is running on the SD and is that the same in
>>> production?
>>> 
>>> __Martin
>>> 
>>> 
>>>> 
>>>> Thanks for the reply.
>>>> 
>>>> James
>>>> 
>>>> 
>>>> On 2011-07-07, at 4:28 AM, Martin Simmons wrote:
>>>> 
>>>>>>>>>> On Wed, 6 Jul 2011 08:29:46 -0600, James Woodward said:
>>>>>> 
>>>>>> Hello,
>>>>>> 
>>>>>> I've tried searching around a bit but I can't seem to find an answer as 
>>>>>> to
>>>>>> what might cause this problem. I have qutie a few tapes that have been
>>>>>> marked in error due to Invalid Tape position. I've listed the Invalid 
>>>>>> tape
>>>>>> position errors as well as detail about one of the affected volumes. Has
>>>>>> anyone else encountered this or have any idea's as to why it might be
>>>>>> happening? For the life of me I can't figure out what the Expected 0 
>>>>>> portion
>>>>>> refers to. I thought it might refer to volfiles but those numbers don't
>>>>>> always match either.
>>>>>> ...
>>>>>> Invalid Tape Position Errors
>>>>>> # grep -i "invalid tape position" log
>>>>>> 11-Mar 18:01 esqb6-sd JobId 196: Error: Invalid tape position on volume 
>>>>>> "090137" on device "Drive-2" (/dev/sa2). Expected 0, got 20
>>>>> 
>>>>> Is /dev/sa2 an auto-rewinding device?  Bacula must use a no-rewinding 
>>>>> device
>>>>> (normally called /dev/nsa2 on BSD).
>>>>> 
>>>>> __Martin
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> All of the data generated in your IT infrastructure is seriously valuable.
>>>>> Why? It contains a definitive record of application performance, security 
>>>>> threats, fraudulent activity, and more. Splunk takes this data and makes 
>>>>> sense of it. IT sense. And common sense.
>>>>> http://p.sf.net/sfu/splunk-d2d-c2
>>>>> _______________________________________________
>>>>> Bacula-users mailing list
>>>>> Bacula-users AT lists.sourceforge DOT net
>>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>>> 
>>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> All of the data generated in your IT infrastructure is seriously valuable.
>>> Why? It contains a definitive record of application performance, security 
>>> threats, fraudulent activity, and more. Splunk takes this data and makes 
>>> sense of it. IT sense. And common sense.
>>> http://p.sf.net/sfu/splunk-d2d-c2
>>> _______________________________________________
>>> Bacula-users mailing list
>>> Bacula-users AT lists.sourceforge DOT net
>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>> 
>> 
> 
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security 
> threats, fraudulent activity, and more. Splunk takes this data and makes 
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users