Maksim ''max_posedon'' Melnikau
2010-Jan-28 23:33 UTC
btrfs kernel oops and hot storage removing
Hi! I''m not subscribed to ML, so plz keep me in CC. I''m running btrfs on my sheevaplug on storage attached via usb. I use multi-device configuration for testing (use different partitions for emulate this). I catched kernel oops on hot removing storage (without umount/etc). First one was one device decide reboot themselves, second when I manually turned it off and on. Basically I don''t expect correct btrfs working in such situation, but as I know it designed to work correctly in raid configuration, so, may be somebody expect better behavior even in such situation. I attached 2 dmesg outputs(gzipped) Maksim ''max_posedon'' Melnikau
Hello Maksim, Maksim ''max_posedon'' Melnikau wrote (ao):> I''m running btrfs on my sheevaplug on storage attached via usb. I use > multi-device configuration for testing (use different partitions for > emulate this). I catched kernel oops on hot removing storage (without > umount/etc). First one was one device decide reboot themselves, second > when I manually turned it off and on. > > Basically I don''t expect correct btrfs working in such situation, but > as I know it designed to work correctly in raid configuration, so, may > be somebody expect better behavior even in such situation.You pull the entire raid array when removing the USB storage, as the Sheevaplug has only one USB port. That will not work and it is not the fault of btrfs :-) With kind regards, Sander -- Humilis IT Services and Solutions http://www.humilis.net -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html