I decided that the box I had bacula installed in was a little
week so I removed the 3 hard drives and stuck them in an old AMD Dual Athlon box
I use for testing and building linux stuff on but has been sitting Idle for a few
months. I love linux, try swapping windows hard drives to different hardware like
this and see the pretty blue screens come up!!!!! Anyway this new box also has a
DVD+RW drive so I thought I would experiment with using bacula to write to DVD’s
, here is my configuration; Bacula-sd.conf # # A DVD device # Device { Name =
"DVD-RW" Media Type = DVD Archive Device =
/dev/hdb LabelMedia =
yes;
# lets Bacula label unlabeled media Random Access = Yes; AutomaticMount =
no;
# when device opened, read it RemovableMedia = yes; AlwaysOpen = no; MaximumPartSize =
800M; Requires Mount = yes; Mount Point =
/mnt/dvd; Unmount Command =
"/bin/umount %m"; Spool Directory =
/tmp/backup; Write Part Command =
"/etc/bacula/dvd-handler %a write %e %v" Free Space Command =
"/etc/bacula/dvd-handler %a free" } # And my bacula-dir.conf Job { Name =
"BackupHome" Type =
"Backup" Level =
"Full" Client =
"Server-fd" FileSet =
"Home" Storage =
"dvd" Pool =
"Default" Priority =
"10" Messages = Standard WriteBootstrap =
"/var/bacula/Server-fd.bsr" Write Part After Job =
yes } Storage { Name = dvd Address =
"192.168.0.4" SDPort = 9103 Password =
"password" Device = DVD-RW Media Type = DVD } If you see anything that should be changed please let me know,
I really have no clue as to what I’m doing here but am giving it a shot. After setting up these files I stuck a brand new +RW disc in
the drive and ran the BackupHome job. It starts the job and never really gives
me any errors and doesn’t end the job either all I see is this, Job started. JobId=32 23-Sep 14:50 Server-dir: Start Backup JobId 32,
Job=BackupHome.2006-09-23_14.50.02 23-Sep 14:50 Server-sd: Please mount Volume
"DefaultVolume-0002" on Storage Device "DVD-RW" (/dev/hdb)
for Job BackupHome.2006-09-23_14.50.02 Am I supposed to manually mount the DVD at this point? I
thought bacula wrote to the device in a raw format and didn’t need to be
mounted? And if it does I would think the “mount command =”
derective would take care of this? Here is what I see in my message log; Sep 23 14:50:05 server
kernel: attempt to access beyond end of device Sep 23 14:50:05 server
kernel: hdb: rw=0, want=68, limit=4 Sep 23 14:50:05 server
kernel: isofs_fill_super: bread failed, dev=hdb, iso_blknum=16, block=16 Sep 23 14:50:06 server
kernel: attempt to access beyond end of device Sep 23 14:50:06 server
kernel: hdb: rw=0, want=68, limit=4 Sep 23 14:50:06 server
kernel: isofs_fill_super: bread failed, dev=hdb, iso_blknum=16, block=16 Sep 23 14:50:06 server
kernel: attempt to access beyond end of device Sep 23 14:50:06 server
kernel: hdb: rw=0, want=68, limit=4 Sep 23 14:50:06 server
kernel: isofs_fill_super: bread failed, dev=hdb, iso_blknum=16, block=16 Sep 23 14:50:07 server
kernel: attempt to access beyond end of device Sep 23 14:50:07 server
kernel: hdb: rw=0, want=68, limit=4 Sep 23 14:50:07 server
kernel: isofs_fill_super: bread failed, dev=hdb, iso_blknum=16, block=16 What have I done wrong or forgot to do at all? I am lost as
to where to look, any ideas appreciated. Oh and I am using version 1.38.9 of bacula, Thanks |
------------------------------------------------------------------------- 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