linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to replace a failed drive in btrfs RAID 1 filesystem
@ 2018-03-09 16:02 Paul Richards
  2018-03-09 16:43 ` Austin S. Hemmelgarn
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Richards @ 2018-03-09 16:02 UTC (permalink / raw)
  To: linux-btrfs

Hello there,

I have a 3 disk btrfs RAID 1 filesystem, with a single failed drive.
Before I attempt any recovery I’d like to ask what is the recommended
approach?  (The wiki docs suggest consulting here before attempting
recovery[1].)

The system is powered down currently and a replacement drive is being
delivered soon.

Should I use “replace”, or “add” and “delete”?

Once replaced should I rebalance and/or scrub?

I believe that the recovery may involve mounting in degraded mode.  If
I do this, how do I later get out of degraded mode, or if it’s
automatic how do i determine when I’m out of degraded mode?


The system is running Ubuntu 16.04 LTS with kernel 4.4.0.



1: “it may be helpful to consult the mailing list of irc channel
before attempting recovery”. -
https://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices#Replacing_failed_devices

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

end of thread, other threads:[~2018-03-11  0:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-09 16:02 How to replace a failed drive in btrfs RAID 1 filesystem Paul Richards
2018-03-09 16:43 ` Austin S. Hemmelgarn
     [not found]   ` <CAMoswegyGSote6U3z+aE3fJ+ihPbsXLqUwY9K3GnmtjGSF7o0g@mail.gmail.com>
2018-03-09 16:58     ` Austin S. Hemmelgarn
2018-03-10  9:37   ` waxhead
2018-03-10 10:27   ` Andrei Borzenkov
2018-03-11  0:08     ` Duncan

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