*BSD News Article 59114


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.uoknor.edu!news.nodak.edu!plains.nodak.edu!not-for-mail
From: tinguely@plains.nodak.edu (Mark Tinguely)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Dump has a wheat allergy
Date: 16 Jan 1996 09:13:41 -0600
Organization: North Dakota State University
Lines: 24
Message-ID: <4dgfb5$a12@plains.nodak.edu>
References: <npmDKzA74.EKs@netcom.com>
NNTP-Posting-Host: plains.nodak.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

In article <npmDKzA74.EKs@netcom.com> npm@netcom.com (npm@netcom.com) writes:
>(Silly subject line, I know)
>
>Dump is returning all kinds of errors when we back up a 3GB partition.
>The OS is 2.0.5.  That data seems to be fine, as far as I can tell,
>but the errors are alarming.
>
>About 4500 lines of:
>
>DUMP: bread: lseek fails
>
>Is it because of the size of the file system?

you may have a old dump. The problem with the old dump is that it used
longs in the lseek offset instead of using the off_t in the lseek offset.

This will only give you the above error messages if you partition is greater
that 2 GB.

you can either get the /usr/src/sbin/dump/traverse.c from the FreeBSD 2.1.0
distribution, or go in with an editor and change the blkn in the lseek()
to:	(off_t)blkno

--mark.