I'm using file storage media type with bacula 1.38.9-10 (Debian) and I
have problems with bacula not being able to open the storage. This is what
happens when trying to label:

*label
Automatically selected Storage: HD500
Enter new Volume name: test
Defined Pools:
     1: Default
     2: mon
     3: tue
     4: wed
     5: thu
     6: fri
Select the Pool (1-6): 3
Connecting to Storage daemon HD500 at fileserver:9103 ...
Sending label command for Volume "test" Slot 0 ...
3910 Unable to open device "HD500" (/mnt/backup500/): ERR=dev.c:450 Could not 
open: /mnt/backup500/test, ERR=Permission denied

Label command failed for Volume test.
Do not forget to mount the drive!!!

When executing mount HD500, this gives an OK message, but the permission
denied problem persists.

The permissions should be OK:
# ls -lhd /mnt/backup500/
drwxrwx---  3 root bacula 4.0K 2006-07-03 23:36 /mnt/backup500/

This is definition in my bacula-sd.conf:

Device {
  Name = HD500
  Media Type = File
  Archive Device = /mnt/backup500/
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

When running backup:
04-Jul 10:17 fileserver-sd: Job BackupFull.2006-07-04_10.17.44 waiting. Cannot 
find any appendable volumes.
Please use the "label"  command to create a new Volume for:
    Storage:      "HD500" (/mnt/backup500/)
    Media type:   File
    Pool:         Default
*status sd
Automatically selected Storage: HD500
Connecting to Storage daemon HD500 at fileserver:9103

fileserver-sd Version: 1.38.9 (02 May 2006) i386-pc-linux-gnu debian 3.1
Daemon started 04-Jul-06 10:16, 0 Jobs run since started.

Running Jobs:
Writing: Full Backup job BackupFull JobId=15 Volume=""
    pool="Default" device=""HD500" (/mnt/backup500/)"
    Files=0 Bytes=0 Bytes/sec=0
    FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6
====

Jobs waiting to reserve a drive:
====
No Terminated Jobs.

Device status:
Device "HD500" (/mnt/backup500/) is not open or does not exist.
    Device is BLOCKED waiting for media.
Device "HD80" (/mnt/backup80/) is not open or does not exist.
====

In Use Volume status:
====



What could be wrong?

-- 
Frederk Himpe


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to