Re: ext2 on flash memory

From: DervishD
Date: Wed Jun 13 2007 - 08:49:44 EST


* Juergen Beisert <juergen127@xxxxxxxxxxxxxx> dixit:
> On Monday 11 June 2007 19:42, DervishD wrote:
> > I know about cheap pendrives that you cannot format even with FAT32, only
> > with FAT16.
>
> I'm not sure if the price was the reason that they failed with different
> filesystems. Some kind of wear leveling tries to guess which blocks of the
> filesystem are in use and which are unused (to avoid wear leveling of unused
> data).
> But it only works if you are using a filesystem that is "known" by the wear
> leveling process. If you are using a different one, it fails badly, because
> it tries to interpret a FAT that does not exists, and destroys your
> filesystem while the wear leveling process is running.

That's exactly what I wanted to know! My Kingston Data Traveler is
not exactly cheap (while not a very expensive piece of hardware,
Kingston is known for the quality of its memory devices), so I hope it
likes ext2. I will do a test.

> So if you can use a different filesystem than FAT16/32 on your pendrive, it
> does not matter what kind of filesystem you are using. The wear leveling
> process has no clue about it and always "wear leveling" used *and* unused
> data (means: every block of the whole disk) until it ruins the flash memory.

But anyway the memory should last long. Even cheap flash memories
with poor wear leveling (if any at all) usually long last. Given that I
won't be writing continuously, wear shouldn't be a problem. I'm going to
use this as a backup copy of my home. Of course, I can use a tarball
too...

Raúl Núñez de Arenas Coronado

--
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/