Hello,

On 24.10.2005 21:42, Gustavo Ribeiro wrote:

I have been set Maximum Volumes = 2 and my pool (AngelitoPool) has no volumes ! I want Bacula create a new volume for me !

That's my problem :)

Please, post the console output after the following two commands:
llist pool=xxx
list media pool=xxx

where xxx is to be replaced with the name of the pool that doesn't work.

Arno

When comment Maximum Volumes, volumes will be automatically created.

Gustavo Ribeiro


Arno Lehmann wrote:

Hello,

On 24.10.2005 19:49, Gustavo Ribeiro wrote:

Ok,

In bacula-sd.conf :
Device {
    Name = FileStoAngelito
    Media Type = File
    Archive Device = /archive2/angelito
    Random Access = Yes;
    AutomaticMount = Yes;                  RemovableMedia = no;
    AlwaysOpen = no;
    LabelMedia = Yes;                  }


In my bacula-dir.conf has something like this:

Pool {
    Name = AngelitoPool
    Maximum Volumes = 2
    Pool Type = Backup
    Volume Use Duration = 2 days
    Volume Retention = 4 days
    Recycle = yes
    AutoPrune = yes
    Recycle Oldest Volume = yes
    LabelFormat = "Angelito-Vol"
}

So, i have been configure with "Auto-Label", ok ?



Should be.

But, when i trie this, appear the message in my Bacula Storage :
Device is BLOCKED waiting for appendable media

When i comment Maximum Volumes, it's run.



This means that the maximum number of volumes already exist in the pool in question, and in that case no further volumes will be automatically created. What is Maximum Volumes set to, and how many volumes are assigned to that pool?

Arno

I have been attached all my confs, if you want confirm.


Arno Lehmann wrote:

Hello,

On 21.10.2005 00:44, Gustavo Ribeiro wrote:

Hello guys,

I'm not so good in english, but i will try describe my problem ( I'm thinking, that's a bug):

When i try run a job, that have a empty pool, the storage show me this message:

Device is BLOCKED waiting for appendable media





No error. When there's no volumefor the required pool it waits.

This never happen ! I try run the same job, changing some directives, but not get started.

In job's pool, at bacula-director.conf, i had comment : #Maximum Volumes = 2

And Works !





It would be more useful if you posted the whole pool definition...

This a bug ! ?





Not unless the rest of the pool definition (and the storage) in question doesn't allow automatic volume creation and the device can do so without user intervention...

Or, in other words, to determine if this is a bug we would need much more details.

Arno







--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to