On Saturday 03 June 2006 13:48, Ben Byer wrote:
> I've been banging my head against the wall trying to figure out this
> message:
>
> 3910 Unable to open device "DVD Writer" (/dev/hdd): ERR=There is no
> valid media in the device "DVD Writer" (/dev/hdd).
>
> Label command failed for Volume Windows_DVD.
> Do not forget to mount the drive!!!
>
> ... and the message...
> Please mount Volume "Default-Test-0001" on Storage Device "DVDWriter"
> (/dev/hdd)
>
> ... the real problem has nothing to do with those error messages.
>
> If you build and install dvd+rw-tools from source (using the bacula
> patch), it will default to putting the executables (dvd+rw-format,
> growisofs, etc) in /usr/local/bin.
>
> The python script that bacula uses to control the DVD, dvd-handler, has
> the path for those utilities hard-coded to /usr/bin. Therefore, when it
> tries to check the status, etc, of the DVD, it won't be able to execute
> those utilities, which confuses it and makes it spit out the above
> errors.
>
What you said in the above paragraph is not strictly correct. To the best of
my knowledge Bacula has no paths hardcoded, and in particular, the path to
the tools in dvd-handler are definitely not hardcoded. They are defined when
Bacula is configured. If the tools do not exist on your system, then there
may be specific defaults. More likely in your case, you already had the
tools in /usr/bin (or perhaps that is where the rpm expects them). When
rebuilding the tools from source, you have the choice of where to put the
binaries, and apparently their default does not agree with what was
previously the case (when you built Bacula or when the rpms were built).
> If you're getting those messages, check /etc/bacula/dvd-handler and make
> sure the definitions near the top of the file match the actual locations
> of your dvd+rw tools.
This is a good point.
>
> I just spent several hours trying to troubleshoot this problem, and
> almost gave up on Bacula altogether :(
Unfortunately, your DVD problems may not be over as the current Bacula support
for DVDs is at best BETA.
--
Best regards,
Kern
(">
/\
V_V
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users