Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 2003 18:03:44 +0300
From:      Vallo Kallaste <kalts@estpak.ee>
To:        Heiko Schaefer <hschaefer@fto.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: thanks, was: Re: data corruption with DISABLE_PSE+DISABLE_PG_G: unrelated
Message-ID:  <20030510150344.GA22618@kevad.internal>
In-Reply-To: <20030510230658.R93229@daneel.foundation.hs>
References:  <b9falv$209l$1@FreeBSD.csie.NCTU.edu.tw> <3EBC6C6A.1040602@myrealbox.com> <20030510130934.R93229@daneel.foundation.hs> <20030510203854.E93229@daneel.foundation.hs> <3EBD50D7.88A78B48@mindspring.com> <20030510230658.R93229@daneel.foundation.hs>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 10, 2003 at 11:11:43PM +0200, Heiko Schaefer
<hschaefer@fto.de> wrote:

> > > what i am asking myself:
> > > is there any chance that i still get any data corruption because of the
> > > issues that you write about in some configuration ?!
> >
> > No.  Not with thouse flags set.  If you are getting data
> > corruption with the flags set, then you have some other
> > problem, most likely hardware.
> 
> ok, that's the answer i was looking for - as solid as it can get, with
> such issues, i guess :)

Heiko, I'm not able to reproduce it on Dual Athlon 2400+ system with
1GB of ECC memory and two Hitachi 120GB disks. Created two ~90GB
filesystems on both disks with plain newfs, no softupdates. Then
ran the following to populate source filesystem:
while :; do size=$(jot -nrw %dk 1 4000 7000); split -b ${size} $HOME/film/LOTR1.avi ${size}. ; done

The source filesystem has ~45GB of data in ~7300 files. I used the
following quick script to copy data and control the checksums. It's
seventh run currently and no signs of corruption. I'll let it run
through tomorrow just to be on the safe side. Seems like you have
nasty hardware problem(s).

#! /usr/local/bin/bash

src="/opt/TESTDIR"
dst="/opt1/TESTDIR"

for ((i=0;i<10;i++)); do
	for dir in 1 2; do
		find ${src} -type f -print0 | xargs -0 -J % cp % ${dst}/${dir}
	done

	for dir in 1 2; do
		cd ${dst}/${dir} && \
		find -s . -type f -print0 | xargs -0 md5 -r \
		> ${HOME}/result${dir}.txt
	done

	for dir in 1 2; do
		cmp ${HOME}/result${dir}.txt ${HOME}/checksum.txt
	done

	find ${dst}/{1,2} -type f -print0 | xargs -0 rm
done
-- 
Vallo Kallaste



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030510150344.GA22618>