Skip to contentSkip to conversation

How to un degrade RAID10.

DISCUSSION [email protected] 2 participants 2 messages Jun 21, 2010 Btrfs file system

lore
Share & tools
lore
#0 lore raw

I see I'm not the only one to flounder with this. Btrfs v0.19 on openSuSE 11.3-RC1 (2.6.34-9-default).
I created a RAID10 across 4 partitions - worked fine. Unmounted it and zeroed one complete partition (as in of=/dev/sda8). Remounted degraded, looked around, data seemed safe.
Attempted to remove sda8 from the array, but got an ioctl=1. Hmmm.

Did a (normal, non-RAID) mkfs on the partition, then attempted to add it back as per the wiki. Won't mount without the degraded option even though the 4 partitions are accepted o.k, and a re-balance worked. The array now reports as 5 devices with #2 (the original slot for sda8) now vacant - dare I say "missing". It reports as "*** Some devices missng" This seems counter intuitive to me. Suggestions ?.

#1 lore raw
Quoted 6 lines · On Mon, Jun 21, 2010 at 03:43:02PM +1000, [email protected] wrote:

Did a (normal, non-RAID) mkfs on the partition, then attempted to add it back as per the wiki. Won't mount without the degraded option even though the 4 partitions are accepted o.k, and a re-balance worked. The array now reports as 5 devices with #2 (the original slot for sda8) now vacant - dare I say "missing". It reports as "*** Some devices missng" This seems counter intuitive to me. Suggestions ?.

You can pass "missing" to "btrfs device delete".

Signature · 2 lines
Tomasz Torcz              ,,If you try to upissue this patchset I shall be seeking
xmpp: [email protected]   an IP-routable hand grenade.'' -- Andrew Morton (LKML)