Bacula-users

Re: [Bacula-users] st: from_buffer offset overflow. - I/O Error

2011-06-30 04:01:36
Subject: Re: [Bacula-users] st: from_buffer offset overflow. - I/O Error
From: Tobias Dinse <tobias.dinse AT stegbauer DOT info>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 30 Jun 2011 09:57:35 +0200
Same Problem now on other Servers

kern.log:

xxxxxxxxxx kernel: [451873.506638] st0: Can't allocate 1999999 bytetape 
buffer
xxxxxxxxxx kernel: [452173.632081] st: from_buffer offset overflow.
xxxxxxxxxx kernel: [452173.632085] st: from_buffer offset overflow.
xxxxxxxxxx kernel: [452173.632087] st: from_buffer offset overflow.

only a reboot helps :(

bacula-sd.conf

     Minimum block size = 1999999
     Maximum block size = 1999999

This is the only Value that we have changed. With lower Values our 
Backup was verry slow. We have LTO4 Tapes. Whats your Values?

here is our stinit.def (only 1 line without comment header):

{buffer-writes read-ahead async-writes}

We made no changes to this File.
tapeinfo -f /dev/st0

Product Type: Tape Drive
Vendor ID: 'IBM     '
Product ID: 'ULT3580-HH4     '
Revision: '97F1'
Attached Changer API: No
SerialNumber: '1K10044361'
MinBlock: 1
MaxBlock: 16777215
SCSI ID: 0
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: 0x48
Density Code: 0x46
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x1
DeCompType: 0x1
BOP: yes
Block Position: 0
Partition 0 Remaining Kbytes: -1
Partition 0 Size in Kbytes: -1
ActivePartition: 0
EarlyWarningSize: 0
regards


Kernel Log:






On 15.06.2011 23:08, Wolfgang Denk wrote:
> Dear Tobias Dinse,
>
> In message<4DF88A7D.1020904 AT stegbauer DOT info>  you wrote:
>> still the same Kernel and I/O Error:
>>
>>
>> Jun 14 14:26:10 xxxxxxxxxx kernel: [451873.506638] st0: Can't allocate 
>> 1999999 byte tape buffer.
> Why are you trying to allocate a 2 MB buffer for your tape driver?
>
> Bacula will write in 63 KiB blocks, so you should never need that
> much.
>
> What does your /etc/stinit.def look like? [Or where else do you
> configure your tape driver to use such buffers?]
>
> Best regards,
>
> Wolfgang Denk
>


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