i386 Linux on USB pen drive
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello together,
I am setting up a linux system to run on a USB memory stick. Currently I am using kernel 2.6.7 and ext3 as filesystem. Can anybody tell me if wear-leveling will be a problem with this system? Or should I rather use a fs like jffs or jffs2? Is kernel 2.6.x ok?
Thanks a lot,
Arik
BTW: Could anybody please point me in the right direction if this is off-topic in this mailing-list.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBVGMz//PXyz2NiW8RAjNnAJ9LYX/d6el5u8GPO0d9INkydXtIBwCeOWLB twVX7fvZ5nNg9K03EN5JbIk=
=iJgT
-----END PGP SIGNATURE-----
Quoted 6 lines · Arik Funke
Hello together,
I am setting up a linux system to run on a USB memory stick. Currently I am using kernel 2.6.7 and ext3 as filesystem. Can anybody tell me if wear-leveling will be a problem with this system? Or should I rather use a fs like jffs or jffs2? Is kernel 2.6.x ok?
This is very much like those threads one reads occasionally about Compact Flash.
All we really know about these devices is that they conform to USB mass storage. We don't really know what goes on inside them, but we can make some educated guesses :-).
Most likely, IMHO, these devices will be using a block swapping strategy like that used in SmartMedia. This does not do explicite wear levelling, but the block management does effect wear levelling.
The biggest source of problems with these devices, IMHO, is FAT corruption. I see you've taken steps too get rid of that.
The flash file systems like JFFSx and YAFFS are really suited to raw flash (SmartMedia and XD cards and soldered down chips) , not USB Mass storage devices (which look like hard disks). Dave might not share my opinion on this.
-- CHarles
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Charles Manning wrote:
| Most likely, IMHO, these devices will be using a block swapping strategy like
| that used in SmartMedia. This does not do explicite wear levelling, but the
| block management does effect wear levelling. | | The biggest source of problems with these devices, IMHO, is FAT corruption. I | see you've taken steps too get rid of that. | | The flash file systems like JFFSx and YAFFS are really suited to raw
flash
| (SmartMedia and XD cards and soldered down chips) , not USB Mass storage | devices (which look like hard disks). Dave might not share my opinion on this.
If I understood you correctly I have done everything right without even knowing about the possible technical traps? I do not need to worry about dying sectors, etc. and ext3 was the right choice? Or should I chose a journaling filesystem? (the system will run as minimal communication server)
As there seems to be extensibe knowledge here about linux on flash devices, two other questions:
1. Is it correct to assume that systems on flash devices need to run without swap partitions? (due to frequent writing on these)
2. Is there any easy advice which parts of the directory structure should better not be mounted on the flash? Or in which directories in the linux structure will typically occur frequent write accesses? (E.g. log-files?)
Is there maybe a HOWTO or anything discussing linux on flash in general? ~ I guess these are fairly typical questions...
Cheers,
Arik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBVKv4//PXyz2NiW8RAiSEAJ0RVMiYdN9gJzrskwX/xputQYhabwCfePZQ QvOQ2jkuDsqcs1z5hk9lk4o=
=3JNo
-----END PGP SIGNATURE-----