Folks;

not sure whether this is worth a question around, but I think of my
autochanger configuration to be messed-up somehow. By now I tracked
down things as far as having /etc/bacula/scripts/mtx-changer
successfully (un)loading tapes while being called from a shell.
However, while running btape, it seems that nothing happens:

backer:/etc/bacula# btape -c /etc/bacula/bacula-sd.conf /dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:272 Using device: "/dev/nst0" for writing.
23-Mar 09:44 btape: 3301 Issuing autochanger "loaded drive 0" command.
23-Mar 09:44 btape: 3302 Autochanger "loaded drive 0", result: nothing
loaded. 
23-Mar 09:44 btape: 3301 Issuing autochanger "loaded drive 0"
command. 
23-Mar 09:44 btape: 3302 Autochanger "loaded drive 0", result:
nothing loaded. 
btape: btape.c:338 open device "LTO-2" (/dev/nst0): OK


When checking the loader status using mtx after starting btape this
way, I see the drive is empty. Is there anything else I
am still missing right now? 


Environment:
- bacula 1.38.11, Debian unstable, pretty plain configuration by now
- Tandberg LTO-2 autoloader, 1 drive, no barcode reader
- drive-configuration in bacula-sd.conf:

Device {
  Name = LTO-2                       # 
  Media Type = LTO-2
  Archive Device = /dev/nst0
  AutomaticMount = Yes;               # when device opened, read it
  AlwaysOpen = Yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %s %a %d"
  Changer Device = /dev/sg3
  AutoChanger = Yes
#  # Enable the Alert command only if you have the mtx package loaded
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}


Thanks in advance for your patience and any hints,
Kristian

-- 
Dipl.-Ing.(BA) Kristian Rink * Software- und Systemingenieur
planConnect GmbH  * Strehlener Str. 12 - 14 * 01069 Dresden
fon: 0351 4657770 * mail: [EMAIL PROTECTED] * http://www.pm-planc.de

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to