Ext3 is supported not well at 2.6.28 for external SD card removal

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Oct 20 03:33:37 EDT 2009


On Tue, Oct 20, 2009 at 01:34:24PM +0800, Peter Chen wrote:
> The problem I found was removing SD card with ext3 without unmount, It  
> is ok at 2.6.27 and 2.6.23, but bad at 2.6.28 ( or later, I am not sure).

As has already been pointed out, removing media without unmounting it
first is highly risky - you're risking data loss in spite of ext3
being a journalling filesystem.

The other thing to think about is that with a block based journalling
filesystem, a flash-based device is going to get a higher number of
writes, and therefore will wear out (and therefore fail) quicker.  You
might be better off with some other filesystem (eg, vfat) on the SD
card.

Lastly, try reporting the problem somewhere more appropriate, such as
the ext2 maintainers/mailing list and the SD mailing list.



More information about the linux-arm-kernel mailing list