linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* adding new devices to degraded raid1
@ 2020-08-27 12:41 Eric Wong
  2020-08-27 17:14 ` Goffredo Baroncelli
  0 siblings, 1 reply; 9+ messages in thread
From: Eric Wong @ 2020-08-27 12:41 UTC (permalink / raw)
  To: linux-btrfs

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-08-29 18:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-27 12:41 adding new devices to degraded raid1 Eric Wong
2020-08-27 17:14 ` 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

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).