Hi,
I update my system from 1.38.11 to version 2.2.6 / 2.2.8. My sd server is
connected via fibre channel with a tape library (HP MSL 6060) with 4 LTO-2
drives.
In version 1.38.11 i haven't any problem with the sd server and the drives.
In version 2.2.6/2.2.8, I have the following problem:
The SD-Server can check all the drives (status storage=sgzhBaculaSD2-LTO), but
i can only connect to drive 0 (example mount).
If i want to connect to drive 1 or drive 2 or drive 3 i get the following error
in the director "3999 Device "sgzhBaculaSD2-LTO" not found or could not be
opened.". The SD server give me the following debug
output:
---
sgzhBaculaSD2: dircmd.c:207-0 Message channel init completed.
sgzhBaculaSD2: dircmd.c:214-0 <dird: mount sgzhBaculaSD2-LTO drive=-1
sgzhBaculaSD2: dircmd.c:228-0 Do command: mount
sgzhBaculaSD2: dircmd.c:590-0 Try changer device Drive-1
sgzhBaculaSD2: dircmd.c:611-0 Device sgzhBaculaSD2-LTO drive wrong: want=0
got=1 skipping
sgzhBaculaSD2: mem_pool.c:377-0 garbage collect memory pool
---
I think, the sd server will connect to drive 1 with the false drive index id.
Drive 1 have the id 1 but the sd server want the id 0 (drive wrong: want=0
got=1 skipping). Then i change the drive index to 0 the sd server can mount my
drive, but the autochanger use not the right drive slot (he use 0 and not 1).
I have this problem with all drives where there drive index is greater then 0.
bacula-sd.conf
---
Autochanger {
Name = sgzhBaculaSD2-LTO
Device = Drive-1
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg0
}
Device {
Name = Drive-1 #
Drive Index = 1
Media Type = LTO
Archive Device = /dev/nst1
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes;
Autoselect = yes
Spool Directory = "/var/lib/bacula/tmp"
}
---
Perhaps someone has an idea? In version 1.38.11 it still ran. I think it is a
problem with the Drive Index id.
Thanks
Heiko
-------------------------------------------------------------------------
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