[Bacula-users] Slots no longer seen after "Changer Device" changed
2008-11-11 08:52:16
Hi folks,
Yesterday, I added a second FC disk to my Bacula test server which altered the "Changer Device" number from /dev/sg2 to /dev/sg3. I edited bacula-sd.conf file to reflect the update, restarted the Bacula daemons and when I tried updating the slots from "bconsole", got error message saying "No slots in changer to scan."
When I ran mtx-changer command manually it works without any issues. # ./mtx-changer /dev/sg3 list 1 /dev/nst0 0 2:101ADU 3:102ADU 4:103ADU 5:104ADU 1:100ADU
Looking at the mtx.log files, I noticed the "update slot" commands I issued are still pointing to /dev/sg2.
------------------------- Output from tests ---------------------------------------- # date;./mtx-changer /dev/sg3 list 1 /dev/nst0 0 Tue Nov 11 08:40:22 EST 2008 2:101ADU 3:102ADU 4:103ADU 5:104ADU
1:100ADU
# date;bconsole << eof > update slots Storage=TS3100_1 > eof Tue Nov 11 08:40:46 EST 2008 Connecting to Director baculatest:9101 1000 OK: baculatest-dir Version: 2.4.2 (26 July 2008)
Enter a period to cancel a command. update slots Storage=TS3100_1 Automatically selected Catalog: MYSQL Using Catalog "MYSQL" Connecting to Storage daemon TS3100_1 at baculatest:9103 ... 3306 Issuing autochanger "slots" command.
Device "LTO4_1" has 0 slots. No slots in changer to scan.
# tail /var/bacula/working/mtx.log 20081111-08:40:22 Parms: /dev/sg3 list 1 /dev/nst0 0 20081111-08:40:22 Doing mtx -f /dev/sg3 -- to list volumes
20081111-08:40:22 Doing barcode status from list parameter 20081111-08:40:23 The return value for list is 20081111-08:40:46 Parms: /dev/sg2 slots 0 /dev/nst0 0 20081111-08:40:46 Doing mtx -f /dev/sg2 -- to get count of slots
------------------------ end of output --------------------------------------------------
Any idea why Bacula is still insisting upon /dev/sg2?
I looked through all Bacula config files to make sure nothing else is pointing to /dev/sg2. I'm running CentOS 5.2 (64bit) with Bacula 2.4.2.
Thanks in advance.
Win
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________
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> |
- [Bacula-users] Slots no longer seen after "Changer Device" changed,
Win Htin <=
|
|
|