On 2007.06.05. 15:48, Alexandre Bunn wrote:
> Good morning
> 
> I´m with a problem with bacula configuration. My logs follow below
> 
> --- logs ---
> 05-Jun 09:33 bacula-dir: No prior Full backup Job record found.
> 05-Jun 09:33 bacula-dir: No prior or suitable Full backup found in 
> catalog. Doing FULL backup.
> 05-Jun 09:33 bacula-dir: Start Backup JobId 19, 
> Job=Birao.2007-06-05_09.33.40
> 05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Error: dev.c:126 
> Unable to stat device /backups: ERR=No such file or directory
> 05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Warning:
>      Device "FileStorage" requested by DIR could not be opened or does 
> not exist.
> 05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Error: dev.c:126 
> Unable to stat device /backups: ERR=No such file or directory
> 05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Warning:
>      Device "FileStorage" requested by DIR could not be opened or does 
> not exist.
> 05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Error: dev.c:126 
> Unable to stat device /backups: ERR=No such file or directory
> 05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Warning:
>      Device "FileStorage" requested by DIR could not be opened or does 
> not exist.
> 05-Jun 09:33 bacula-dir: Failed command: Jmsg 
> Job=Birao.2007-06-05_09.33.40 type=5 level=1181046823 bacula-dir: 
> Birao.2007-06-05_09.
> 33.40 Warning:
>      Device "FileStorage" requested by DIR could not be opened or does 
> not exist.
> 
> 05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Fatal error:
>      Device "FileStorage" with MediaType "File" requested by DIR not 
> found in SD Device resources.
> 05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Fatal error:
>      Storage daemon didn't accept Device "FileStorage" because:
>      3924 Device "FileStorage" not in SD Device resources.
> ---- logs ----
> 
> See below a part of my bacula-sd.conf
> 
> Device {
>   Name = FileStorage
>   Media Type = File
>   Archive Device = /backups
>   LabelMedia = no;                   # lets Bacula label unlabeled media
>   Random Access = Yes;
>   AutomaticMount = yes;               # when device opened, read it
>   RemovableMedia = no;
>   AlwaysOpen = yes;
> }

do you have a directory named /backups that storage daemon has write 
access to ?
also, unless you are planning to use some pre-made volume files only, 
you probably should use LabelMedia = yes;

i also have AlwaysOpen = no; in my configuration, but i'm too lazy to 
further read documentation right now ;)

> My doubt is:
> 
> In definition FileStorage the Archive Device the /backups has that to be 
> a archive or a directory and what your permition?
> 
> Att,
> 
> Alexandre
-- 
  Rich

-------------------------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to