Congratulations Ruben Lopez
you're contributing on the developement of Bacula
Nawfel
----- Message d'origine ----
De : Richard Mortimer <[EMAIL PROTECTED]>
À : Ruben Lopez <[EMAIL PROTECTED]>; bacula-users@lists.sourceforge.net
Envoyé le : Mercredi, 14 Mars 2007, 11h45mn 07s
Objet : Re: [Bacula-users] Bacula is not asking for DVDs
Hi,
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Ruben Lopez
> Sent: 14 March 2007 10:45
> To:
bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Bacula is not asking for DVDs
>
> I'm still blocked with this problem, does anybody know at least if
> bacula should ask me for DVD's or if the DVD must be inserted
> into the
> drive before issuing the backup job?
>
It looks like you found a corner case that never got tested. I
have tested extensively with DVDs (blank and used) in the drive
and all works but I probably never tested without a DVD in the
drive.
You should be able to get working by inserting a DVD before starting
a backup and ensuring that there is always a DVD in the drive. As for
your error it looks like we need to add a bit of code to catch the
no DVD in drive case. I don't have time to do that at the moment so
I suggest that you log a bug on http://bugs.bacula.org so that it
does not get
forgotten.
Regards
Richard
> Thanks
>
> Ruben Lopez wrote:
> > Hi,
> >
> > We have bacula running quite well, and it's doing backups
> to tape and
> > disk seamlessly. But when trying to use DVD's we have found
> a problem,
> > we tried leaving the DVD drive empty, to test if bacula
> asks for a DVD,
> > and we get this message instead:
> >
> > 08-Mar 10:59 wks188-sd: test-dvd-Job.2007-03-08_10.59.08
> Fatal error:
> > dvd.c:263 Error writing part 1 to the DVD: ERR=Error while
> writing part
> > file: Cannot get media info from dvd+rw-mediainfo || errno
> = 0 (Success)
> >
> > I tried the dvd-handler directly and in fact it gives the
> same message:
> > Cannot get media info from dvd+rw-mediainfo || errno = 0 (Success)
> >
> >
dvd+rw-mediainfo /dev/hdc says this:
> >
> > INQUIRY: [HL-DT-ST][DVDRAM GSA-4167B][DL11]
> > GET [CURRENT] CONFIGURATION:
> > :-( no media mounted, exiting...
> >
> > And exits with an exit status of 1 (not 0), which makes
> dvd-handler fail
> > also.
> >
> > I've the patched version of dvd+rw-tools, although it
> doesn't really
> > matter because the patch only affects growisofs.
> >
> > This is my device configuration:
> >
> > Device {
> > Name = "DVD-Writer"
> > Media Type = DVD
> > Archive Device = /dev/hdc
> > LabelMedia = yes; # lets Bacula label
> unlabeled media
> > Random Access = Yes;
> > AutomaticMount = yes; # when device opened, read it
> > RemovableMedia = yes;
> > AlwaysOpen = no;
> > MaximumPartSize = 800M;
> > RequiresMount = yes;
> > MountPoint = /media/disk;
> > MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
> > UnmountCommand = "/bin/umount %m";
> > SpoolDirectory = /disks/wks188d1/temp;
> > WritePartCommand = "/etc/bacula/dvd-handler %a write %e %v"
> > FreeSpaceCommand = "/etc/bacula/dvd-handler %a free"
> > }
> >
> > And this is my pool configuration:
> > Pool {
> > Name = "DVD_CD"
>
> LabelFormat = CD
> > Pool Type = Backup
> > AutoPrune = no
> > Recycle = no
> > }
> >
> > Any idea?
> >
> > Thanks in advance.
> >
> >
> --------------------------------------------------------------
> -----------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the
> chance to share your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
> &CID=DEVDEV
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
>
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> >
> >
>
> --------------------------------------------------------------
> -----------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
> chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
> &CID=DEVDEV
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses.
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users