Hi All,
I've done quite a few searches and read previous posts but none seem to
help out my situation.

I'm using the IDE SCSI emulation (Tape drive is Seagate Model: STT20000A)
dmesg shows the tape driver loads, identifies the unit and then spits out:
st: Version 20030403, bufsize 32768, max init. bufs 4, s/g segs 16
Attached scsi tape st0 at scsi0, channel 0, id 0, lun 0
st0: Error with sense data: Current st09:00: sense key Illegal Request
Additional sense indicates Invalid command operation code

But from what i've found this is normal (!).

When using flexbackup:

flexbackup -test-tape-drive

flexbackup version 1.2.1 (http://flexbackup.sourceforge.net)
/etc/flexbackup.conf syntax OK

|------------------------------------------------------------
| Checking /bin/sh on this machine... bash2
|------------------------------------------------------------
| Trying "mt defblksize" instead of "mt setblk"
Error setting block size
Neither of these commands worked:
  mt -f /dev/nst0 setblk 0
  mt -f /dev/nst0 defblksize 0


Relevant info in the config file:
--CONFIG-- /etc/flexbackup.conf
$type = 'afio';
$device = '/dev/nst0';
$blksize = '0';
$mt_blksize = "0";
$pad_blocks = 'false';
$mt{'setblk'} = 'nop';

(I've tried all the blksize, mt_blksize settings, and also added/removed
the $mt{'setblk'} options and no change to the above error message).

As in the FAQ I tried out:
mt -f /dev/nst0 setblk 32768
        (mt: /dev/nst0: Input/output error)
mt -f /dev/nst0 rewind
mt -f /dev/nst0 erase
find /etc -print | afio -o -z -v -b 32k - | dd ibs=32k obs=32k of=/dev/nst0

mt -f /dev/nst0 rewind
dd ibs=32k obs=32k if=/dev/nst0 | afio -t -z -v -b 32k -

Apart from the setblk command which failed, the rest worked perfectly, and
doing the listing showed the full list of files from /etc as it should, so
it appears the tape drive is working right.

Any suggestions on how to get flexbackup working in this situation??

Thanks for any help!

Andy <[EMAIL PROTECTED]>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
flexbackup-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/flexbackup-help

Reply via email to