From: Stelian P. <st...@ca...> - 2000-06-27 09:50:24
|
On Tue, 27 Jun 2000, Bernhard Erdmann wrote: > Stelian Pop wrote: > > Dump, by default, uses a 10k blocksize. > > The default blocksize of dump isn't mentioned in the man page. You're right. I'll correct that. > > Try to run a /sbin/dump 0ab 32 /tmp/. Maybe it helps... > > I already tried it, didn't help then, if I remember correctly. Now it > works. ?? Well, I don't remember having changed something about that for a long time... Maybe you tried it with a very old version of dump/restore, and haven't tried since then again ? > Dump with "-b 32" works well, thanks for the hint. Seems to eliminate > the need for "| dd obs=32k of=$TAPE". Good. > I wonder why restore says "Tape block size is 32". You told me, dump > used 10k blocks and the tape drive is set to variable blocksize. So why > 32KB blocks? Well, I'll take a look at the code. But restore tries figure out the good blocksize by trying several ones. For some reasons, it believes that 32k is your blocksize, which is obviously wrong... > Let's have a try: > # /sbin/restore rb 10 > > With "-b 10", restore works well reading a tape witten by "dump 0a > /tmp". Maybe a bug in restore to figure out the tape's blocksize? Sure. I'll take a look and will contact you later if I cannot reproduce this here... Stelian. -- Stelian Pop <sp...@ca...>| Too many things happened today Captimark | Too many words I don't wanna say Paris, France | I wanna be cool but the heat's coming up | I'm ready to kill 'cause enough is enough PGP key available on request | (Accept - "Up To The Limit") |