dump/restore issue
David Bear
David.Bear at asu.edu
Fri Mar 19 08:51:34 PST 2004
My tape unit has been giving me problems on one server. So I did a
dump over ssh to another box with a working tape like this:
dump -0u -a -b 64 -f - /dev/da1s1e | ssh id at srv2 dd of=/dev/nrsa0
Then to check the dump on srv2 I did
restore -i -f /dev/nrsa0
which came back and said the tape block size was different than the
dump block size.... or something like that.
>From my reading of the dump man page the -b parm controlled the block
size of the chunks that dump wrote, but was NOT connected to the
actual block size of the tape. Since this tape is a variable block
device, I went ahead and set -b to the max...
But now what do I do about restore?
Is there a better way to control tape block size when piping through
ssh? ie, dd of=/dev/nrsa0 bs=512?? But then what meaning does the -b
parm have in dump?
--
David Bear
phone: 480-965-8257
fax: 480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
"Beware the IP portfolio, everyone will be suspect of trespassing"
More information about the freebsd-questions
mailing list