Bacula-users

Re: [Bacula-users] bacula block size

2012-01-31 13:43:14
Subject: Re: [Bacula-users] bacula block size
From: "Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]" <uthra.r.rao AT nasa DOT gov>
To: Alan Brown <ajb2 AT mssl.ucl.ac DOT uk>, John Drescher <drescherjm AT gmail DOT com>
Date: Tue, 31 Jan 2012 12:41:14 -0600
This is what I have done so far:

Added the Minimum Block Size = 262144/Maximum Block Size = 262144 in the 
Bacula-sd.conf

Erased the tape in the tape drive which was in the Append status and re-labeled 
it.

Now if I run tapeinfo:

# tapeinfo -f /dev/sg0
Product Type: Tape Drive
Vendor ID: 'IBM     '
Product ID: 'ULT3580-TD5     '
Revision: 'B5BF'
Attached Changer API: No
SerialNumber: '1068007095'
MinBlock: 1
MaxBlock: 16777215
SCSI ID: 0
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: 0x58
Density Code: 0x58
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x1
DeCompType: 0x1
Block Position: 2
Partition 0 Remaining Kbytes: -1
Partition 0 Size in Kbytes: -1
ActivePartition: 0
EarlyWarningSize: 0
NumPartitions: 0
MaxPartitions: 1

I don't know why the min/max block size still remains the same and has not 
changed to the new value?

Uthra



-----Original Message-----
From: Alan Brown [mailto:ajb2 AT mssl.ucl.ac DOT uk] 
Sent: Tuesday, January 31, 2012 1:34 PM
To: John Drescher
Cc: Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]; bacula-users
Subject: Re: [Bacula-users] bacula block size

On 31/01/12 17:54, John Drescher wrote:

> I believe changing the fixed block size requires this. Also remember 
> that after this change you will not be able to read any tapes that had 
> the default block size. This is why I still use the default at work.

Double check this.

I increased block sizes here but am still able to read older tapes.

It seems the only caveat for LTO is that any tapes currently in use must be 
marked USED before changing max block size - ie, the maximum block size must 
not change in the middle of an open tape.





------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>