I tried to see if I could get bacula to use dvd media
with version 1.37.38 but I have ran into the same
problem with both DVD+R and DVD+RW media. When I go to
label either the program states the disk is not empty.
I did a dvd+rw-mediainfo on the DVD+R disk and it was
indeed blank. Here is the bacula message:

Connecting to Director jmd0:9101
1000 OK: jmd0-dir Version: 1.37.38 (04 September 2005)
label
Using default Catalog name=MyCatalog DB=bacula
The defined Storage resources are:
     1: File
     2: DVD
Select Storage resource (1-2): 2
Enter new Volume name: DVD001
Automatically selected Pool: Default
Connecting to Storage daemon DVD at jmd0:9103 ...
Sending label command for Volume "DVD001" Slot 0 ...
3910 Unable to open device "DVD-WRITER" (/dev/dvd):
ERR=The media in the device "DVD-WRITER" (/dev/dvd) is
not empty, please blank it before writing anything to
it.

Label command failed for Volume DVD001.
Do not forget to mount the drive!!!

And My config:

#
# A DVD device
#
Device {
  Name = "DVD-WRITER"
  Media Type = DVD
  Archive Device = /dev/dvd
  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 = /mnt/dvd;
  MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
  UnmountCommand = "/bin/umount %m";
  SpoolDirectory = /tmp/backup;
  WritePartCommand = "/etc/bacula/dvd-writepart %n %a
%v"
  FreeSpaceCommand = "/etc/bacula/dvd-freespace %a %n"
}

Here are some system specs:
bacula # uname -a
Linux jmd0 2.6.13-gentoo #1 SMP Sat Sep 3 22:38:34 EDT
2005 i686 AMD Athlon(tm) MP 2200+ AuthenticAMD
GNU/Linux


Any ideas?

Thanks in Advance,
John



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to