Be careful using dd to write multiple volumes
Ian! D. Allen [CGL]
idallen at watcgl.waterloo.edu
Wed Oct 10 15:15:24 AEST 1990
Ultrix 3.1C DS5400
I wrote some TK70 dump tapes like this:
dump 0f - /whatever | compress | dd ibs=8k obs=32k of=/dev/rmt0h
Where the dd took two tapes, I cannot read it back:
dd bs=32k if=/dev/rmt0h | uncompress | restore if -
dd eventually asks for the next volume, then uncompress dies with some
error about "not in compressed format" or some such when the second
tape is started. I havent got 600Mb of space to try extracting the
two tapes into at the moment, to see if uncompress will read one 600Mb
file off disk. I imagine dd might be mis-handling the block that
spans the two tapes.
--
-IAN! (Ian! D. Allen) idallen at watcgl.uwaterloo.ca idallen at watcgl.waterloo.edu
[129.97.128.64] Computer Graphics Lab/University of Waterloo/Ontario/Canada
More information about the Comp.unix.ultrix
mailing list