Hi,
Dnia 18-07-2007 o godz. 10:39 Arno Lehmann napisał(a):
> 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.
>
I added "TWO EOF=yes", but unfortunately, it didn't help. I got:
18-Jul 13:58 Sd:pl-admbackup01: J:RepositoryFull-ncx.2007-07-18_13.53.20
Error: Unable to position to end of data on device "Dev:TS3310-drv0"
(/dev/IBMtape0n): ERR=dev.c:1359 read error on "Dev:TS3310-drv0"
(/dev/IBMtape0n). ERR=Input/output error.
> 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
> >
----------------------------------------------------
Wirtualna Polska zaprasza na Gdańsk Summer Festival.
Koncerty gwiazd w Gdańsku!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fsummerf.html&sid=1224
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users