To rule out a bad tape:
Before removing the tape from the drive use smartctl -A /dev/sg(generic
of drive) to count the corrected errors
You can do this whilst the tape is being written to. If the numbers are
increasing rapidly, either the tape or the drive is dirty.
If it keeps occuring on other tapes, after running a cleaning tape then
the drive is dirty and will need replacing under your support contract.
Qualstar-sourced tapes are all run through a cleaning machine before
repackaging.
Other tapes sometimes come with a bonus of various contamination types
(I've had this happen) and drives themselves are susceptable to picking
up gunk if it's in the local atmosphere - it gets worse if humidity is low.
A clean tape and clean drive will generate almost zero errors. Once
contaminated the numbers just keep increasing.
On 27/05/16 10:02, Ana Emília M. Arruda wrote:
> Hello,
>
> Have you checked if you do not have a Maximum Volume Bytes configured
> in your Pool resource?
>
> Best regards,
> Ana
>
> On Thu, May 26, 2016 at 10:05 PM, Kern Sibbald <k...@sibbald.com
> <mailto:k...@sibbald.com>> wrote:
>
> I recommend to remove the Maximum Network Buffer Size. Bacula
> will figure it out itself.
>
>
> On 05/26/2016 08:43 PM, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS
> INC] wrote:
>>
>> Kern,
>>
>>
>>
>> Okay, Thank you. I will try setting the block size to 512k to
>> improve the speed of writing to the tape. What about the “Maximum
>> Network Buffer Size = 65536*” *I have currently set in my
>> configuration? Should I remove this or change the value I have
>> set? Please let me know.
>>
>>
>>
>> Regards,
>>
>> Uthra
>>
>>
>>
>> *From:*Kern Sibbald [mailto:k...@sibbald.com]
>> *Sent:* Thursday, May 26, 2016 2:35 PM
>> *To:* Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC];
>> bacula-users@lists.sourceforge.net
>> <mailto:bacula-users@lists.sourceforge.net>
>> *Subject:* Re: [Bacula-users] LTO-7 tape drive settings in bacula
>> 7.4.0
>>
>>
>>
>> The defaults for both of those should work out of the box.
>> However, by increasing the Maximum Block Size, you can probably
>> improve the speed of writing to the tape. This is, of course,
>> optional. I would still not set the block size any larger than
>> 512K though.
>>
>> Best regards,
>> Kern
>>
>> On 05/26/2016 08:16 PM, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS
>> INC] wrote:
>>
>> Thank you all for taking the time to reply to my email.
>>
>>
>>
>> We are using LTO-7 tapes with the LTO-7 Tape drives. I don’t
>> think the data transfer rate is an issue in our case. I am
>> thinking of removing the “*MaxBlocksize*” and “*Maximum
>> Network Buffer Size” *I have currently set for the tape
>> drives so that it will use the defaults. I will then run a
>> test backup to see if this helps.
>>
>>
>>
>> Regards,
>>
>> Uthra
>>
>>
>>
>>
>>
>> *From:*Kern Sibbald [mailto:k...@sibbald.com]
>> *Sent:* Thursday, May 26, 2016 7:56 AM
>> *To:* Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC];
>> bacula-users@lists.sourceforge.net
>> <mailto:bacula-users@lists.sourceforge.net>
>> *Subject:* Re: [Bacula-users] LTO-7 tape drive settings in
>> bacula 7.4.0
>>
>>
>>
>> Hello,
>>
>>
>> The tape probably got an error. You should be able to see if
>> there were problems by looking at dmesg output and Bacula
>> output for the job that marked the tape full.
>>
>> The error, if there was one, is very likely coming from the
>> fact that you set the block size too big. I believe that
>> anything more than 512K will probably not improve performance
>> much but it will increase significantly the chances of a
>> write error.
>>
>> Try running some tests with 512K max block size and see if
>> the tape fills up correctly.
>>
>> Best regards,
>> Kern
>>
>>
>>
>> On 25/05/2016 20:04, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS
>> INC] wrote:
>>
>> I have a Qualstar Tapeell library (RLS-87120) with three
>> LTO7 tape drives. It is connected to the backup server
>> directly through Fiber Channel. I am running bacula
>> 7.4. I ran a test backup which completed successfully
>> but I found that the LTO-7 Tape was not used up to its
>> full capacity of 6TB. It wrote 2.6TB and marked the tape
>> “FULL” then moved on to the next tape in the pool. I
>> expected the backup to write 6TB to the tape before
>> marking it “FULL”? Here is the information from my
>> bacula-sd.conf:
>>
>>
>>
>> *Maximum File Size = 50G*
>>
>> * Maximum Network Buffer Size = 65536*
>>
>> * Maximum Block Size = 2097152*
>>
>>
>>
>> The MaxBlock: 8388608 is seen in the tapeinfo command on
>> the tape drive0:
>>
>>
>>
>> # tapeinfo -f /dev/tapedr0
>>
>> Product Type: Tape Drive
>>
>> Vendor ID: 'IBM '
>>
>> Product ID: 'ULTRIUM-HH7 '
>>
>> Revision: 'FA11'
>>
>> Attached Changer API: No
>>
>> SerialNumber: '10WT004131'
>>
>> MinBlock: 1
>>
>> *MaxBlock: 8388608*
>>
>> SCSI ID: 0
>>
>> SCSI LUN: 0
>>
>> Ready: yes
>>
>> BufferedMode: yes
>>
>> Medium Type: 0x78
>>
>> Density Code: 0x5c
>>
>> BlockSize: 0
>>
>> DataCompEnabled: yes
>>
>> DataCompCapable: yes
>>
>> DataDeCompEnabled: yes
>>
>> CompType: 0xff
>>
>> DeCompType: 0xff
>>
>> BOP: yes
>>
>> Block Position: 0
>>
>> Partition 0 Remaining Kbytes: -1
>>
>> Partition 0 Size in Kbytes: -1
>>
>> ActivePartition: 0
>>
>> EarlyWarningSize: 0
>>
>> NumPartitions: 0
>>
>> MaxPartitions: 3
>>
>>
>>
>> I am not sure if the issue I am seeing with the tape not
>> being used to its full capacity is due to the “Max Block
>> size” I have set? What is the recommended setting for
>> LTO-7? If anybody could share your knowledge about this I
>> would really appreciate it. I did some search on the
>> internet and could not find any useful information.
>>
>>
>>
>> Thank you
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> Mobile security can be enabling, not merely restricting.
>> Employees who
>>
>> bring their own devices (BYOD) to work are irked by the
>> imposition of MDM
>>
>> restrictions. Mobile Device Manager Plus allows you to control
>> only the
>>
>> apps on BYO-devices by containerizing them, leaving personal
>> data untouched!
>>
>> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>>
>>
>>
>>
>>
>> _______________________________________________
>>
>> Bacula-users mailing list
>>
>> Bacula-users@lists.sourceforge.net
>> <mailto:Bacula-users@lists.sourceforge.net>
>>
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>>
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition
> of MDM
> restrictions. Mobile Device Manager Plus allows you to control
> only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> <mailto:Bacula-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users