From: Russell Coker <russell@coker.com.au>
To: Thiago Ramon <thiagoramon@gmail.com>
Cc: linux-btrfs@vger.kernel.org, Qu Wenruo <wqu@suse.com>
Subject: Re: strangely uncorrectable errors with RAID-5
Date: Sat, 15 Mar 2025 13:51:19 +1100 [thread overview]
Message-ID: <3813747.MHq7AAxBmi@cupcakke> (raw)
In-Reply-To: <CAO1Y9wpT=gZgWD0=69TUefB-+qOSEY+9+zypo89PMQdgdO_P9w@mail.gmail.com>
On Saturday, 15 March 2025 06:32:46 AEDT Thiago Ramon wrote:
> > while true ; do
> >
> > for DEV in c d e f ; do
> >
> > dd if=/dev/zero of=/dev/vd$DEV oseek=$((20+$RANDOM%3*1000)) bs=1024k
> >
> > count=1000
> >
> > sync
> > btrfs scrub start -B /mnt
> > sync
> >
> > done
> > date
> >
> > done
>
> Your script is writing randomly to ALL your disks. You just need to
> get lucky for them to overwrite the same sector in 2 different disks
> to ruin RAID5 and RAID1. If you want to stress test the filesystem you
> need to pay more attention to what you're doing.
Are you saying that the btrfs scrub is not designed to correct the errors?
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
next prev parent reply other threads:[~2025-03-15 2:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-20 10:09 strangely uncorrectable errors with RAID-5 Russell Coker
2024-10-20 21:01 ` Qu Wenruo
2024-10-21 3:55 ` Russell Coker
2024-10-21 4:26 ` Qu Wenruo
2025-03-14 12:27 ` Russell Coker
2025-03-14 16:54 ` Russell Coker
2025-03-14 19:32 ` Thiago Ramon
2025-03-15 2:51 ` Russell Coker [this message]
2025-03-15 5:19 ` Andrei Borzenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3813747.MHq7AAxBmi@cupcakke \
--to=russell@coker.com.au \
--cc=linux-btrfs@vger.kernel.org \
--cc=thiagoramon@gmail.com \
--cc=wqu@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox