linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to replace a missing device with a smaller one
@ 2019-11-18  2:09 Nathan Dehnel
  2019-11-18  5:32 ` Qu Wenruo
  0 siblings, 1 reply; 9+ messages in thread
From: Nathan Dehnel @ 2019-11-18  2:09 UTC (permalink / raw)
  To: Btrfs BTRFS

I have a 10-disk raid10 with a missing device I'm trying to replace. I
get this error when doing it though:

btrfs replace start 1 /dev/bcache0 /mnt
ERROR: target device smaller than source device (required 1000203091968 bytes)

I see that people recommend resizing a disk before replacing it, which
isn't an option for me because it's gone. I'm replacing the drive by
copying from its mirror, so can I resize the mirror and then replace?
How do I do that? Do I need to run "btrfs fi res" on each of the
remaining drives in the array?

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

end of thread, other threads:[~2019-11-24 23:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-18  2:09 How to replace a missing device with a smaller one Nathan Dehnel
2019-11-18  5:32 ` Qu Wenruo
2019-11-18  7:08   ` Qu Wenruo
2019-11-19 14:38     ` David Sterba
2019-11-20  0:02       ` Qu Wenruo
2019-11-20  0:05         ` Zygo Blaxell
2019-11-21 10:21           ` Anand Jain
2019-11-24 23:02     ` Nathan Dehnel
2019-11-20 17:07   ` Chris Murphy

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