From: "Janos Toth F." <toth.f.janos@gmail.com>
To: Qu Wenruo <quwenruo.btrfs@gmx.com>
Cc: Robert LeBlanc <robert@leblancnet.us>,
Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: Btrfs Raid5 issue.
Date: Mon, 21 Aug 2017 12:53:55 +0200 [thread overview]
Message-ID: <CANznX5Ek2FgaF5ors5qJ41fhdFSYmGSziE7H2Xx+nPtjgMUx-g@mail.gmail.com> (raw)
In-Reply-To: <09e13dfc-20cf-57f9-5dff-b22013f5e77b@gmx.com>
I lost enough Btrfs m=d=s=RAID5 filesystems in past experiments (I
didn't try using RAID5 for metadata and system chunks in the last few
years) to faulty SATA cables + hotplug enabled SATA controllers (where
a disk could disappear and reappear "as the wind blew"). Since then, I
made a habit of always disabling hotplug for all SATA disks involved
with Btrfs, even those with m=d=s=single profile (and I never desired
to built multi-devices filesystems from USB attached disks anyway but
this is good reason for me to explicitly avoid that).
I am not sure if other RAID profiles are affected in a similar way or
it's just RAID56. (Well, I mean RAID0 is obviously toast and RAID1/10
will obviously get degraded but I am not sure if it's possible to
re-sync RAID1/10 with a simple balance [possibly even without
remounting and doing manual device delete/add?] or the filesystem has
to be recreated from scratch [like RAID5].)
I think this hotplug problem is an entirely different issue from the
RAID56-scrub race-conditions (which are now considered fixed in linux
4.12) and nobody is currently working on this (if it's RAID56-only
then I don't expect it anytime soon [think years]).
next prev parent reply other threads:[~2017-08-21 10:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-21 4:33 Btrfs Raid5 issue Robert LeBlanc
2017-08-21 6:58 ` Qu Wenruo
2017-08-21 10:53 ` Janos Toth F. [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-08-21 16:31 Robert LeBlanc
2017-08-21 16:49 ` Chris Murphy
2017-08-22 5:19 Robert LeBlanc
2017-08-22 5:53 ` Chris Murphy
2017-08-22 6:40 ` Qu Wenruo
2017-08-22 16:37 Robert LeBlanc
2017-08-23 0:00 ` Qu Wenruo
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=CANznX5Ek2FgaF5ors5qJ41fhdFSYmGSziE7H2Xx+nPtjgMUx-g@mail.gmail.com \
--to=toth.f.janos@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=quwenruo.btrfs@gmx.com \
--cc=robert@leblancnet.us \
/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;
as well as URLs for NNTP newsgroup(s).