From: Eric Wong <e@80x24.org>
To: linux-btrfs@vger.kernel.org
Subject: adding new devices to degraded raid1
Date: Thu, 27 Aug 2020 12:41:47 +0000 [thread overview]
Message-ID: <20200827124147.GA16923@dcvr> (raw)
I don't need to do it right away, but is it possible to add new
devices to a degraded raid1?
One thing I might do in the future is replace a broken big drive
with two small drives. It may even be used to migrate to SSDs.
Since btrfs-replace only seems to do 1:1 replacements, and I
needed to physically remove an existing broken device to make
room for the replacements, could I do something like:
mount -o degraded /mnt/foo
btrfs device add small1 small2 /mnt/foo
btrfs device remove broken /mnt/foo
?
Anyways, so far raid1 has been working great for me, but I have
some devices nearing 70K Power_On_Hours according to SMART
Thanks.
next reply other threads:[~2020-08-27 12:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-27 12:41 Eric Wong [this message]
2020-08-27 17:14 ` adding new devices to degraded raid1 Goffredo Baroncelli
2020-08-28 0:30 ` Zygo Blaxell
2020-08-28 2:34 ` Eric Wong
2020-08-28 4:36 ` Zygo Blaxell
2020-08-28 5:09 ` Andrei Borzenkov
2020-08-28 20:56 ` Zygo Blaxell
2020-08-29 0:42 ` Eric Wong
2020-08-29 18:46 ` Zygo Blaxell
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=20200827124147.GA16923@dcvr \
--to=e@80x24.org \
--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