I'm using an HP C5713A SureStore DAT40x6 DDS-4 autochanger,
/dev/sdg1 = changer, /dev/nst0 = drive on RHEL4 with the
bacula-mtx-1.38.11-3 and bacula-mysql-1.38.11-3 rpms

btape "test" and "autochanger" tests pass with no errors

When trying to do the btape "fill" test on two different occasions,
I keep recieving the error messages pasted below.

All other autochanger operations seem to work. (I can use mt , mtx ,
and tar to work with the drive without a problem.)  I saw the same
error posted to the bacula-users before but the submitter said he
resolved the problem without giving details. :-)

Thanks very much and congrats on the recent 2.0 release,
-Jon


========================================
02-Jan 19:46 btape: End of Volume "TestVolume1" at 25:12391 on device
"Drive-1" (/dev/nst0). Write of 64512 bytes got -1.
02-Jan 19:46 btape: Re-read of last block succeeded.
btape: btape.c:2301 Last block at: 25:12390 this_dev_block_num=12391
btape: btape.c:2335 End of tape 25:0. VolumeCapacity=17,314,437,392.
Write rate = 2658.0 KB/s
02-Jan 19:46 btape: End of medium on Volume "TestVolume1"
Bytes=17,314,437,392 Blocks=268,391 at 02-Jan-2007 19:46.
02-Jan 19:48 btape: Invalid slot=0 defined, cannot autoload Volume.
Mount blank Volume on device "Drive-1" (/dev/nst0) and press return when ready:
========================================
04-Jan 11:47 btape: End of Volume "TestVolume1" at 25:12426 on device
"Drive-1" (/dev/nst0). Write of 64512 bytes got -1.
04-Jan 11:47 btape: Re-read of last block succeeded.
btape: btape.c:2301 Last block at: 25:12425 this_dev_block_num=12426
btape: btape.c:2335 End of tape 25:0. VolumeCapacity=17,316,695,312.
Write rate = 2642.6 KB/s
04-Jan 11:47 btape: End of medium on Volume "TestVolume1"
Bytes=17,316,695,312 Blocks=268,426 at 04-Jan-2007 11:47.
04-Jan 11:49 btape: Invalid slot=0 defined, cannot autoload Volume.
Mount blank Volume on device "Drive-1" (/dev/nst0) and press return when ready:
========================================
bacula-sd.conf:
Storage {
  Name = MYSERVERNAME-sd
  SDPort = 9103
  WorkingDirectory = "/var/bacula"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
}
Director {
  Name = MYSERVERNAME-dir
  Password = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
Director {
  Name = MYSERVERNAME-mon
  Password = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  Monitor = yes
}
Autochanger {
  Name = Autochanger
  Device = Drive-1
  Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg1
}
Device {
  Name = Drive-1                      #
  Drive Index = 0
  Media Type = DDS-4
  Archive Device = /dev/nst0
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}

Messages {
  Name = Standard
  director = MYSERVERNAME-dir = all
}
========================================

-------------------------------------------------------------------------
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