AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080717032639.4fa261e7@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<paul.hammer@onstor.com>,<raj.kumar@onstor.com>,<vikas.saini@onstor.com>,<brian.nguyen@onstor.com>,<ed.kwan@onstor.com>,<jonathan.goldick@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E0AF1DD64@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 17 Jul 2008 03:33:41 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Paul Hammer" <paul.hammer@onstor.com>
Cc: "Raj Kumar" <raj.kumar@onstor.com>, "Vikas Saini"
 <vikas.saini@onstor.com>, "Brian Nguyen" <brian.nguyen@onstor.com>, "Ed
 Kwan" <ed.kwan@onstor.com>, "Jonathan Goldick"
 <jonathan.goldick@onstor.com>
Subject: Re: Permabit script for corruption
Message-ID: <20080717033341.4bc8baa4@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E0AF1DD64@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E0AF1DD64@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Here is the unmangled script which I'm running against MD right now and
for the next couple hours

# /permabit/user is mounted from the onstor
b=/permabit/user/trg/testing-trg
# /u1 is a scratch area on local disk
r=/u1/deleteme.`hostname`.random
z=/u1/deleteme.`hostname`.zero
t=$b/deleteme.`hostname`.target
dd if=/dev/urandom of=$r count=1000000 bs=1024
dd if=/dev/zero of=$z count=1 bs=1024
mkdir $b ; cd $b
for x in `seq 1 10000` ; do
  echo "Time number: $x"
  echo "copy 1 `date`"
  time cp $r $t
  echo "diff 1 `date`"
  time diff $r $t
  if [ $? != 0 ] ; then
   echo broken
  fi
  echo "copy 2 `date`"
  time cp $z $t
  echo "diff 2 `date`"
  time diff $z $t
  if [ $? != 0 ] ; then
   echo broken
  fi
done 2>&1 |tee $b/log.`hostname`



On Wed, 16 Jul 2008 20:59:45 -0700 "Paul Hammer"
<paul.hammer@onstor.com> wrote:

> Hi Guys,
> 
> If this really causes a corruption we have to figure it out now. Can I
> ask that one of you take this action item to run the script and see if
> this is really a tool that causes corruptions with EverON? Please let
> me know who is taking on this task. I only want us to run this script
> against 4.0/3.3.
> 
> Thanks,
> 
> -Paul
> 
> -----Original Message-----
> From: Rich LaReau 
> Sent: 2008-07-16 13:58
> To: dl-esc-l3
> Subject: Permabit script for corruption
> 
>  
> Hi Ed and team,
> 
> This is the script that Permabit says they can use to generate
> corruption.  I'll post a copy to the case and to the associated
> defect.
> 
> Rich
> 
> 
> -----Original Message-----
> From: Caeli Collins 
> Sent: Wednesday, July 16, 2008 1:37 PM
> To: Rich LaReau
> Subject: FW: script to reproduce the problem
> 
> This is what I got 
> 
> 
> Caeli
> 
> -----Original Message-----
> From: Tracy Gangwer [mailto:trg@permabit.com]
> Sent: Wednesday, July 16, 2008 13:28
> To: Caeli Collins
> Cc: Clint McVey
> Subject: script to reproduce the problem
> 
> Caeli -
> 
> Below is the script we discussed on the phone.   We are seeing about
> a 3% failure rate.
> 
> Thanks,
> 
> trg
> 
> # /permabit/user is mounted from the onstor
> b=/permabit/user/trg/testing-trg # /u1 is a scratch area on local disk
> r=/u1/deleteme.`hostname`.random z=/u1/deleteme.`hostname`.zero
> t=$b/deleteme.`hostname`.target dd if=/dev/urandom of=$r count=1000000
> bs=1024 dd if=/dev/zero of=$z count=1 bs=1024 mkdir $b ; cd $b for x
> in `seq 1 10000` ; do
>   echo "Time number: $x"
>   echo "copy 1 `date`"
>   time cp $r $t
>   echo "diff 1 `date`"
>   time diff $r $t
>   if [ $? != 0 ] ; then
>    echo broken
>   fi
>   echo "copy 2 `date`"
>   time cp $z $t
>   echo "diff 2 `date`"
>   time diff $z $t
>   if [ $? != 0 ] ; then
>    echo broken
>   fi
> done 2>&1 |tee $b/log.`hostname`
> 
