Re: mt eof + Travan = Operation not permitted

1997-03-18 Thread meierrj
Jens, Ken, and any other interested parties

Thank you for your able assistance with the mt(8).  The secret was
the need to use mt erase on a tape.  This works for linux 2.06, but does
not work for linux 1.2.13 (Operation not permitted).  I understand that
patch 56(?) addressed this problem for linux 1.2.13.

If you have time, I am curious.  What is the action performed by
erase that makes multiple file storage possible?  Why is only the first
file accessible if erase is not performed?  I understood that tape
operations recorded nominally-fixed-length blocks of bits on the tape with
eof marks in between, and an eot at the end.  Tar by default writes several
file blocks followed by two eof marks.

...++..++.++*
^^^  ^^  ^file blocks
   ^^  ^^ ^^  6 eof marks (2/file by convention)
^ eot mark

What is the difference between a pre-formatted (QIC02?) tape and a tape
after mt erase?

Curious,
-- 
Robert Meier

"Albert Einstein in 1906,
Set out a theory, the universe to fix.
No longer apart, space and time came together,
Their wrinkles account for the fall of a feather."
Physicists by Robert Meier

FANUC Robotics North America, Inc.  Internet: [EMAIL PROTECTED]
Voice: 1-810-377-7469   Fax:  1-810-377-7363


Re: mt eof + Travan = Operation not permitted

1997-03-17 Thread Ken Gaugler
Jens B. Jorgensen wrote:
> 
> [EMAIL PROTECTED] wrote:
> >
> > Debians,
> >
> > Thank you in advance for any help.
> >
> > I recently upgraded my Slackware 3.0 (linux 1.2.13) system to Debian
> > 1.1 (linux 2.0.6) via InfoMagic's Dec 96 6 cd set, and was disappointed that
> > mt(1) limitations were not lifted.
> >
> > Summary:How can I read and write multiple archives on a floppy tape?
> > Is anyone writing multiple archives on a Travan floppy tape?
> >
> > Problem:mt -f /dev/nrft0 eof
> > reports "Operation not permitted"
> > I understood that this was a limitation of linux 1.2.13 but not
> > of linux 2.0.6.
> >
> > tar -cvf /dev/nrft0 .
> > tar -cvf /dev/nrft0 ./.deleted
> > writes the first file (archive of .)
> > does not write the second file (archive of ./.deleted)
> >
> > 400MB tapes have ~10%/400MB read error rate.
> > I suspect that the Travan T-1000 motor is only marginally capable
> > of handling the moment of inertia of 400MB tapes.
> >
> > Workaround: (for past year with Slackware 3.0)
> > Place only one archive on each tape.
> > Use /dev/rft0.
> > Use only 200MB tapes.
> >
> > Config: Dell Dimension XPS-133c
> > Travan T-1000 400MB internal floppy tape controller
> > Debian 1.1
> > linux 2.0.6
> 
> Ok, well I haven't used a Travan drive, but I've used many other
> QIC drives with Linux. I've always put multiple archives on a tape,
> but I've *never* used the eof command for mt. Why not use the 'fsf'
> command for mt? Perhaps that will work?
> 
> --
> Jens B. Jorgensen
> [EMAIL PROTECTED]

Yes, this works fine.  NOTE however that you must first use
the mt -f /dev/rft0 erasecommand on any tape you want to
do this with.  Otherwise you will not be able to read past the
first archive (at least not with my hardware).

-- 
Ken Gaugler  
email: [EMAIL PROTECTED]  URL: http://www.wco.com/~keng
"The life of a Repo Man is always INTENSE..."


Re: mt eof + Travan = Operation not permitted

1997-03-17 Thread Jens B. Jorgensen
[EMAIL PROTECTED] wrote:
> 
> Debians,
> 
> Thank you in advance for any help.
> 
> I recently upgraded my Slackware 3.0 (linux 1.2.13) system to Debian
> 1.1 (linux 2.0.6) via InfoMagic's Dec 96 6 cd set, and was disappointed that
> mt(1) limitations were not lifted.
> 
> Summary:How can I read and write multiple archives on a floppy tape?
> Is anyone writing multiple archives on a Travan floppy tape?
> 
> Problem:mt -f /dev/nrft0 eof
> reports "Operation not permitted"
> I understood that this was a limitation of linux 1.2.13 but not
> of linux 2.0.6.
> 
> tar -cvf /dev/nrft0 .
> tar -cvf /dev/nrft0 ./.deleted
> writes the first file (archive of .)
> does not write the second file (archive of ./.deleted)
> 
> 400MB tapes have ~10%/400MB read error rate.
> I suspect that the Travan T-1000 motor is only marginally capable
> of handling the moment of inertia of 400MB tapes.
> 
> Workaround: (for past year with Slackware 3.0)
> Place only one archive on each tape.
> Use /dev/rft0.
> Use only 200MB tapes.
> 
> Config: Dell Dimension XPS-133c
> Travan T-1000 400MB internal floppy tape controller
> Debian 1.1
> linux 2.0.6

Ok, well I haven't used a Travan drive, but I've used many other 
QIC drives with Linux. I've always put multiple archives on a tape,
but I've *never* used the eof command for mt. Why not use the 'fsf'
command for mt? Perhaps that will work?

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]