Hi Sandro,
please reply to the list...
On 5/9/2007 10:24 PM, Sandro Mendes wrote:
> Hello Arno, thanks for help.
> I'm using Volume Retention=0 just for testing....
> I checked the volume status and there is a lot of jobs in that volume.
Did you check the volume settings with llist, so you can see the
configure Max. number of Jobs on that volume?
> What do you think if I create a new volume and do some tests?
Probably also helpful.
Arno
> Thanks again!
>
>> Hi,
>>
>> On 5/9/2007 10:06 PM, Sandro Mendes wrote:
>>> Hello,
>>> I'm trying to make Bacula automatically create a new volume (file) after a
>>> volume has already 5 jobs.
>>> After the 5 jobs, the volume still increasing the size and not create
>>> another volume.
>>> There is my pool config.:
>>> Pool {
>>> Name = Test
>>> Pool Type = Backup
>>> LabelFormat = "CATALOG-"
>>> Recycle = yes
>>> AutoPrune = yes
>>> Volume Retention = 0 day
>>> Maximum Volume Jobs = 5
>>> Maximum Volumes = 5
>>> }
>> I suspect it's reusing the volumes already... a retention time of 0
>> allows that to happen (and is not really suitable for a production
>> backup :-)
>>
>> Check the volume status with the llist command, or by using the query to
>> show which jobs are stored on the volume.
>>
>> Arno
>>
>>> Device {
>>> Name = FileStorage
>>> Media Type = File
>>> Archive Device = "C:\\Tmp"
>>> LabelMedia = yes # lets Bacula label unlabeled media
>>> Random Access = Yes
>>> AutomaticMount = yes # when device opened, read it
>>> RemovableMedia = no
>>> AlwaysOpen = no
>>> }
>>>
>>> I already run pool update in bconsole after the changes, but still the
>>> same.
>>>
>>> Thanks for help!
>>> Sandro
>>>
>>>> Luca Ferrari wrote:
>>>>> On Tuesday 08 May 2007 Darien Hager's cat, walking on the keyboard, wrote:
>>>>>
>>>>>> Luca Ferrari wrote:
>>>>>>
>>>>>>> 08-mag 17:41 backup-sd: User defined maximum volume capacity 4,000,000
>>>>>>> exceeded on device "sede_samba_storage" (/backup/sede/samba).
>>>>>>>
>>>>>> So far, so good. But since you're backing up to plain old files, you
>>>>>> cannot create a new file on the disk without creating a new volume. In
>>>>>> other words, unless you use an external tool to slice the file up, each
>>>>>> file on the SD's disk is one volume. (Now, a job can have multiple
>>>>>> volumes, and vice-versa...)
>>>>> it's not clear to me what does it mean that all the files will be on a
>>>>> volume
>>>>> and how to impose that a volume can have more than one file. Could you
>>>>> please
>>>>> explain it better?
>>>
>>>>>
>>>> Shorthand:
>>>> "SD-file": A file on a disk on the Storage Daemon, this file is where
>>>> data is backed up to, not from.
>>>>
>>>> Bacula is built around the idea of Volumes. Generally and historically,
>>>> a Volume corresponds to one physical tape cartridge. When you are using
>>>> SD-file backups, each SD-file in the directory is considered a "virtual
>>>> tape".
>>>>
>>>> The key is:
>>>> Volume = SD-File = Virtual Tape Cartridge
>>>>
>>>> All of the files *which are being backed up* are part of a job. A job
>>>> can span multiple volumes(tapes), or multiple jobs can be on a single
>>>> volume(tape), or both at the same time.
>>>>
>>>> Your system has "Maximum Volume Size" at 4GB. This means that after
>>>> /backup/sede/samba has grown past 4GB, it's like a tape cartridge which
>>>> has no more space on it. Your system needs another Volume to put the
>>>> data onto. However, I'm guessing you did not turn on automatic labeling,
>>>> so the system is waiting saying "Uh, I've got more data, but... I need a
>>>> new Volume. Where is it?"
>>>>
>>>> You need to enable automatic labeling so that Bacula will make a series
>>>> of files, like so:
>>>>
>>>> /backup/sede/samba01
>>>> /backup/sede/samba02
>>>> /backup/sede/samba03
>>>> /backup/sede/samba04
>>>> /backup/sede/samba05
>>>>
>>>> ... creating a new file as needed, where each of the listed files is one
>>>> single Volume. For instructions, see the manual here:
>>>>
>>>> http://www.bacula.org/rel-manual/Automatic_Volume_Recycling.html
>>>>
>>>> --
>>>> Darien Hager
>>>> [EMAIL PROTECTED]
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> 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
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>>
>>>
>>> -------------------------------------------------------------------------
>>> 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
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>> --
>> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
--
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users