Hi,

On 7/5/2006 10:13 PM, Frederik wrote:
> I have a file storage which I want to label:
> 
> *label
> Automatically selected Storage: HD500
> Enter new Volume name: wed0001
> Defined Pools:
>      1: Default
>      2: mon
>      3: tue
>      4: wed
>      5: thu
>      6: fri
> Select the Pool (1-6): 4
> Connecting to Storage daemon HD500 at fileserver:9103 ...
> Sending label command for Volume "wed0001" Slot 0 ...
> 3910 Unable to open device "HD500" (/mnt/backup500/): ERR=dev.c:450
> Could not open: /mnt/backup500/wed0001, ERR=Permission denied
> 
> Label command failed for Volume wed0001.
> Do not forget to mount the drive!!!
> 
> A mount HD500 gives the message that the device is always mounted, so
> that is not the problem. Permissions do not seem to be a problem
> either:
> 
> # ls -ld /mnt/backup500
> drwxrwx---  3 root bacula 4096 2006-07-03 23:36 /mnt/backup500

but it does seem to be a problem... Does the SD run as user bacula, 
group bacula? Is this a NFS-mounted file system? Do you use SELinux or 
AppArmor? What is in the directory?

> In bacula-sd.conf I have this:
> 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;
> }
> 
> What could be wrong here?

Lots of stuff, but the SD config doesn't look suspicious.

> Other unrelated question, is there a way to not repeat the messages
> each 1,2,4,8,etc. hours? It seems a bit useless to receive the same
> e-mail message over and over again.

That's not only the message repeated, it's the attempt to process the 
job (as far as I know). For example, if after three hours a volume can 
be purged, it will be recycled and immediately used. I can't prove that, 
though, as I try to have enough space available :-)

Arno

-- 
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to