Subject: Re: DUMP problems - i have image
To: Wojciech Puchar <>
From: Luke Mewburn <>
List: netbsd-users
Date: 12/22/2001 18:55:20
On Thu, Dec 20, 2001 at 08:52:09PM +0100, Wojciech Puchar wrote:
> anyone want to test why dump cannot dump THAT filesystem?
> i have compressed image of this 40MB drive (after filling all unused parts
> with 0 to save space).
> dump doesn't work from vnd too..
> it just loops forever at pass 4 dumping files.
> compressed size about 8MB

I've found part of the problem. If you try your existing dump with "-r 0"
as an option, it will fail with something like:
	DUMP: short read error from XXX: [block 56099]: count=1024, got=512
	DUMP: short read error from XXX: [sector 56100]: count=512, got=0

If you update your dump sources to at least
	$NetBSD: rcache.c,v 1.7 2001/12/22 07:45:38 lukem Exp $
then dump -r 0 ... should now work

I'm still debugging why the read cache stuff isn't working and causing
the behaviour we've seen.