I was able to find a combination of settings that seem to have
eliminated the errors and allows the autochanger to correctly load and
unload the volumes.

This is for a Compaq/HP TL892 library running under Solaris 10 x86.

The hardware directives in the bacula-sd.conf file for the Device
entries are:

Offline On Unmount      = no
Hardware End of Medium  = yes
BSF at EOM              = yes
Backward Space Record   = yes
Backward Space File     = yes
Fast Forward Space File = yes
Use MTIOCGET            = yes
TWO EOF                 = yes

----
Alan Davis
Senior Architect
Ruckus Network, Inc.
703.464.6578 (o)
410.365.7175 (m)
[EMAIL PROTECTED]
alancdavis AIM

________________________________________
From: Alan Davis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 05, 2006 4:28 PM
To: 'bacula-users@lists.sourceforge.net'
Subject: tape positioning error TL892/TZ89 drives

I'm getting the following error when I try to put a second full backup
onto tape. Where do I need to start do diagnose the problem?

05-Oct 16:06 athos-sd: FullBackup.2006-10-05_14.32.09 Error: Unable to
position to end of data on device "Drive-1" (/dev/rmt/1cbn):
ERR=dev.c:1298 read error on "Drive-1" (/dev/rmt/1cbn). ERR=I/O error.
05-Oct 16:06 athos-sd: Marking Volume "EJB065" in Error in Catalog.

The tape device settings are based on Dan Langille's article.

I'm also still getting :

05-Oct 16:07 athos-sd: Invalid slot=0 defined, cannot autoload Volume.

Messages when bacula tries to autoload the next tape.

Here's the configuration;

Solaris 10 x86 w/ reasonably current patch cluster
Bacula 1.39.22
Compaq/HP TL892 library, 2 x TZ89 (DLT8000) drives
mtx 1.3.9
mtx-changer modified to parse "list" correctly and mt output for
wait_for_drive

bacula-dir.conf:
Storage {
   Name = TL800
   Address = labtape.ruckus.com
   SDPort = 9103
   Password = "27txx87d0BHagkpOSO9VkgpW4qGj0g7j3Yiygth2Q"          #
password for Storage daemon
   Device = TL800
   Media Type = DLT-8000
   Autochanger = yes
}

Autochanger {
  Name = TL800
  Device = Drive-0, Drive-1
  Changer Command = "/opt/bacula/bin/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/changer
}

Device {
  Name = Drive-0                      #
  Drive Index = 0
  Media Type = DLT-8000
  Archive Device = /dev/rmt/0cbn
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Changer Command = "/opt/bacula/bin/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/changer
  # Enable the Alert command only if you have the mtx package loaded
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Offline On Unmount      = no
Hardware End of Medium  = no
BSF at EOM              = yes
Backward Space Record   = no
Fast Forward Space File = no
TWO EOF                 = yes
  LabelMedia = yes;                   # lets Bacula label unlabeled
media
}

Device {
  Name = Drive-1                      #
  Drive Index = 1
  Media Type = DLT-8000
  Archive Device = /dev/rmt/1cbn
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Changer Command = "/opt/bacula/bin/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/changer
  # Enable the Alert command only if you have the mtx package loaded
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Offline On Unmount      = no
Hardware End of Medium  = no
BSF at EOM              = yes
Backward Space Record   = no
Fast Forward Space File = no
TWO EOF                 = yes
  LabelMedia = yes;                   # lets Bacula label unlabeled
media
}


Alan Davis
Senior Architect
Ruckus Network, Inc.
703.464.6578 (o)
410.365.7175 (m)
[EMAIL PROTECTED]
alancdavis AIM





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