From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,baa89bf91b5bfce3,start X-Google-Attributes: gidfee84,public X-Google-Thread: 10e1c8,baa89bf91b5bfce3,start X-Google-Attributes: gid10e1c8,public From: Klaus Knuepffer Subject: DAT-tape, Slow Multiple file ? Date: 1996/09/16 Message-ID: <323D0294.6F73@meteo.com>#1/1 X-Deja-AN: 180859076 content-type: text/plain; charset=us-ascii organization: METEO SERVICE weather research GmbH, Berlin x-access: 16 19 mime-version: 1.0 newsgroups: comp.unix.osf.osf1,comp.arch.storage x-mailer: Mozilla 2.0 (Win95; I) 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: 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: 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: tar -cvf /dev/nrmt0l 1992*.gz ; write some data ; this rewinds the tape 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