Jason,
Many thanks for your help.
Jason Judge wrote:
>
> Looking at your output though, it seems your tape drive media
> is a very new type (0x47: TR-5). Would this be a Travan? Do
> you have any other media you could try? It may be worthwhile
> upgrading to a later RPM of 'mt-st'. I can't tell you if it
> would work, as I haven't tried it, but the latest version
> (0.7) does recognise your media type so may have fewer
> problems. SME uses version 0.5.
Yes, this is a new Travan 5 drive, in a new server. I've upgraded the mt-st RPM as you suggested, but I get the same problem (in my case, this is that the backup fails with a "Broken Pipe" error when the tape is first put in the drive. Re-running the backup command after a failure, but leaving the tape in place, works OK.
> I would certainly check if there is a firmware upgrade for
> the tape drive first though, as the Input/Output error does
> not come from the 'mt' command, but from the Linux module
> behind the ioctl() function call. When you run the 'tell'
> command and get the Input/Output Error, you should get an
> entry from the kernel module in the 'messages' log. Try
> posting that here to see if there are any clues we can spot.
The firmware is at the latest level, and this tape drive (Seagate STT20000N) is on Mitel's list of supported devices. I just got a couple of new tapes, and can confirm that the problem exists with all the tapes I've tried.
I see the following messages in the messages log:
Apr 14 13:00:37 jeeves kernel: st0: Error with sense data: Info fld=0x2800, Current st09:00: sense key Illegal Request
Apr 14 13:03:52 jeeves kernel: st0: Error with sense data: Info fld=0x2800, Current st09:00: sense key Illegal Request
Apr 14 13:03:52 jeeves kernel: st0: Error with sense data: Info fld=0x1, Current st09:00: sense key Illegal Request
Apr 14 13:03:52 jeeves kernel: st0: Error on write filemark.
I also note that the failing backup indicates it's at block 1:
flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK
|------------------------------------------------
| Doing level 0 backup of all using dump
| Retensioning tape...
| Rewinding & erasing tape...
| Creating index key 200204141337.29
| Tape #0
| Filesystems = / /boot
|------------------------------------------------
At block 1.
|------------------------------------------------
|
However, the working backup is at block 256:
flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK
|------------------------------------------------
| Doing level 0 backup of all using dump
| Retensioning tape...
| Rewinding & erasing tape...
| Creating index key 200204141349.33
| Tape #0
| Filesystems = / /boot
|------------------------------------------------
At block 256.
In a previous posting to me on this subject, Darrell May noted:
"At block 1 means you are failing to write the
initial 32k block at the beginning of your backup. In /sbin/e-smith/backup
you will find this:
/bin/dd if=/dev/zero of="/dev/nst0" bs=32k count=1 > /dev/null 2>&1
This should position the backup to start at a block far after 1. On my
usage I start at block 85. "
I tried this via a template, but wasn't able to get any backup to run successfully at all.
I'm still unclear if this is a flexbackup issue or a hardware problem.
Thanks,
Des