From: Graham Fleming <graham.fleming@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: RE: Scrubbing with BTRFS Raid 5
Date: Tue, 21 Jan 2014 01:06:37 -0800 [thread overview]
Message-ID: <95DB9BB3-D706-4023-940A-D100D93D560A@gmail.com> (raw)
Thanks for all the info guys.
I ran some tests on the latest 3.12.8 kernel. I set up 3 1GB files and attached them to /dev/loop{1..3} and created a BTRFS RAID 5 volume with them.
I copied some data (from dev/urandom) into two test files and got their MD5 sums and saved them to a text file.
I then unmounted the volume, trashed Disk3 and created a new Disk4 file, attached to /dev/loop4.
I mounted the BTRFS RAID 5 volume degraded and the md5 sums were fine. I added /dev/loop4 to the volume and then deleted the missing device and it rebalanced. I had data spread out on all three devices now. MD5 sums unchanged on test files.
This, to me, implies BTRFS RAID 5 is working quite well and I can in fact, replace a dead drive.
Am I missing something?
next reply other threads:[~2014-01-21 9:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-21 9:06 Graham Fleming [this message]
2014-01-21 17:08 ` Scrubbing with BTRFS Raid 5 Duncan
2014-01-21 17:18 ` Jim Salter
2014-01-21 17:38 ` Chris Murphy
2014-01-21 18:25 ` Jim Salter
2014-01-22 16:02 ` Duncan
2014-01-22 20:45 ` Chris Mason
2014-01-22 21:06 ` ronnie sahlberg
2014-01-22 21:16 ` Chris Mason
2014-01-22 22:36 ` ronnie sahlberg
-- strict thread matches above, loose matches on Subject: below --
2014-01-21 18:03 Graham Fleming
2014-01-22 15:39 ` Duncan
2014-01-20 0:53 Graham Fleming
2014-01-20 13:21 ` Duncan
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=95DB9BB3-D706-4023-940A-D100D93D560A@gmail.com \
--to=graham.fleming@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
/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