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

Reply via email to