From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 08:45:44 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C00837B404 for ; Sat, 5 Apr 2003 08:45:44 -0800 (PST) Received: from pop3.psconsult.nl (ps227.psconsult.nl [213.222.19.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D71443FDD for ; Sat, 5 Apr 2003 08:45:39 -0800 (PST) (envelope-from paul@pop3.psconsult.nl) Received: (from paul@localhost) by pop3.psconsult.nl (8.9.2/8.9.2) id SAA05365; Sat, 5 Apr 2003 18:45:36 +0200 (CEST) (envelope-from paul) Date: Sat, 5 Apr 2003 18:45:36 +0200 From: Paul Schenkeveld To: =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= Message-ID: <20030405184536.A5198@psconsult.nl> References: <20030405132749.A2167@psconsult.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0i In-Reply-To: ; from des@ofug.org on Sat, Apr 05, 2003 at 05:34:56PM +0200 cc: FreeBSD Stable Subject: Re: Weird EINVAL readig *large* file X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 16:45:44 -0000 Hi DES, On Sat, Apr 05, 2003 at 05:34:56PM +0200, Dag-Erling Smørgrav wrote: > Paul Schenkeveld writes: > > When I try to read back one of the saved images containing a > > 16GB filesystem, I get EINVAL somewhere half way the file. > > I first discoverd this when I tried "sum /dev/vinum/arch" but > > this happens with every command I use to read the file, even > > with a small C program I wrote to just read the file in 8KB > > chunks to verify this error. > > Can you provide a full ktrace of sum or cksum which exhibits the > failure? I'm currently running "ktrace sum /path/to/file/with/problem" here but that will create a ktrace.out of roughly 8GB since the error always occurs about 7.5 to 8 GB from the start of the file. Sending you 8GB doesn't seem very convenient. Would it be sufficient for you to run a kdump and mail you the first lines (up to the point where it's reading in a loop) and the last lines (including several iterations of the loop)? > DES > -- > Dag-Erling Smørgrav - des@ofug.org Regards, Paul Schenkeveld