From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 5 20:20:42 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F88116A5F3 for ; Fri, 5 Nov 2004 20:20:42 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32B2843D45 for ; Fri, 5 Nov 2004 20:20:42 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA5KKgbZ056909 for ; Fri, 5 Nov 2004 20:20:42 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA5KKguF056908; Fri, 5 Nov 2004 20:20:42 GMT (envelope-from gnats) Resent-Date: Fri, 5 Nov 2004 20:20:42 GMT Resent-Message-Id: <200411052020.iA5KKguF056908@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stijn Hoop Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E20EE16A4CE; Fri, 5 Nov 2004 20:17:01 +0000 (GMT) Received: from kweetal.tue.nl (kweetal.tue.nl [131.155.3.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72C4E43D49; Fri, 5 Nov 2004 20:17:01 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: by kweetal.tue.nl (Postfix, from userid 40) id AF4D813BB1F; Fri, 5 Nov 2004 21:17:00 +0100 (CET) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by kweetal.tue.nl (Postfix) with ESMTP id 9C0CC13BACB; Fri, 5 Nov 2004 21:16:59 +0100 (CET) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.13.1/8.13.1/Submit) id iA5EjV6Q001541; Fri, 5 Nov 2004 15:45:31 +0100 (CET) (envelope-from stijn) Message-Id: <200411051445.iA5EjV6Q001541@pcwin002.win.tue.nl> Date: Fri, 5 Nov 2004 15:45:31 +0100 (CET) From: Stijn Hoop To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Lukas Ertl Subject: kern/73579: data corruption on striped geom_vinum volume X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Stijn Hoop List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 20:20:42 -0000 >Number: 73579 >Category: kern >Synopsis: data corruption on striped geom_vinum volume >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 05 20:20:41 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Stijn Hoop >Release: FreeBSD 6.0-CURRENT i386 >Organization: >Environment: System: FreeBSD 6.0-CURRENT #0: Fri Nov 5 12:50:21 CET 2004 >Description: I'm seeing data corruption on a freshly created striped geom_vinum volume, with a fresh -CURRENT. Verification of the same file yields different checksums: [stijn@pcwin002] md5 testfile MD5 (testfile) = 1af4c4d4bd34128548f9052327bfc717 [stijn@pcwin002] md5 testfile MD5 (testfile) = 208118b38cd382c2273f00f26a1f3c73 >How-To-Repeat: - create a striped geom_vinum volume. The fresh test was done with this configuration file: %%% drive meg device ad4s1e drive herc device ad6s1e volume storage plex org striped 479k sd len * drive meg sd len * drive herc %%% but my initial volume that exhibited the problem had a stripe size of 279k. - newfs with default paramaters + softupdates - create a (large) testfile, I used sudo dd if=/dev/urandom of=testfile bs=1m count=1024 - create a checksum, twice, and witness the result above. Note how the checksums differ even though no process has since written to or modified the file. Drives are fine, checksumming data read from the raw device consistently gives the same result. >Fix: n/a >Release-Note: >Audit-Trail: >Unformatted: