Between single/dup and raid1/raid1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux