Op 30/12/2010 12:48, Mister IT Guru schreef:
> On 30/12/2010 11:39, Jeremy Maes wrote:
>> Op 30/12/2010 12:03, Mister IT Guru schreef:
>>> When I run a backup, I end up with this error:
>>>
>>> 30-Dec 10:53 bacula.local JobId 16: Warning: mount.c:217 Open device
>>> "FileStorage" (/backups/default) Volume "BaculaBackups-0001" failed:
>>> ERR=dev.c:549 Could not open: /backups/default/BaculaBackups-0001,
>>> ERR=No such file or directory
>>>
>>> The directories on disk are writable, and I'm not sure how to diagnose
>>> this particular error, some pointers would be appreciated :)
>>>
>>>
>> Usually when I've gotten similar errors it was permissions related.
>> You say that the folder is writeable though so it might be that your
>> FileStorage is configured wrong.
>>
>> Could you post your Storage configuration from your bacula-sd.conf?
>>
>> Is the directory you're writing to a mountpoint that bacula has to mount
>> (like an NFS share) or just a plain directory on a local disk?
>>
>> Kind regards,
>> Jeremy
> I've attached my configuration as requested - Thanks
>
> Device {
> Name = FileStorage
> Media Type = File
> Archive Device = /backups/default
> LabelMedia = yes; # lets Bacula label unlabeled media
> Random Access = Yes;
> AutomaticMount = yes; # when device opened, read it
> RemovableMedia = no;
> AlwaysOpen = no;
> }
Storage settings look ok to me. I do use Requires Mount = no in my
filestorage settings though,
but I'm not entirely sure this is necessary as the manual does not
mention what the default value for this directive is.
However after thinking on it you might still need to check your
permissions again to make sure the folders are all writeable by the
bacula user.
I usually change ownership of the folders to the bacula user to make
sure bacula can access them, and this has always solved the issue in the
past.
Kind regards,
Jeremy
**** DISCLAIMER ****
http://www.schaubroeck.be/maildisclaimer.htm
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|