* Re: RH 5.0 and DAT (including hint: QFA-restore with tar+mt)
@ 1998-01-10 8:53 Stefan Traby
0 siblings, 0 replies; only message in thread
From: Stefan Traby @ 1998-01-10 8:53 UTC (permalink / raw)
Hi !
> in problems that i've had in the past with my DAT, i've had to do the
> following:
>
> mt -f /dev/st0 setblk 32768
>
> to set the BLOCK SIZE to 32k... after i did this, everything would
> communicate with /dev/st0 correctly...
Have you an old odd archive phyton DAT ?
Can you tell me vendor, model ?
I can't imagine that.
Most (almost all) DAT supports variable length and fixed length records.
The fine difference is the default. Most DAT's (all HP's) came with
variable length records and some odd streamer with fixed length.
The problem when restoring - you must know the block-size or odd
effects may happen (depending on the SILI-Bit (suppress incorrect length
indicator) a DAT read command fails, or tar would give up.
Ok, one can determinate the block-size by repeated rewinding and read with
different block sizes with SILI-Bit set to zero. If no "CHECK CONDITION"
comes back, the correct size is found. But did you know that ? :-=)
If "mt -f /dev/st0 setblk 0" works (try this) it's IMHO better to use it.
This sets the tape to variable length records.
Since tar uses fixed blocks, the result is fixed length records (tar)
encapsulated in variable length records (tape).
Another reason not to use large (32KB or more) fixed records is ECC.
In fixed mode, ECC is made over the whole block. If the block-size is
too big, ECC may be inefficient.
And, even if you use variable-length records, you can manually
use QFA with tar if you have an index-file.
rec 1: module
rec 3: 00index.txt
rec 916: System.map
rec 1181: System.map.000
rec 1549: System.map.old
rec 1816: System.old
rec 2076: bin/
rec 2077: bin/fillup
rec 2169: bin/tar
you can seek to bin/tar with "mt rewind ; mt fsr 43380"
(multiply record number by a factor 20)
This works with all DAT's (SCSI-II or SCSI-I tandberg seek method)
I've ever used.
( If you have multiple "partitions" you must first switch to the right one.
If you have multiple tar-sessions, you must do more trivial arithmetic or
skip over marks first.
)
(Same trick works with some old QIC drives (Archive/Maynard))
--
ciao -
Stefan
Stefan Traby phone: +43-3133-6107-2
Mitterlasznitzstr. 13 fax: +43-3133-6107-9
8302 Nestelbach mailto://stefan@sime.com
Austria
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-01-10 8:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-10 8:53 RH 5.0 and DAT (including hint: QFA-restore with tar+mt) Stefan Traby
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox