Chris Mason wrote:
On Mon, Jul 13, 2009 at 12:28:09PM +0200, Tomasz Chmielewski wrote:
How do I replace failed disks in RAID-1 mode?
I followed the http://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices, but it triggered a kernel BUG (using 2.6.30.1 kernel):
# mount -o degraded /dev/sdb4 /mnt/btrfs/
# btrfs-vol -r missing /mnt/btrfs/
removing missing devices from /mnt/btrfs/
ioctl returns -1
# dmesg -c
btrfs: unable to go below two devices on raid1
# btrfs-vol -a /dev/sda4 /mnt/btrfs/
Speicherzugriffsfehler
So, this should have worked. I'll dig into why the btrfs-vol -a failed.
Mind that I was using 2.6.30.1 kernel, so the code was not very fresh.
--
Tomasz Chmielewski
http://wpkg.org
--
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