here's my device definition:

Device {
  Name = Drive-1                      #
  Drive Index = 0
  Media Type = DLT-8000
  Archive Device = /dev/nst0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  # Enable the Alert command only if you have the mtx package loaded
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
#  If you have smartctl, enable this, it has more info than tapeinfo
#  Alert Command = "sh -c 'smartctl -H -l error %c'"
  Alert Command = "sh -c 'smartctl -l %c'"
}

and my pool's definition in the director is :

# An optimized pool definition for recycling tapes
Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 2 days           # less than one week
  Volume Use Duration = 2 days
  Catalog Files = yes
  Label Format = "ilemTape-"          # Label the Tapes automatically after 
pruning
  Purge Oldest Volume = yes           # Search for the oldest used Volume in 
the Pool when another volume is requested by the sd and none are available

#  Use Volume Once = yes
}

How can I limit my pool to 7 tapes Ryan ?

Thanks for helping



----- Message d'origine ----
De : Ryan Novosielski <[EMAIL PROTECTED]>
À : Michel Meyers <[EMAIL PROTECTED]>
Cc : [EMAIL PROTECTED]; bacula-users@lists.sourceforge.net
Envoyé le : Lundi, 1 Octobre 2007, 14h08mn 05s
Objet : Re: [Bacula-users] The 8th Tape

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michel Meyers wrote:
> Arno Lehmann wrote:
>> Hi,
> 
>> 01.10.2007 11:30,, [EMAIL PROTECTED] wrote::
>>> ---OpenSUSE 10.2, dir, sd, fd; Bacula 2.0.3; HP-Ultrium 1x8 Autoloader 
>>> (with 7 slots full and one empty )---
>>> ---WindowsXP SP2, fd; Bacula 2.0.3---
>>>
>>> Hi the List,
>>>
>>> I have an autoloader of 8 slots but only 7 are full (one is empty), so 
>>> bacula always ask for the 8th tape once the other tapes are full ! so 
>>> how could I tell to bacula to use only 7 tapes and not 8 ? so I can 
>>> avoid receiving such mails (below) in the week-ends ?
>> Bacula really is not very interested in the slots in your autochanger. 
>> It does keep its own inventory of the available tapes. So you probably 
>> need to update the catalog - 'update slots' would be the command for 
>> this - or set up your pools to contain only the volumes you want to use.
> 
> Also note that, if all the other tapes run full and the remaining tape
> is marked as usable, Bacula will request it, no matter whether it is in
> the autochanger or not. To prevent that, mark the tape as used and/or
> ensure that there's always a usable tape in the autochanger (ie recycle
> them more frequently if required...).

Sounds to me like he has automatic labeling turned on and does not limit
his pool to 7 tapes.

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHAP9Fmb+gadEcsb4RAnkZAKCNurV2OEQsFHLe0ERRXyuuyO3woACg33XE
Z3KZNfwImsEUBAdKuxMKeGk=
=mSK7
-----END PGP SIGNATURE-----







      
_____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to