Bacula-users

[Bacula-users] Fatal error: Device reservation failed

2013-02-01 16:19:58
Subject: [Bacula-users] Fatal error: Device reservation failed
From: contenidos AT edatel.net DOT co
To: <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 01 Feb 2013 15:58:02 -0500
Hello Bacula Friends,

I was on the IRC channel asking for help and after two days compdoc 
suggest me to try the mailing list. Well, this is the situation:

I'm using Bacula 5.2.12 on FreeBSD 9.1 amd64, with a DELL TL4000 (4 
drives LTO5 & autochanger 45 slots). This is the relevant parts of the 
configuration files:

bacula-dir.conf

---
Storage {
     Name = autochanger
     Address = mde-backup
     SDPort = 9103
     Password = "xXxXxX"
     Device = autochanger
     Media Type = LTO-5
     Autochanger = yes
}
---

bacula-sd.conf

---
Autochanger {
     Name = autochanger
     Device = drive0, drive1, drive2, drive3
     Changer Device = /dev/pass1
     Changer Command = "/usr/local/share/bacula/mtx-changer %c %o %S %a 
%d"
}

Device {
     Name = drive0
     Drive Index = 0
     Media Type = LT0-5
     Archive Device = /dev/nsa0
     AutomaticMount = yes
     AlwaysOpen = yes
     RemovableMedia = yes
     AutoChanger = yes
     LabelMedia = yes
     RandomAccess = no
     Hardware End of Medium = no
     Fast Forward Space File = no
     BSF at EOM = yes
     Backward Space Record = no
     Backward Space File = no
     TWO EOF = yes
}

... (three more devices 1-3)
---

And the error

---

01-Feb 15:29 mde-backup-dir JobId 20: Start Backup JobId 20, 
Job=mde-backup.2013-02-01_15.29.10_03
01-Feb 15:29 mde-backup-sd JobId 20: Fatal error: Device reservation 
failed for JobId=20:
01-Feb 15:29 mde-backup-dir JobId 20: Fatal error:
      Storage daemon didn't accept Device "autochanger" because:
      3924 Device "autochanger" not in SD Device resources or no 
matching Media Type.
01-Feb 15:29 mde-backup-dir JobId 20: Error: Bacula mde-backup-dir 
5.2.12 (12Sep12):
   Build OS:               amd64-portbld-freebsd9.1 freebsd 9.1-RELEASE
   JobId:                  20
   Job:                    mde-backup.2013-02-01_15.29.10_03
   Backup Level:           Incremental, since=2013-02-01 14:28:53
   Client:                 "mde-backup-fd" 5.2.12 (12Sep12) 
amd64-portbld-freebsd9.1,freebsd,9.1-RELEASE
   FileSet:                "mde-backup" 2013-01-31 20:09:18
   Pool:                   "isp-weekly" (From Job resource)
   Catalog:                "catalog" (From Client resource)
   Storage:                "autochanger" (From Job resource)
   Scheduled time:         01-Feb-2013 15:29:10
   Start time:             01-Feb-2013 15:29:12
   End time:               01-Feb-2013 15:29:13
   Elapsed time:           1 sec
   Priority:               10
   FD Files Written:       0
   SD Files Written:       0
   FD Bytes Written:       0 (0 B)
   SD Bytes Written:       0 (0 B)
   Rate:                   0.0 KB/s
   Software Compression:   None
   VSS:                    no
   Encryption:             no
   Accurate:               no
   Volume name(s):
   Volume Session Id:      1
   Volume Session Time:    1359750543
   Last Volume Bytes:      0 (0 B)
   Non-fatal FD errors:    1
   SD Errors:              0
   FD termination status:
   SD termination status:
   Termination:            *** Backup Error ***
---

The btape test works flawless, also the autochanger test. The command: 
label barcodes works good too.

Thanks in advance,


Marco

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>