On 5 Jul 2006 at 22:13, 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
The above is the important message.
>
> 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
>
> In bacula-sd.conf I have this:
> Device {
> Name = HD500
> Media Type = File
> Archive Device = /mnt/backup500/
Have you tried removing the trailing slash?
> 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?
I still say it's a permission issue. What user is bacula-sd running
as?
I'm assuming /mnt/backup500 is on the SD
>
> 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.
As a self-appointed thread nazi, I'd start a new post for that one.
--
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php
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