Hello,
On 12/30/2005 2:51 PM, Mario Ohnewald wrote:
Hello List,
i would like to back up my files to DVD-RAM.
I simply format my DVD-RAM with: mkfs.ext3 /dev/hdd and then i should be
able to use it.
Sounds reasonable. But, assuming I know a little about how Bacula
handles DVD writing, I suggest you do things differently than now:
You mount the disks (or use the systems automounting support) and give
that path to Bacula as storage device. In other words, ignore the whole
DVD writing chapter and let Bacula use a simple directory for file based
storage.
Problems will arise whenever a disk fills, though.
The other solution would be to implement DVD-Ram support /correctly/,
which would probably start with understanding how DVD writing works, and
then modifying the dvd-handler script to support DVD-Ram.
This is something I considered, and the general direction (using a
well-defined interface for external programs to support a wide range of
low-performance storage devices) sounds clever to me, but as long as DVD
writing itself isn't production-ready, I will not investigate that further.
The whole process of DVD writing from Bacula is complicated: Create part
files, write them to disk, keep track of available storage space,
labeling disks and recycling them... the last two items don't yet work,
I think. Then, during restore or verify jobs, you need the mount points
and mount commands only.
If you intend do implement DVD-Ram support using the framework DVD
writing created, there's some work to do, and I suppose this is
something best coordinated with Kern or Nicolas (who seems to not work
on that project, recently).
Good luck,
Arno
Here is my "broken" config file:
Device {
Name = DVD-Storage; # name of device
Media Type =DVD-RAM; # type of device
Archive Device = /dev/hdd; # device to mount
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = yes; # since its DVD-RAM, its removeable
AlwaysOpen = no; # always mount/umount
#Mount Point = /media/cdrom0; # mount Archive device to /media/cdrom0
}
The Error:
------------
30-Dec 14:40 rt-sd: Client1.2005-12-30_14.40.05 Fatal error:
Archive "DVD-Storage" requested by DIR could not be opened or does
not exist.
30-Dec 14:40 rt-dir: Client1.2005-12-30_14.40.05 Fatal error:
Storage daemon didn't accept Device "DVD-Storage" because:
3925 Device "DVD-Storage" could not be opened or does not exist.
I read the DVD-writing manual, but i think DVD-RAM ist just like a hard
drive really. No need to run any pre or after jobs.
What i am missing in my Device declaration is how bacula knows where to
mount the archive device to, in order to actually write to it.
I am not surprised that bacula gives me that error, but i dont know how
to solve it.
Any ideas/tips?
Thanks, Mario
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users