It appears to me that somehow, you have a space in your volume name.
Instead of it being "Vol-0007" it is "Vol-0 007" so Bacula will
actually be looking for Vol-0, which obviously does not exist. Volume
names should never have a space in them, and Bacula attempts to avoid
that, so the "space" may actually be some character that either does not
print or prints like a space.
Bottom line: Something is wrong with the name of Vol-0007 in the catalog.
Best regards,
Kern
On 06/22/2016 11:31 AM, Daniel wrote:
> Hello Vanush
> I think i have found the problem
>
> 15-Jun 12:15 akula-sd JobId 257: Warning: mount.c:220 Open of file
> device "FileStorage-Month" (/mnt/backup/month) Volume "Vol-0
> 007" failed: ERR=file_dev.c:185 Could not
> open(/mnt/backup/month/Vol-0007,OPEN_READ_WRITE,0640): ERR=No such file
> or directory
>
> 15-Jun 12:15 akula-sd JobId 257: Marking Volume "Vol-0007" in Error in
> Catalog.
> 15-Jun 12:15 akula-dir JobId 257: Created new Volume="Vol-0008",
> Pool="Weekly", MediaType="File" in catalog.
> 15-Jun 12:15 akula-sd JobId 257: Labeled new Volume "Vol-0008" on file
> device "FileStorage-Month" (/mnt/backup/month).
> 15-Jun 12:15 akula-sd JobId 257: Wrote label to prelabeled Volume
> "Vol-0008" on file device "FileStorage-Month" (/mnt/backup/mo
> nth)
>
>
>
> volume Vol-0007 is located in /mnt/backup/week/ i don't know if have
> configured correctly my device storage
>
>
> Device {
> Name = FileStorage-Month
> Media Type = File
> Archive Device = /mnt/backup/month
> LabelMedia = yes; # lets Bacula label unlabeled media
> Random Access = Yes;
> AutomaticMount = yes; # when device opened, read it
> RemovableMedia = no;
> AlwaysOpen = no;
> }
>
> Device {
> Name = FileStorage-Week
> Media Type = File
> Archive Device = /mnt/backup/week
> LabelMedia = yes; # lets Bacula label unlabeled media
> Random Access = Yes;
> AutomaticMount = yes; # when device opened, read it
> RemovableMedia = no;
> AlwaysOpen = no;
> }
>
> I am trying to separate the volumes in two different locations
> unfortunately after some backups bacula is unable to find the volumes in
> the correct location.
> I don;'t know if it make any sense but i also have configured two
> different storages
>
> Storage {
> Name = FileMonth
> # Do not use "localhost" here
> Address = 192.168.100.51 # N.B. Use a fully qualified
> name here
> SDPort = 9103
> Password = "Cadhjznn8NmXs3awokGTyNtECfRVpOkYbOo/px8MsPts"
> Device = FileStorage-Month
> Media Type = File
> Maximum Concurrent Jobs = 10 # run up to 10 jobs a the same time
> }
>
>
> Storage {
> Name = FileWeek
> # Do not use "localhost" here
> Address = 192.168.100.51 # N.B. Use a fully qualified
> name here
> SDPort = 9103
> Password = "Cadhjznn8NmXs3awokGTyNtECfRVpOkYbOo/px8MsPts"
> Device = FileStorage-Week
> Media Type = File
> Maximum Concurrent Jobs = 10 # run up to 10 jobs a the same time
> }
>
>
>
> let me know if you noticed something wrong .
>
>
> Thank you
>
>
> On 22.06.2016 11:49, Vanush Misha Paturyan wrote:
>> On Wed, Jun 22, 2016 at 10:16:28AM +0300, Daniel wrote:
>>> Hello everyone
>>>
>>> I have problem with one of my pools (Weekly pool) . I can't figure out
>>> what triggers the creation of new volume and why it appears as VolStatus
>>> error.Any ideas what could be wrong in my config ??? here is my config
>>>
>> I would think something makes Bacula put current volume into error
>> state and then create new one. Anything in the job's log?
>>
>> Misha
>>
>> ------------------------------------------------------------------------------
>> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
>> present their vision of the future. This family event has something for
>> everyone, including kids. Get more information and register today.
>> http://sdm.link/attshape
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users AT lists.sourceforge DOT net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|