Dear John,
In message <CAEhu1-44eHePjuZFfXMR8vbqowrdbmKoMSwy7J-4S0XsgpVkFQ AT mail.gmail
DOT com> you wrote:
>
> Yes. The robot works on all 3 devices.
I must be missing something very basic. I can address both drives in
my autoloader directly. But when using the autoloader device, it
always grabs device 0 only, like this:
*mount
The defined Storage resources are:
1: File
2: LTOLIB
3: LTO3-0
4: LTO3-1
5: ltos_temp
6: SLR100-0
7: SLR100-1
8: SLR100-2
9: DDS-3
Select Storage resource (1-9): 2
Connecting to Storage daemon LTOLIB at ltos.denx.de:9103 ...
Enter autochanger drive[0]: 1
Enter autochanger slot: 25
3304 Issuing autochanger "load slot 25, drive 0" command.
3305 Autochanger "load slot 25, drive 0", status is OK.
3001 Mounted Volume: INC000L3
3001 Device ""LTO3-0" (/dev/tape/by-id/scsi-35000e11802947001-nst)" is mounted
with Volume "INC000L3"
I select drive 1, but the mount command operates on drive 0 instead.
director - bacula-dir.conf :
# Definition of LTO(3) autoloader
Storage {
Name = LTOLIB
Address = xxx
SDPort = 9103
Password = yyy
Device = LTO3-0, LTO3-1
Media Type = LTO-3
Autochanger = yes
Maximum Concurrent Jobs = 6
}
# Definition of LTO(3) drive #0 in the autoloader
Storage {
Name = LTO3-0
Address = xxx
SDPort = 9103
Password = yyy
Device = LTO3-0
Media Type = LTO-3
Maximum Concurrent Jobs = 6
}
# Definition of LTO(3) drive #1 in the autoloader
Storage {
Name = LTO3-1
Address = xxx
SDPort = 9103
Password = yyy
Device = LTO3-1
Media Type = LTO-3
Maximum Concurrent Jobs = 6
}
Storage server xxx - bacula-sd.conf:
Autochanger {
Name = Autochanger
Device = LTO3-0
Device = LTO3-1
Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/tape/by-id/scsi-1BDT_FlexStor_II_00DE64100465_LL0
}
Device {
Name = LTO3-0
Media Type = LTO-3
Drive Index = 0
Archive Device = /dev/tape/by-id/scsi-35000e11802947001-nst
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Maximum File Size = 5GB
Maximum Block Size = 512K
Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/tape/by-id/scsi-1BDT_FlexStor_II_00DE64100465_LL0
AutoChanger = yes
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
# If you have smartctl, enable this, it has more info than tapeinfo
# Alert Command = "sh -c 'smartctl -H -l error %c'"
# Spool Data to disk before writing to tape
Spool Directory = /backup/spool
Maximum Spool Size = 5120GB
Maximum Job Spool Size = 5120GB
}
Device {
Name = LTO3-1
Media Type = LTO-3
Drive Index = 1
Archive Device = /dev/tape/by-id/scsi-35000e11802947004-nst
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Maximum File Size = 5GB
Maximum Block Size = 512K
Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/tape/by-id/scsi-1BDT_FlexStor_II_00DE64100465_LL0
AutoChanger = yes
# Enable the Alert command only if you have the mtx package loaded
# Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
# If you have smartctl, enable this, it has more info than tapeinfo
Alert Command = "sh -c 'smartctl -H -l error %c'"
# Spool Data to disk before writing to tape
Spool Directory = /backup/spool
Maximum Spool Size = 5120GB
Maximum Job Spool Size = 5120GB
}
Any attempt to access storage "LTOLIB" will always go to drive 0 (aka
"LTO3-0" = /dev/tape/by-id/scsi-35000e11802947001-nst) only.
What am I missing?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd AT denx DOT de
As a general rule, the freedom of any people can be judged by the
volume of their laughter.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|