-----Ursprüngliche Nachricht-----
Von: Martin Simmons [mailto:martin AT lispworks DOT com]
Gesendet: Freitag, 20. Januar 2012 13:22
An: bacula-users AT lists.sourceforge DOT net
Betreff: Re: [Bacula-users] Tapes not in autochanger are being recycled
>>>>> On Thu, 19 Jan 2012 16:02:51 +0100, Michael Triska said:
>>
>> we are running bacula 5.2.3 on centos with an Adic Scalar 100
>> Autochanger. Two times a week the tapes with volstatus full are changed with
>> new and/or expired tapes. New tapes are labeled via "label barcodes" and
>> added to the scratch pool, then "update slots" is run in bconsole.
>>
>> Everytime a job starts and no appendable volumes are available in the
>> corresponding pool, bacula purges the oldest expired volume and requests it
>> to mount, although InChanger=0 is set. Our expectation would be that bacula
>> uses a volume from Scratch pool if no expired media is online within the
>> corresponding pool the job uses, but instead it requests the oldest expired
>> volume, regardless of its InChanger flag set to 0.
>>
>> ...
>>
>> # bacula storage ressource
>> #
>> Storage {
>> Name = STOR_ADICSCALAR
>> Address = backup-sd.backup
>> SDPort = 9103
>> Password = "dummy"
>> Device = DEV_ADICSCALAR
>> Media Type = LTO-3
>> Maximum Concurrent Jobs = 3
>> AllowCompression = No
>> }
>I think you need to add Autochanger = yes here in the bacula-dir.conf. The
>Director needs to know that it is using an autochanger, otherwise it ignores
>the InChanger field.
Thanks for the response.
We have added Autochanger = yes in the bacula-dir.conf.
In the next time I will see if that solves the problem and if the inchanger
flag is recognized now.
>> # bacula device ressource
>> #
>> Autochanger {
>> Name = "DEV_ ADICSCALAR"
>> Device = Drive0
>> Device = Drive1
>> Device = Drive2
>> Changer Device = /dev/tape/by-id/scsi-dummy #Adic_Scalar Changer
>> Changer Command = "/opt/bacula/scripts/mtx-changer_Adic %c %o %S %a %d"
>>
>> }
>>
>> Device {
>> Name = " ADICSCALAR_WR31_SD-2_Drive0"
>> Media Type = LTO-3
>> Archive Device = /dev/tape/by-id/dummy
>> DriveIndex = 0
>> LabelMedia = no;
>> AutoChanger = yes
>> AutomaticMount = yes;
>> AlwaysOpen = yes;
>> RemovableMedia = yes;
>> Maximum Concurrent Jobs = 1
>> Maximum Network Buffer Size = 65536
>> Maximum Spool Size = 286613470000 # ca. 274GB
>> # Maximum Job Spool Size = 53687091200 # ca. 50GB
>> Maximum Job Spool Size = 42949672960 # ca. 40GB
>> Spool Directory = /backup/SPOOL
>> }
>Have you edited these definitions before posting them? The device names don't
>seem to match.
Unfortunately yes
Michael
------------------------------------------------------------------------------
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
|