Hello *,

I've a problem with my 1st bacula installation (quite normal I suppose). I'm 
running bacula 2.0.3 on Debian Etch/i386. It has to backup a single folder on 
DVD, classic full/monthly, diff/weekly, incr/daily schema.

When I enter bacula-console I try a test backup with the "run" command. 
bacula-sd closes the DVD tray but never starts writing.

If I ask "status 2" I get (among other things):

Device status:
Device "DVD-Writer" (/dev/hdb) is not open.
    Device is being initialized.

for a few seconds, and then:

Running Jobs:
Writing: Incremental Backup job Client1 JobId=13 Volume="Backup-0003"
    pool="Default" device=""DVD-Writer" (/dev/hdb)"
    spooling=0 despooling=0 despool_wait=0
    Files=0 Bytes=0 Bytes/sec=0
    FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6

[...]

Device status:
Device "DVD-Writer" (/dev/hdb) is not open.
    Device is BLOCKED waiting for media.

But I've put in bacula-sd.conf :

Device {
  Name = "DVD-Writer"
  Media Type = DVD
  Archive Device = /dev/hdb
  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 = /media/cdrom0;
#  MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
  MountCommand = "/bin/mount %a";
  UnmountCommand = "/bin/umount %m";
  SpoolDirectory = /tmp/backup;
  WritePartCommand = "/etc/bacula/dvd-handler %a write %e %v"
  FreeSpaceCommand = "/etc/bacula/dvd-handler %a free"
}

so the SD should label the media on my behalf, right?

-- 
Virtual Bit di Lucio Crusca
via Isonzo, 5
10069 - Villar Perosa (TO)
http://virtualbit.sulweb.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to