On Fri, 19 Mar 2004 02:36:32 -0800
Roger Pryor <[EMAIL PROTECTED]> wrote:

RP> On Fri, 19 Mar 2004 09:18:36 -0000 (GMT)
RP> "Andy" <[EMAIL PROTECTED]> wrote:
RP> 
RP> > Hi All,
RP> > I've done quite a few searches and read previous posts but none seem to
RP> > help out my situation.
RP> > 
RP> > I'm using the IDE SCSI emulation (Tape drive is Seagate Model:
RP> > STT20000A) dmesg shows the tape driver loads, identifies the unit and
RP> > then spits out: st: Version 20030403, bufsize 32768, max init. bufs 4,
RP> > s/g segs 16 Attached scsi tape st0 at scsi0, channel 0, id 0, lun 0
RP> > st0: Error with sense data: Current st09:00: sense key Illegal Request
RP> > Additional sense indicates Invalid command operation code
RP> > 
RP> 
RP> Hi:
RP> 
RP> I use the same tape drive.  Don't use SCSI, use hd?=ide-tape in your boot
RP> package.  Then set the blksize to 32k, and then use the 
RP> -test-tape-drive option to verify that it works. Much faster to test. 
RP> 
RP> This drive has one problem:  if the write operation fails, you usually
RP> have to power-cycle the machine (ugh) to restore the drive to sanity.  If
RP> you can fix that one, please let me know how.
RP> 
RP> The relevant bits from my config file are:
RP> 
RP> $type = 'afio';
RP> # Compression
RP> $compress = 'gzip'; # one of false/gzip/bzip2/zip/compress/hardware
RP> $compr_level = '4'; # compression level (1-9) (for gzip/bzip2/zip)
RP> 
RP> $device = '/dev/tape';        (this is linked to /dev/nht0
RP> 
RP> $blksize = '32';
RP> 
RP> $mt_blksize = "0";
RP> 

No luck unfortunately, doing exactly as Roger said, and the test still
fails as follows:


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
|------------------------------------------------------------
| Testing will *erase* the tape currently in the drive!
| Hit CTRL-C to abort within 10 seconds...
|------------------------------------------------------------
| If for some reason this program does not exit within a few minutes,
| Hit CTRL-C, and try adjusting $blksize, $pad_blocks, or $mt_blksize.
|------------------------------------------------------------
| Rewinding & erasing tape...
| Creating index key 200403191920
|------------------------------------------------------------
At block 1.

Writing test file #1
4+1 records in
4+1 records out
At block 6.
Writing test file #2
0+1 records in
0+1 records out
At block 8.
Writing test file #3
4+1 records in
4+1 records out
At block 13.

Rewinding...
Skipping index label...
At block 1.

Reading test file #1
5+1 records in
5+1 records out
At block 6.
Reading test file #2
1+1 records in
1+1 records out
At block 8.
Reading test file #3
5+1 records in
5+1 records out
At block 13.

Comparing...
Files /usr/bin/flexbackup and /tmp/test1.3771 differ
Files /etc/flexbackup.conf and /tmp/test2.3771 differ
Files /usr/bin/flexbackup and /tmp/test3.3771 differ

FAILURE! Problem with tape driver or parameters.  Please see the FAQ
or try changing the $blksize, $pad_blocks, or $mt_blksize settings.


Any more suggestions?? I'm going mad!!

Andy.



-------------------------------------------------------
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