Bacula-users

Re: [Bacula-users] Volume Doesn't create automatically

2012-04-12 04:24:01
Subject: Re: [Bacula-users] Volume Doesn't create automatically
From: Joe Nyland <joe AT joenyland.co DOT uk>
To: Bacula Users <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 12 Apr 2012 09:21:11 +0100
-----Original message-----
From:   Juan Pablo Botero <juanpabloboterolopez AT gmail DOT com>
Sent:   Wed 11-04-2012 20:20
Subject:        [Bacula-users] Volume Doesn't create automatically
Attachment:     inline.txt, inline.txt
To:     bacula-users AT lists.sourceforge DOT net; 
> Hello.
> 
> When is necessary that bacula uses the next Volume i Got the 
> 
> 511 578 092 (01:56 p.m.):
> 1-abr 12:35 bacula-sd JobId 35: Warning: mount.c:227 Open device 
> "StorageDevice" (/bks/) Volume "Vol0002" failed: ERR=dev.c:549 Could not 
> open: 
> /bks/Vol0002, ERR=No such file or directory
> 
> The bacula-sd.conf in section Device is:
> 
> # 
> Device {
>     Name = StorageDevice
>     Media Type = File
>     Archive Device = /bks
>     LabelMedia = yes
>     AutomaticMount = yes
>     AlwaysOpen = no
> }
> 
> That was today; is there any value that i forgot to automatically create the 
> volume?
> 
> Thanks.
> 
> -- 
> Cordialmente:
> Juan Pablo Botero
> Administrador de Sistemas informáticos
> Fedora Ambassador for Colombia
> http://www.jpilldev.net <http://www.jpilldev.net> 
> 
> 

It might be worth showing the list your Storage and Pool resources from 
bacula-dir.conf too.

Nonetheless, the first things that come to my mind with this message is:
 - Run 'ps aux | grep bacula-sd' and check who the Bacula SD is running as and 
if possible find what group it's running under.
 - Check permissions on the directory /bks/ - make sure that the user/group 
above has full permissions to this directory.
 - Does the file /bks/Vol0002 actually exist on the filesystem? If not, has the 
volume /bks/Vol0002 been manually deleted from the filesystem, without being 
deleted from the Bacula catalog?

HTH

Joe

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users