On Tuesday, February 3, 2015 at 2:05:45 PM UTC-2, Marco van Wieringen wrote:
> Hilario Fochi <> writes:
> 
> > Please report to my first post:
> > A LTO-3 = 100% = 567.17GiB. As LTO3 is 400G native, that is 41.8% 
> > compression, I mean 400G * 1.418 = 567.17GiB.
> > 
> > The Data on the LTO-4 tape comes from the same server, (only with more
> > directories included), thus almost same data should be almost same
> > compression, and I would expect it to hold twice the LTO-3 data, and
> > thus the 100% would be 2 * 567.17 = 1,134.34GiB. And thus the correct
> > percentage to be shown would be 80.53% . And that would be correct as
> > this LTO-4 tape is not full yet.
> > 
> > So the problem is that Bareos assumed that an LTO-4 tape is the same size
> > as the LTO-3.
> > 
> Bareos doesn't assume anything, BAT calculates using a SQL query the
> average number of bytes per media type. That is is used as indication
> of the number of bytes it thinks it can write to an medium of the
> same media type. As you are probably mixing media types (which is a 
> normal practice) you won't get anything to valuable.
> 
> If you want to knock yourself out have a look at medialist.cpp which
> contains the code that populates the lists in the medialist.
> 
> -- 
> Marco van Wieringen                   
> Bareos GmbH & Co. KG                  Phone: +49-221-63069389
> http://www.bareos.com                     
> 
> Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
> Komplementär: Bareos Verwaltungs-GmbH
> Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens,
>                  P. Storz, M. v. Wieringen

Do you believe it is possible to implement a reading of the mounted tape Medium 
Type and Density Code (or any other parameter that uniquely identifies the tape 
capacity) so it could make a more accurate calculation?

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to