Hi All,
I wonder if someone might have some idea to the issue I am seeing ...
I did have 2 Autochangers (L200 - 8 Tapes) and I used to be able to
issue within bconsole issue an update slots command, which seemed to
work fine (it would report 8 slots) - worked for both units and ran
Bacula lovely :-)
However I have now obtained a single Autochanger - ATL L500 (14 slots
which contains 2 drives) to which the same command does not seem to
work ....
I have made the appropriate changes to the bacula-sd.conf and to
bacula-dir.conf ( just for the new unit as bacula worked fine). But
still no joy..
Here is what I am experiencing:
I thought I would check the mtx-changer script, checked the debug
output in mtx.log
[EMAIL PROTECTED]:/var# /etc/bacula/scripts/mtx-changer /dev/sg6 slots 0 /
dev/nst0 0
14
-or-
[EMAIL PROTECTED]:/var# /etc/bacula/scripts/mtx-changer /dev/sg6 slots
14
So the mtx-changer script seems to be fine...
However inside bconsole I get the following error:
[EMAIL PROTECTED]:/var# bconsole
Connecting to Director pegasus:9101
1000 OK: pegasus-dir Version: 2.2.8 (26 January 2008)
Enter a period to cancel a command.
*update slots
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: DLT
Enter autochanger drive[0]:
Connecting to Storage daemon DLT at pegasus:9103 ...
3306 Issuing autochanger "slots" command.
Device "ATL" has 0 slots.
No slots in changer to scan.
In the bacula-sd.conf I have...
Autochanger {
Name = "ATL"
Device = Drive0, Drive1
Changer Device = /dev/sg6
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
}
#
# List Directors who are permitted to contact Storage daemon
#
Director {
Name = pegasus-dir
Password = "***********************"
}
#
# Restricted Director, used by tray-monitor to get the
# status of the storage daemon
#
Director {
Name = pegasus-mon
Password = "***********************"
Monitor = yes
}
#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
# same Name and MediaType.
#
Device {
Name = Drive0 #
Drive Index = 0
Device Type = Tape
Media Type = DLT-8000
LabelMedia = yes;
Archive Device = /dev/nst0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = no;
RemovableMedia = no;
RandomAccess = no;
AutoChanger = yes
Spool Directory = /spool
Maximum Job Spool Size = 53687091200
Changer Device = /dev/sg6
Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
Device {
Name = Drive1 #
Drive Index = 1
Device Type = Tape
Media Type = DLT-8000
LabelMedia = yes;
Archive Device = /dev/nst1
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = no;
RemovableMedia = no;
RandomAccess = no;
AutoChanger = yes
Spool Directory = /spool
Maximum Job Spool Size = 53687091200
Changer Device = /dev/sg6
Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
Something silly I am doing wrong or a bug ? Any pointers would be
really appreciated :-)
Regards
Matt Brown
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users