Yvan,
I see that you are running a TL2000 have you run the btape fill test on
your system. If you have did you get any errors?
I seem to be getting the following one.
05-May 15:17 btape: Fatal Error at dev.c:1705 because:
dev.c:1704 Attempt to WEOF on non-appendable Volume
Thanks
H
-----Original Message-----
From: yvan [mailto:yvan AT skywalker.is-a-chef DOT com]
Sent: Monday, May 04, 2009 4:14 AM
To: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Tape MTEOM error with Dell TL2000 (IBM
TS3100)
Hi,
thank you for the advices. We have very similar configurations, and I'm
sure I'm not too far from the solution. I tried to use your settings in
the storage daemon config file, and the "mt" options as well, than I
didn't try so far.
But, as soon as I put those settings, I have another error
Hardware End of Medium = No # defaut is Yes
Fast Forward Space File = No # This line required if above
which is :
3-May 02:20 setmseblx0007-sd JobId 170: Error: Unable to position to end
of data on device "IBMLTO4" (/dev/nst0): ERR=dev.c:1354 ioctl MTFSF
error on "IBMLTO4" (/dev/nst0). ERR=Input/output error.
Strange that it works for you then ... I issued all the "mt" commands
you wrote. Tapeinfo gives me the samed infos as you have, but it's MTFSF
error or MTEOM ...
Regards
Yvan Broccard
I also had very similar problems when I first started testing Bacula.
Now,
I have both TS3100 & TS3200 models running without any issues on
RedHat 4 and 5 servers. My configurations are:
Autochanger {
Name = TS3200_1_DRV1
Device = LTO4_1
Changer Device = /dev/sg7 # This is mapped to the
AutoLoader
Changer Command = "/etc/bacula/config/mtx-changer %c %o %S %a
%d"
}
Device {
Name = LTO4_1
Drive Index = 0
Media Type = LTO4
Archive Device = /dev/nst0 # Device nstX created
automatically by st daemon.
AutoChanger = yes
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes; # Default value yes
RemovableMedia = yes;
RandomAccess = no;
Requires Mount = no;
Maximum Open Wait = 300 # Default value
Maximum Rewind Wait = 300 # Default value
Maximum Changer Wait = 120 # default is 120 secs
Maximum Job Spool Size = 2G # default is unlimited
Spool Directory = "/export/shared/spool"
Label Type = IBM
Check Labels = yes
LabelMedia = no;
Hardware End of Medium = No # defaut is Yes
Fast Forward Space File = No # This line required if above
HEOM is set to "No"
BSF at EOM = no # Default is no
Two EOF = no
Volume Poll Interval = 300 # Poll the drive to seek the
status
}
I also changed the LTO4 tape drives' parameters with the "mt" command.
1. mt -f /dev/st0 stsetoptions
2. mt -f /dev/st0 compression
3. mt -f /dev/st0 stsetoptions buffer-writes
4. mt -f /dev/st0 stsetoptions async-write
5. mt -f /dev/st0 stsetoptions fast-eod
6. mt -f /dev/st0 stsetoptions two-fms
7. tapeinfo -f /dev/sg2
Product Type: Tape Drive
Vendor ID: 'IBM '
Product ID: 'ULT3580-TD4 '
Revision: '77B1'
Attached Changer: No
SerialNumber: '1310016341'
MinBlock:1
MaxBlock:16777215
SCSI ID: 2
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: 0x48
Density Code: 0x46
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x1
DeCompType: 0x1
Block Position: 7920778
HTH
Cheers,
Win
------------------------------------------------------------------------
------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users