I have seen the exact same problems in SME V5 that Mike reported in July. I am running on a system with no SCSI - only IDE hd on hda, Seagate STT220000A on secondary IDE as master (hdc) and IDE CD-ROM on secondary IDE as slave (hdd).
The problem is that flexbackup does not seem to create an index, and /var/log/messages issues errors with sense data and invalid command operations code - same as Mike reported.
Command "flexbackup -newtape"
gives:
Oct 28 12:41:04 popeye kernel: st0: Error with sense data: [valid=0] Info fld=0x
0, Current st09:00: sense key Illegal Request
Oct 28 12:41:04 popeye kernel: Additional sense indicates Invalid command operat
ion code
Oct 28 12:41:04 popeye kernel: st0: Error with sense data: [valid=0] Info fld=0x
0, Current st09:00: sense key Illegal Request
Oct 28 12:41:04 popeye kernel: Additional sense indicates Invalid field in param
I have tried the recommended:
/sbin/e-smith/db configuration setprop backup Device /dev/nht0
/sbin/e-smith/signal-event conf-backup
This changed the error codes on "flexbackup -newtape" to:
Oct 28 12:24:19 popeye kernel: ide-tape: hdc <-> ht0, 1000KBps, 6*54kB buffer, 5
400kB pipeline, 130ms tDSC
Oct 28 12:25:15 popeye kernel: ide-tape: ht0: I/O error, pc = a, key = 5, asc
= 80, ascq = 81
Oct 28 12:25:15 popeye kernel: ide-tape: ht0: I/O error, pc = a, key = 5, asc
= 80, ascq = 81
Oct 28 12:25:15 popeye kernel: ide-tape: ht0: I/O error, pc = 10, key = 5, asc
= 80, ascq = 81
Oct 28 12:25:15 popeye kernel: ide-tape: Couldn't write a filemark
In both cases, flexbackup seems to say its OK when you issue the command, in spite of the errors in /var/log/messages
However, also in both cases, "flexbackup -toc" says the tape does not have an index after issuing the "flexbackup -newtape".
Note that I needed to reboot the server after changing the configuration from /dev/nst0 to /dev/nht0 and vice versa - otherwise the device is not found.
When I followed Darrel May's advice on how to read the tape:
mt -f /dev/nst0 rewind
mt -f /dev/nst0 fsf 1
flexbackup -list
I can see the files on the tape from a backup.
Does this mean the errors can be ignored?
Does anyone have any ideas on what to try next - I'm a little confused since the manual states that the Seagate STT220000A is the only supported IDE tape drive - and hardware-wise there isn't anything unusual about my system.