How does btrfs RAID work in degraded mode?
- by turbo
My idea was that (using loopback devices) it works like this
Create the raid array sudo mkfs.btrfs -m raid1 -d raid1 /dev/loop1 /dev/loop2
You mount them sudo mount /dev/loop1 /mnt and mark them touch goodcondition
You unmount and simulate disk failure (remove disk or delete loopback device loop2 in my case)
You mount degraded -o degraded and…