[604] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Stopping tape from rewinding

daemon@ATHENA.MIT.EDU (Aaron J. Grier)
Fri Sep 8 06:25:38 1995

Date: Thu, 7 Sep 1995 01:41:22 -0700 (PDT)
From: "Aaron J. Grier" <agrier@reed.edu>
To: Louis Mandelstam <louis@khotso.sacc.wn.apc.org>
cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.91.950906164410.130N-100000@khotso.sacc.wn.apc.org>

On Wed, 6 Sep 1995, Louis Mandelstam wrote:

> I'm having a problem with a tape drive which rewinds automatically after 
> doing anything, and I can't seem to prevent this.  I'm not sure whether 
> this is a software or hardware problem, but let's see what other Linux 
> SCSI users can offer.
>
> [snip]
> 
> tar vcf /dev/tape /root
> 
> the tape wins audibly, and after a while, tar exits.
> 
> Executing "tar vtf /dev/tape" lists, as expected, the files just written.
> 
> "mt retension" does as expected.
> 
> "mt fsr 1" and "mt fsr 1000" do as expected, with markedly different 
> times taken.
> 
> In every case hoever, the tape is rewound after completing the action.  
> Whenever I do "mt tell" I get "At block 0." and this is quite correct, as 
> the tape really is at the beginning at this point.  I can also hear the 
> tape being rewound after doing as told.
>
> [snip]
> 
> So, can anyone please provide some clues?

This might sound kind of silly, and perhaps you've already tried this, 
but have you tried using /dev/nst0 instead of /dev/st0?

I had the same question for a while until I figured it out.  :)

----
  The Finn / VLA  | "Feel the love: have a carrot!" -- Groovy "veggie" Dave
  Aaron J. Grier  | DECBEE650DEE3A0C 1ED7F54D9E023CC4 <- letters & numbers!
  agrier@reed.edu |       Member of the Arvid I. Nohrdahl fan club


home help back first fref pref prev next nref lref last post