=0ACongratulations Ruben Lopez=0A=0Ayou're contributing on the developement=
of Bacula=0A=0ANawfel=0A=0A----- Message d'origine ----=0ADe : Richard Mor=
timer <richm < at > ol...>=0A=C0 : Ruben Lopez <r.lopez < at > br...>; bacula=
-users < at > li...=0AEnvoy=E9 le : Mercredi, 14 Mars 2007, 11h45m=
n 07s=0AObjet : Re: [Bacula-users] Bacula is not asking for DVDs=0A=0AHi, =
=0A=0A> -----Original Message-----=0A> From: bacula-users-bounces < at > li...=
rceforge.net =0A> [mailto:bacula-users-bounces < at > li...] On Be=
half =0A> Of Ruben Lopez=0A> Sent: 14 March 2007 10:45=0A> To:=0A bacula-us=
ers < at > li...=0A> Subject: Re: [Bacula-users] Bacula is not ask=
ing for DVDs=0A> =0A> I'm still blocked with this problem, does anybody kno=
w at least if =0A> bacula should ask me for DVD's or if the DVD must be ins=
erted =0A> into the =0A> drive before issuing the backup job?=0A> =0AIt loo=
ks like you found a corner case that never got tested. I=0Ahave tested exte=
nsively with DVDs (blank and used) in the drive=0Aand all works but I proba=
bly never tested without a DVD in the=0Adrive.=0A=0AYou should be able to g=
et working by inserting a DVD before starting=0Aa backup and ensuring that =
there is always a DVD in the drive. As for=0Ayour error it looks like we ne=
ed to add a bit of code to catch the =0Ano DVD in drive case. I don't have =
time to do that at the moment so=0AI suggest that you log a bug on http://b=
ugs.bacula.org so that it=0Adoes not get=0A forgotten.=0A=0ARegards=0A=0ARi=
chard=0A=0A> Thanks=0A> =0A> Ruben Lopez wrote:=0A> > Hi,=0A> >=0A> > We ha=
ve bacula running quite well, and it's doing backups =0A> to tape and =0A> =
disk seamlessly. But when trying to use DVD's we have found =0A> a proble=
m, =0A> > we tried leaving the DVD drive empty, to test if bacula =0A> asks=
for a DVD, =0A> > and we get this message instead:=0A> >=0A> > 08-Mar 10:5=
9 wks188-sd: test-dvd-Job.2007-03-08_10.59.08 =0A> Fatal error: =0A> > dvd.=
c:263 Error writing part 1 to the DVD: ERR=3DError while =0A> writing part =
=0A> > file: Cannot get media info from dvd+rw-mediainfo || errno =0A> =3D=
0 (Success)=0A> >=0A> > I tried the dvd-handler directly and in fact it gi=
ves the =0A> same message: =0A> > Cannot get media info from dvd+rw-mediain=
fo || errno =3D 0 (Success)=0A> >=0A> >=0A dvd+rw-mediainfo /dev/hdc says t=
his:=0A> >=0A> > INQUIRY: [HL-DT-ST][DVDRAM GSA-4167B][DL11]=
=0A> > GET [CURRENT] CONFIGURATION:=0A> >
=0A> >=0A> > And exits with an exit status of 1 (not 0), which makes =0A> d=
vd-handler fail =0A> > also.=0A> >=0A> > I've the patched version of dvd+rw=
-tools, although it =0A> doesn't really =0A> > matter because the patch onl=
y affects growisofs.=0A> >=0A> > This is my device configuration:=0A> >=0A>=
Device {=0A> > Name =3D "DVD-Writer"=0A> > Media Type =3D DVD=0A> > =
Archive Device =3D /dev/hdc=0A> > LabelMedia =3D yes; =
# lets Bacula label=0A =0A> unlabeled media=0A> > Random Access =3D Yes;=
=0A> > AutomaticMount =3D yes; # when device opened, read i=
t=0A> > RemovableMedia =3D yes;=0A> > AlwaysOpen =3D no;=0A> > Maximu=
mPartSize =3D 800M;=0A> > RequiresMount =3D yes;=0A> > MountPoint =3D /=
media/disk;=0A> > MountCommand =3D "/bin/mount -t iso9660 -o ro %a %m";=
=0A> > UnmountCommand =3D "/bin/umount %m";=0A> > SpoolDirectory =3D /d=
isks/wks188d1/temp;=0A> > WritePartCommand =3D "/etc/bacula/dvd-handler %=
a write %e %v"=0A> > FreeSpaceCommand =3D "/etc/bacula/dvd-handler %a fre=
e"=0A> > }=0A> >=0A> > And this is my pool configuration:=0A> > Pool {=0A> =
Name =3D "DVD_CD"=0A>=0A > LabelFormat =3D CD=0A> > Pool Type =3D B=
ackup=0A> > AutoPrune =3D no=0A> > Recycle =3D no=0A> > }=0A> >=0A> > A=
ny idea?=0A> >=0A> > Thanks in advance.=0A> >=0A> > =0A> ------------------=
--------------------------------------------=0A> -----------=0A> > Take Sur=
veys. Earn Cash. Influence the Future of IT=0A> > Join SourceForge.net's Te=
chsay panel and you'll get the =0A> chance to share your=0A> > opinions on =
IT & business topics through brief surveys-and earn cash=0A> > =0A> http://=
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge=0A> &CID=3DDEVD=
EV=0A> > _______________________________________________=0A> > Bacula-users=
mailing list=0A> > Bacula-users < at > li...=0A>=0A > https://lis=
ts.sourceforge.net/lists/listinfo/bacula-users=0A> >=0A> > =0A> =0A> ----=
----------------------------------------------------------=0A> -----------=
=0A> Take Surveys. Earn Cash. Influence the Future of IT=0A> Join SourceFor=
ge.net's Techsay panel and you'll get the =0A> chance to share your=0A> opi=
nions on IT & business topics through brief surveys-and earn cash=0A> http:=
//www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge=0A> &CID=3DDE=
VDEV=0A> _______________________________________________=0A> Bacula-users m=
ailing list=0A> Bacula-users < at > li...=0A> https://lists.source=
forge.net/lists/listinfo/bacula-users=0A> =0A=0A=0A------------------------=
-------------------------------------------------=0ATake Surveys. Earn Cash=
. Influence the Future of IT=0AJoin SourceForge.net's Techsay panel and you=
'll get the chance to share your=0Aopinions on IT & business topics through=
brief surveys-and earn cash=0Ahttp://www.techsay.com/default.php?page=3Djo=
in.php&p=3Dsourceforge&CID=3DDEVDEV=0A_____________________________________=
__________=0ABacula-users mailing list=0ABacula-users < at > li...=
=0Ahttps://lists.sourceforge.net/lists/listinfo/bacula-users=0A=0A=0A=0A=0A=
=0A=0A=0A=09=09 =0AD=E9couvrez une nouvelle fa=E7on d'obtenir des r=E9ponse=
s =E0 toutes vos questions ! =0AProfitez des connaissances, des opinions et=
des exp=E9riences des internautes sur Yahoo! Questions/R=E9ponses.=0A=0A=
=0A=0A=0A=0A=09=0A=0A=09=0A=09=09=0A_______________________________________=
____________________________________ =0AD=E9couvrez une nouvelle fa=E7on d'=
obtenir des r=E9ponses =E0 toutes vos questions ! =0AProfitez des connaissa=
nces, des opinions et des exp=E9riences des internautes sur Yahoo! Question=
s/R=E9ponses =0Ahttp://fr.answers.yahoo.com
