Hi,

I've installed the bacula CVS snapshot as of 07.06.2005
I've tested it with a file backup and it works OK but I
can't make it to write my volumes on a DVD-RW.

Here is my configuration:
===== bacula-dir.conf =====
#Definition of the DVD file storage

Storage {
 Name = DVD
 Address = abulafia.savatech.ro
 SDPort = 9103
 Password = "..."
 Device = "SONY DRU-700A"
 Media Type = DVD
}

Pool {
 Name = FullBackup
 Pool Type = Backup
 Recycle = yes
 AutoPrune = yes
Volume Retention = 10 minutes Accept Any Volume = yes Maximum Volume Bytes = 2147483500 # 2 GB is the maximum size of a file on an ISO9660 file system
 Maximum Volume Jobs = 1 # each backup job gets its own set of volumes
 Maximum Volumes = 4
 Volume Use Duration = 1d
 Label Format = "DVD${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${NumVols}"
}

==== bacula-sd.conf ======
#
# A DVD device
#
Device {
 Name = "SONY DRU-700A"
 Media Type = DVD
 Archive Device = /dev/cdroms/cdrom0
 LabelMedia = yes;                   # lets Bacula label unlabeled media
 Random Access = Yes;
 Automatic Mount = yes;               # when device opened, read it
 Removable Media = yes;
 AlwaysOpen = no;
 MaximumPartSize = 100M;
 Maximum Spool Size = 200M;
 RequiresMount = yes;
 MountPoint = /mnt/cdrom;
#  MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
 MountCommand = "/bin/mount %m";
 UnmountCommand = "/bin/umount %m";
 Spool Directory = /home/bacula/bin/working/backup;
 WritePartCommand = "/home/bacula/bin/dvd-writepart %n %a %v"
 FreeSpaceCommand = "/home/bacula/bin/dvd-freespace %a %n"
}

The problem is that I'm not able to label the media. If I issue the 'label'
command in the bconsole I get the following error:

3910 Unable to open device "SONY DRU-700A" (/dev/cdroms/cdrom0): ERR=Could not mount device "SONY DRU-700A" (/dev/cdroms/cdrom0).

This is because the DVD is blank. If I insert a DVD already with iso9660 on it everything goes OK and I can see the new volum in the Catalog. The problem comes when bacula wants to write the volume on the DVD. Because the volume is the first one it issues a 'growisofs -Z ...' command not a 'growisofs -M ...' and it fails again because there is already an iso9660 fs on the DVD.

I'm starting with 3 brand new DVD-RWs and 3 brand new DVD+RWs and a SONY DRU-700A burner. I have to mention that I am able to write files on the DVDs using growisofs and all mount/unmountCommands work fine from command line.
Can anybody teach me how to build a pool of DVD-RWs to backup on?

Thanks in advance,
Dan Corneanu.


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to