Re: knfsd and ext2? Huh?

From: Alexei I. Adamovich (lexa@adam.botik.ru)
Date: Mon Jun 19 2000 - 11:35:46 EST


"Juan J. Quintela" <quintela@fi.udc.es> wrote on 19 Jun 2000 16:09:11 +0200:
> >>>>> "alexei" == Alexei I Adamovich <lexa@adam.botik.ru> writes:
>
> hi
>
> alexei> 2.4.0-test1-ac18 in my case was helpless: Stress.sh returned a lot of
> alexei> checksum errors but kernel even didn't notice anything. But with ac19
> alexei> I had next message from syslog:
>
> What is the Stress.sh test???? Where can I found it?
>
> Later, Juan.

This script was sent near a year ago by Reiserfs user to ReisrFS core
team--as a short sample that triggers some problem; and since that
time it was being used as one of the degradation tests when testing this
filesystem implementation. I supposed it's something well-known and
open source, but looking into it I've found next lines:
> #!/bin/bash -
> # -*- Shell-script -*-
> #
> # Copyright (C) 1999 Bibliotech Ltd., 631-633 Fulham Rd., London SW6 5UQ.
> #
> # $Id: stress.sh,v 1.2 1999/02/10 10:58:04 rich Exp $
> #
> # Change log:
> #
> # $Log: stress.sh,v $
> # Revision 1.2 1999/02/10 10:58:04 rich
> # Use cp instead of tar to copy.
> #
> # Revision 1.1 1999/02/09 15:13:38 rich
> # Added first version of stress test program.
> #
>
> # Stress-test a file system by doing multiple
> # parallel disk operations. This does everything
> # in MOUNTPOINT/stress.
> ...
I have to investigate this copyright issue. But it's possible that
using supplied info you'll found the script before I'll finish the
investigation.

Anyway, It's doing nothing special:
1) removes anything in TARGET/stress directory;
2) counts MD5 sums on each file in the SOURCE tree;

3) starts N stress processes--each with his own target subdirectory
   TARGET/stress/$p (p is the number of a particular stress process,
   1<=$p<$N);

Each of stress processes in forever loop does the folowing:
  a) creates its own TARGET/stress/$p subdirectory;
  b) copies SOURCE subtree to TARGET/stress/$p;
  c) recalculates all MD5 sums in TARGET/stress/$p and compares
     them with those counted in SOURCE--complaining when
     finds any difference;
  d) removes TARGET/stress/$p subdirectory.
  
Cheers,

   Alexei I.Adamovich
----------------------------------------------------------------
Res. Centre for Multiprocessor Systems, | e-mail:
PSI RAS, Pereslavl-Zalessky 152140 Russia | lexa@adam.botik.ru
----------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:17 EST