Hi, On 5/30/2007 9:15 PM, Ryan Novosielski wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > [EMAIL PROTECTED] wrote: >> Ryan, >> >>> 16: List Volumes likely to need replacement from age or errors >>> Choose a query (1-16): Unexpected question has been received. >>> 16 >>> No results to list. >>> >>> ...I currently have no such volumes, but the capability is there. >>> However, there is nothing that retires them except operator >> intervention >>> (I instruct them to look at this e-mail and make the call). I would >>> suggest a change of "Retired" though to "Archive," since it already >> exists. >> >> Looking at the query.sql file where did the values of VolWrites > >> 3999999 and VolMounts > 50 come from? > > Someone in the Bacula project used that as a number.
Might have been me :-) These values work for my DDS and DLT tapes. They definitely don't work for QIC tapes where I set smaller tape file sizes and (once) used block sizes of 1k :-) Please take these values only as place holders for your situation! > I've found that my > DDS4's that go bad are basically always above that number, so it makes > sense to me. It is a good question though -- maybe we'll see if someone > responds. As noted above, the values kind of work for DDS and DLT. > >> I was poking around the manual and it looks like VolWrite is incremented >> each time the maximum file size is reached. From the manual it says that >> the default is 1GB, although I did see a message that stated the default >> was 2GB. It appears that all of my volumes have volwrites > 3999999. I >> have one tape that has over 30,000,000 VolWrites. > > I believe it is 1GB -- not sure where you found the other thing. > >> What should sensible values be for VolWrites and VolMounts be for LTO-2 >> tapes? > > Don't know... you'd have to check your media for information on that, or > perhaps someplace online that has recommendations for this. These values > are fairly easily changed. I, for example, changed that query to exclude > disk volumes, as it's pointless to be checking for volumes that do not > wear out. Difficult... depending on the customers needs, I have used values for VolMounts between 10 and 2000 :-) VolWrites is more or less easily calculated: Say, we increment VolWrites once per GB. LTO tapes might have a typical compressed capacity of 280 GB. That makes 280 VolWrites for a full tape, 20 full writes seeam reasonable for the customers needs, so I'd use 5600 as the limit here. >> How can I check to see what the default value is for VolWrites? > > What do you mean? The default "too many" value? All of this is in > query.sql which is somewhere in the Bacula tree (should be pretty easy > to dig up). Arno -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users