Hello,

18.12.2007 00:47,, pedro moreno wrote::
> Hi.
> 
>    I have been working with some tapes for some months, i was
> wondering how much data my tape have been writing && erasing.
> 
>    I use the command query option 16 and receive this data:
> 
> +---------------+--------+--------+------------+--------+
> | Volume        | Mounts | Errors | Writes     | Status |
> +---------------+--------+--------+------------+--------+
> | FullTape-0007 |     10 |      0 | 19,008,158 | Full   |
> | FullTape-0015 |      3 |      0 |  4,982,277 | Used   |
> | FullTape-0014 |      3 |      0 |  5,149,360 | Used   |
> | FullTape-0004 |      3 |      0 |  4,796,619 | Used   |
> | FullTape-0001 |      3 |      0 |  5,153,608 | Used   |
> | FullTape-0013 |      5 |      0 |  8,990,607 | Used   |
> | FullTape-0011 |      7 |      0 | 10,309,906 | Used   |
> | FullTape-0010 |      9 |      0 | 13,201,649 | Used   |
> | FullTape-0009 |      9 |      0 | 18,643,901 | Used   |
> | FullTape-0008 |      9 |      0 | 17,578,293 | Used   |
> | FullTape-0006 |     10 |      0 | 15,953,200 | Used   |
> | FullTape-0005 |     11 |      0 | 20,655,434 | Used   |
> | FullTape-0003 |     11 |      0 | 20,101,553 | Used   |
> | FullTape-0002 |     11 |      0 | 19,915,631 | Used
> 
> Now i can see that i don't have any errors, now, what about the other fields:
> Mount, is how many times, bacula have been using the command Mount for
> the volume?  This is my bacula-sd.conf for my tape:

Not only command line mounts, but also automatically initiated ones. 
Basically, this is the number of times the tapes have been loaded to a 
drive.

...
>   The option AlwaysOpen=yes, my understanding is, once bacula use the
> command Mount, will always keep the device opened, until he fished all
> the jobs, in my case they are each weekend 10 jobs = 95GB total, each
> monday 7 jobs = 70GB total.

If (and I'm not sure this is the case here as I didn't check this in 
the code) the mount counter works as I expect, it will only be 
incremented when a tape is actually loaded or accessed the first time 
after you manually load it.

>   My volume retention period is: 80 days.
> 
>   HP say this about this tapes:
> 
> Technology    Load Unload Cycles      Full Volume Back ups (FVB)      Number 
> of Passes
> Ultrium          20,000                           260         
>         1,000,000
> 
>   Them, could please someone explain me what bacula tell me with this
> info, i will appreciated a lot.

The query should be adapted to your needs, i.e. you should modify the 
thresholds in the query.sql file, which is rather simple.

The errors and mounts columns are rather simple to modify, I think. If 
you want to get useful thresholds for the no. of writes, you should 
take your average (or maximum) effective volume capacity, divide thet 
by the block size you use (probably about 64 k) and multiply with the 
260 full backups HP claim the tapes can stand. The result would be 
your maximum number of writes per tape - or somewhat close to it.

Does that help you?

Arno


>   OS: Freebsd 6.1-p16
>   Drive: HP Storage Works 232 External.
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to