Hi people!

I'm starting to test bacula with a DVD-based storage, version 1.38.5 on
Debian. First I've downloaded the source package of dvd+r-tools, applied
the patch, and re-packaged it to install it later.

I've compiled, install and tried it with a DDS-3 tape drive, and now
I've installed a DVD-Writer, with this 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 = /mnt/dvd;
  MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
  UnmountCommand = "/bin/umount %m";
  SpoolDirectory = /tmp/backup;
  WritePartCommand = "/usr/local/etc/dvd-handler %a write %e %v"
  FreeSpaceCommand = "/usr/local/etc/dvd-handler %a free"
}

...pretty much the default config...

After correcting some permission issues I was able to start a Full
Backup Job (1.8 GB in total, tested in tape), bacula made the first
800MB part, and writed it on the DVD+R disc. After that, the backup job
was cancelled with this error message:

...
13-mar 09:36 cordoba-sd: Remaining free space 4,689,887,232 on
"DVD-Writer" (/dev/hdc)
13-mar 09:36 cordoba-sd: BackupCordoba.2006-03-13_09.25.31 Fatal error:
block.c:804 Unable to open device next part "DVD-Writer" (/dev/hdc):
ERR=Could not mount device "DVD-Writer" (/dev/hdc).

13-mar 09:36 cordoba-sd: BackupCordoba.2006-03-13_09.25.31 Fatal error:
append.c:207 Fatal append error on device "DVD-Writer" (/dev/hdc):
ERR=Could not mount device "DVD-Writer" (/dev/hdc).

13-mar 09:36 cordoba-fd: BackupCordoba.2006-03-13_09.25.31 Fatal error:
backup.c:500 Network send error to SD. ERR=Broken pipe
...

The strange thing is that I can manually mount the DVD and I see the
part file on it.
Now I'm trying to start another backup job and bacula keep telling me this:

13-mar 15:22 cordoba-sd: Please mount Volume "Semanal-0001" on Storage
Device "DVD-Writer" (/dev/hdc) for Job BackupCordoba.2006-03-13_14.22.02

Whether I put the same DVD+R disc or a completely blank one, it tells me
the same thing.

Any ideas? :-|
-- 
Lucas Di Pentima - Santa Fe, Argentina - Jabber ID: [EMAIL PROTECTED]
LUNIX S.R.L. - Soluciones en GNU/Linux - http://www.lunix.com.ar
GnuPG Public Key:
http://random.sks.keyserver.penguin.de:11371/pks/lookup?op=get&search=0x6AA54FC9
Key fingerprint = BD3B 08C4 661A 8C3B 1855  740C 8F98 3FCF 6AA5 4FC9

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to