Hi, 18.07.2007 10:10,, Mariusz Czulada wrote:: > Hi again, > > I still have problems with my IBM TS3310 library, so again ask for your > help with this. > > I use an IBM xSeries host with CentOS 4.3. DDS-5 internal drive (working > perfectly), and IBM TS3310 tape library, with two LTO-3 drives connected > directly (i mean without FC switch) to two QLogic QLA2460 HBA. IBM tape > drivers taken from IBM site. Catalog is created in PostgreSQL 8.1.5. > Bacula 2.0.2. Both pg and bacula compiled from sources. > > > > After btape tests (went 100% OK) I added some suggested options to > device definition, so now it looks like this: > > ... > Device { > Name = "Dev:TS3310-drv0" > Device Type = tape > Media Type = LTO-3 > Archive Device = /dev/IBMtape0n > AutomaticMount = yes; # when device opened, read it > AlwaysOpen = yes; > RemovableMedia = yes; > RandomAccess = no; > Block positioning = no; # hint from btape > Hardware End of Medium = No # hint from btape > Fast Forward Space File = No # hint from btape > BSF at EOM = yes # hint from btape
This will only work when you also set Two EOFs at tape end, I think. Arno > Autochanger = yes; > Drive Index = 0; > } > > Device { > Name = "Dev:TS3310-drv1" > Device Type = tape > Media Type = LTO-3 > Archive Device = /dev/IBMtape1n > AutomaticMount = yes; # when device opened, read it > AlwaysOpen = yes; > RemovableMedia = yes; > RandomAccess = no; > Block positioning = no; # hint from btape > Hardware End of Medium = No # hint from btape > Fast Forward Space File = No # hint from btape > BSF at EOM = yes # hint from btape > Autochanger = yes; > Drive Index = 1; > } > > Autochanger { > Name = "Achg:TS3310" > Device = "Dev:TS3310-drv0" > Device = "Dev:TS3310-drv1" > Changer Device = /dev/sg6 > Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d" > } > ... > > > The problem appears when tape is reloaded - SD cannot correctly find end > of tape and it marks volue as "Error". In attached file there is a part > of debugged SD log with related elements. The curious case is that it > not always fails! Sometimes one or two reloads works fine, job is > appended to the volume, but after first error all further jobs fail to > append. > > Lately, I tested 2.1.22, hoping for some fixes here, but still have same > problems. I wonder if there is at least a workaround for this, i.e. with > some additional device options. > > Thanks in advance for any help, > > Mariusz Czułada > > ---------------------------------------------------- > Oto pierwsza męska para w historii łyżwiarstwa > figurowego! Zobacz ostrą jazdę po bandzie w komedii > OSTRZA CHWAŁY - w kinach od 20 lipca! > http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fostrza_chwaly.html&sid=1221 > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users