Bacula-users

[Bacula-users] Device Error

2011-05-04 21:11:06
Subject: [Bacula-users] Device Error
From: Robert Longfield <robert.longfield AT klinsight DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 4 May 2011 21:07:46 -0400
I know I sent this to the mailing list and please forgive me for trying again but I am really at a loss of what my next step needs to be to get backup working.
 
A bit on my setup. I am running Debian 6 with a Dell Powervault 122T. I can load tapes, and mount the tapes but when I tr y to run a bacup from bconsole I get the following errors when I do a 'messages'.
 
KITSrv01-sd JobId 9: Fatal error: Device reservation failed for JobId=9:
KITSrv01-dir JobId 9: Fatal error:
     Storage daemon didn't accept Device "PV-122T-1" because:
     3924 Device "PV-122T-1" not in SD Device resources.
 
In my bacla-sd.conf I have the following which shows the device name: PV-122T-1 and -2
 
  1. Autochanger {
  2. Name = PV-122T
  3. Device = PV-122T-1, PV-122T-2
  4. Changer Command = "/usr/local/bacula/etc/mtx-changer %c %o %S %a %d"
  5. Changer Device = /dev/sg5
  6. }
  7. Device {
  8. Name = PV-122T-1
  9. Drive Index = 0
  10. Media Type = LTO-2
  11. Archive Device = /dev/nst0
  12. AutomaticMount = yes; # when device opened, read it
  13. AlwaysOpen = yes;
  14. RemovableMedia = yes;
  15. RandomAccess = no;
  16. AutoChanger = yes
  17. }
  18. Device {
  19. Name = PV-122T-2
  20. Drive Index = 1
  21. Media Type = LTO-2
  22. Archive Device = /dev/nst0
  23. AutomaticMount = yes; # when device opened, read it
  24. AlwaysOpen = yes;
  25. RemovableMedia = yes;
  26. RandomAccess = no;
  27. AutoChanger = yes
  28. }
In bacla-dir.conf I have the following:
 
  1. JobDefs {
  2.   Name = "DefaultJob"
  3.   Type = Backup
  4.   Level = Incremental
  5.   Client = KITSrv01-fd
  6.   FileSet = "Full Set"
  7.   Schedule = "WeeklyCycle"
  8. #  Storage = File
  9.   Storage = PV-122T-1
  10.   Messages = Standard
  11.   Pool = File
  12.   Priority = 10
  13.   Write Bootstrap = "/var/lib/bacula/%c.bsr"
My full configs can be seen here: http://www.pastebin.ca/2046880
 
Thanks,
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
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>