> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of stefan
> Sent: 18 August 2006 15:43
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] can not write to DVD
> 
> 
> > >
> > > but can not find a way to mount the volume. What is wrong here?
> > > How should I mount he volume? Can not find a way!
> >
> > That is probably a leftover from your earlier tests - and a 
> bug that is
> > hopefully fixed in 1.39.x.
> >
> > Basically I'm guessing that bacula managed to create a volume but
> > never wrote it to DVD. Now it wants you to mount the labelled volume
> > but you can't because it doesn't have a label on it!
> >
> > My advice is to "cancel" the job and then use the "update" 
> command to
> > set the "volume status" for Vol0001 to "disabled". Then try running
> > the job again with blank media "dvd-handler /dev/hdc prepare" and
> > let the auto-label get on with writing your data.
> 
> when I do this, without "dvd-handler /dev/hdc prepare" ,cause 
> I dont know what 
> you mean with "dvd-handler /dev/hdc prepare" , then I get the 
> same error:
Bacula comes with a command called dvd-handler it is the command that
you have in /etc/bacula/bacula-sd.conf for WritePartCommand and
FreeSpaceCommand. In your case it seems to be in /etc/bacula/dvd-handler
so using

/etc/bacula/dvd-handler /dev/hdc prepare

should make sure that you have a blank DVD

> 
> "8-Aug 16:35 server-dir: Start Backup JobId 62, 
> Job=Client1.2006-08-18_16.35.20
> 18-Aug 16:35 server-sd: Please mount Volume "Vol0002" on Storage 
> Device "DVD-Writer" (/dev/hdc) for Job Client1.2006-08-18_16.35.20"
> 
> A blank DVD-RW is inside.
Can you mount the DVD? If you can then it isn't blank! The prepare command
erases any filesystem off of the disk


Ok, assuming that doing a prepare doesn't fix stuff I'm wondering if it
is the running as user "bacula" that is the problem here. Try running
as bacula again and do the dvd-handler prepare. If it fails then your system
doesn't allow the bacula user to write to DVD. If that's the case then
it probably is worth running bacula-sd as root for now.

Richard


-------------------------------------------------------------------------
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