Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* DAT-tape, Slow Multiple file ?
@ 1996-09-16  4:00 Klaus Knuepffer
  0 siblings, 0 replies; only message in thread
From: Klaus Knuepffer @ 1996-09-16  4:00 UTC (permalink / raw)



My questions: 

  My DAT tape drive unit becomes extremely slow if I write data to
  it after positioning the tape with "mt fsf" or "mt seod".
  Is this normal? how can I avoid it?

  I welcome any hint or solution.


What I see and hear:

  The activity led on the tape-unit shows normal activity 
  (green blinking) but if I listen very well then I hear the tape
  doing repeatedly one second of fast winding followed by one second
  normal play. 
  The same write command works fine if I first rewind the tape.

  What is the normal procedure to add a file to an existing tape.
  I do not want to use "tar -r" because it is very slow.


What hard/software:

  DEC 3000 AXP 300 workstation  
  OSF/1 Version 1.3B            (I know it is old)
  DIGITAL TLZ06-AA              (2/4 Mb internal 90meter DAT drive)


What works fine:

  <put tape into drive or rewind tape>            
  tar -cvf /dev/nrmt0l 1992*.gz    ; write some data, do not rewind
  tar -cvf /dev/nrmt0l 1993*.gz    ; write more data, do not rewind
  tar -cvf /dev/nrmt0l 1994*.gz    ; and more

  This writes the files one after the other on the tape without 
  rewinding the tape. I have to write all data at once because
  ejecting the tape automatically rewinds it. I can read this with:

  <put tape into drive>            
  tar -xvf /dev/nrmt0l             ; read data and position before eof
  mt fsf                           ; skip over eof mark
  tar -xvf /dev/nrmt0l 
  mt fsf
  tar -xvf /dev/nrmt0l 


What doesn't work:

  <put tape into drive>
  tar -cvf /dev/nrmt0l 1992*.gz  ; write some data
  <eject tape>                   ; this rewinds the tape
  <put tape into drive>
  mt seod                        ; position at the end of recorded data
  tar -cvf /dev/nrmt0l 1993*.gz  ; this commands takes two days!

  The "mt seod" command positions the tape at the end of recorded
  data. The subsequent tar commando is performed correctly but
  very slow (30 times slower). The tar process is most of the time
  "Uninterruptibly sleeping" and only one block of data is accepted
  by the tape drive every few minutes. 

  I also tried positioning before and after eof markers, using dd, and 
  also first appending to the last tar file on tape using 
  'tar -rf /dev/nrmt0l dummy.dat' before writing additional data to it. 
  Nothing worked except rewinding the tape and rewriting it from the 
  beginning.


Why I want this:

I like to put some additional data on the tape every month.  I like to
read and process the data in little chunks (<100Mb), instead of reading 
2 Gb at once. This all should work unattended.



Thank you for your help,

Dik Haalman    
METEO SERVICE weather research GmbH   Berlin
Email:       dik@tina.met.fu-berlin.de
Telephone:   +49 30 8129 9015



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-09-16  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-16  4:00 DAT-tape, Slow Multiple file ? Klaus Knuepffer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox