Bacula-users

[Bacula-users] 3999 Device "/dev/changer" not found or could not be opened.

2012-04-26 18:22:51
Subject: [Bacula-users] 3999 Device "/dev/changer" not found or could not be opened.
From: "Marchon ." <emaironhead AT gmail DOT com>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 26 Apr 2012 22:19:40 +0000
Hi,

Really really need help

When running bconsole to mount or label the following error occurs.
------
# bconsole
Connecting to Director abnspsrv05:9101
1000 OK: abnspsrv05.cnh-boavista.abnot Version: 5.2.6 (21 February 2012)
Enter a period to cancel a command.
*mount
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
The defined Storage resources are:
     1: File
     2: Autochanger
Select Storage resource (1-2): 2
Connecting to Storage daemon Autochanger at abnspsrv05:9103 ...
3999 Device "/dev/changer" not found or could not be opened.
Enter autochanger drive[0]: 1
Enter autochanger slot: 1
3999 Device "/dev/changer" not found or could not be opened.
------

My TapeLibrary is a Dell TL4000 with two drive.

I did the tests using the mtx-changer and btape successfully. But when I run the error occurs bconsole noted above.

To help in the diagnosis following configuration files.

---bacula-sd.conf---
Autochanger {
  Name = Autochanger
  Device = Drive-1
  Device = Drive-2
  Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/changer
}
Device {
  Name = Drive-1                      #
  Drive Index = 0
  Media Type = LTO-4
  Archive Device = /dev/nst0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
Device {
  Name = Drive-2                      #
  Drive Index = 1
  Media Type = LTO-4
  Archive Device = /dev/nst1
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes

---END---

---bacula-dir.conf session Storage--- 

Storage {
  Name = Autochanger
#  Do not use "localhost" here
  Address = abnspsrv05                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "*****************************"          # password for Storage daemon
  Device = /dev/changer                      # must be same as Device in Storage daemon
  Media Type = LTO-4                  # must be same as MediaType in Storage daemon
  Autochanger = yes                   # enable for autochanger device
}
---END---

Best regards

______________________________________
Ema Iron Head

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users