linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Between single/dup and raid1/raid1
@ 2012-10-23 18:49 Lluís Batlle i Rossell
  0 siblings, 0 replies; only message in thread
From: Lluís Batlle i Rossell @ 2012-10-23 18:49 UTC (permalink / raw)
  To: Btrfs mailing list

Hello,

today I wanted to remove one drive from raid1, and people at #btrfs advised me
to use '-dconvert=single' before 'btrfs device delete'.

I thought of adding '-mconvert=dup' too, but the kernel does not let me do that.

It looks like 'dup' is disallowed for an array of multiple devices. So, to go
back to a single-drive (single/dup) setup, should I go through having the
metadata with 'single' profile?

I can't use 'btrfs device delete' either, because that wouldn't respesct the
raid1 profile.

Maybe then the easiest I could do is to use the computer degraded, until I get
some new disk in some days? That'd be equivalent to metadata=single, as I
understand.

And having a totally new disk, having removed the broken one, I'd have to:
1) mount degraded
2) btrfs device delete the missing disk (will I be allowed? due to raid1 profile)
3) btrfs device add another disk

Should that work?

Regards,
Lluís.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-23 18:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-23 18:49 Between single/dup and raid1/raid1 Lluís Batlle i Rossell

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