Re: Treatise on Formatting FLASH Storage Devices

2009-05-15 Thread Hal Murray
[Apologies for the delay. I typed most of this in a long time ago, then I got distracted.] Mitch: Many thanks for the heads up. I think I knew about most of the quirks, but I hadn't noticed the interactions of the alignment preferences before. Al Fazio is Intel's flash guru/evangelist. He

Ted T'So writes about aligning FSs to eraseblocks... (Re: Treatise on Formatting FLASH Storage Devices)

2009-02-20 Thread Martin Langhoff
On Wed, Feb 4, 2009 at 11:40 PM, Mitch Bradley w...@laptop.org wrote: http://wiki.laptop.org/go/How_to_Damage_a_FLASH_Storage_Device hot off the press I think. Interesting hints on how to get the partitioning right:

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread quozl
On Wed, Feb 04, 2009 at 12:40:38AM -1000, Mitch Bradley wrote: http://wiki.laptop.org/go/How_to_Damage_a_FLASH_Storage_Device Read it and weep. +1 Fixed a couple of typos in the last section. Also, re: Conversely, if the layout is bad, every cluster write might split two pages, forcing the

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread david
On Wed, 4 Feb 2009, Mitch Bradley wrote: http://wiki.laptop.org/go/How_to_Damage_a_FLASH_Storage_Device Read it and weep. this completely ignores wear leveling, which is very nessasary for just about any filesystem, but especially for FAT (which appear to be the only filesystems this author

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 da...@lang.hm wrote: On Wed, 4 Feb 2009, Mitch Bradley wrote: http://wiki.laptop.org/go/How_to_Damage_a_FLASH_Storage_Device Read it and weep. this completely ignores wear leveling, which is very nessasary for just about any filesystem, but

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread Ignacio Vazquez-Abrams
On Wed, 2009-02-04 at 00:40 -1000, Mitch Bradley wrote: http://wiki.laptop.org/go/How_to_Damage_a_FLASH_Storage_Device Read it and weep. It's a great article, but people that aren't very familiar with filesystems and the filesystem tools are going to read the article, look at their tools,

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread pgf
da...@lang.hm wrote: On Wed, 4 Feb 2009, Mitch Bradley wrote: http://wiki.laptop.org/go/How_to_Damage_a_FLASH_Storage_Device Read it and weep. this completely ignores wear leveling, which is very nessasary for just about any filesystem, but especially for FAT (which appear to

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread david
On Wed, 4 Feb 2009, Benjamin M. Schwartz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 da...@lang.hm wrote: On Wed, 4 Feb 2009, Mitch Bradley wrote: http://wiki.laptop.org/go/How_to_Damage_a_FLASH_Storage_Device Read it and weep. this completely ignores wear leveling, which is

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread david
On Wed, 4 Feb 2009, da...@lang.hm wrote: On Wed, 4 Feb 2009, Benjamin M. Schwartz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Umm, what? To alleviate the wear out problems, the FTL must move data around so that repeated writes to a given sector don't cause too many writes to

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread Mitch Bradley
I am the author of the page in question. To establish my credentials, I wrote my first filesystem forensic tool in 1980, to diagnose and repair a Unix filesystem that had been damaged by a kernel misconfigured that made it swap on top of the filesystem. That was when 10 MB disk packs the

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mitch Bradley wrote: It has been my experience that USB sticks and SD cards with intact factory formatting tend to last longer and run faster than ones that have been reformatted with random layouts. This gives us Linux users a bit of a dilemma

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread Mitch Bradley
http://wiki.laptop.org/go/How_to_Damage_a_FLASH_Storage_Device Read it and weep. It's a great article, but people that aren't very familiar with filesystems and the filesystem tools are going to read the article, look at their tools, scratch their heads, decide the whole thing is

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread Mitch Bradley
Benjamin M. Schwartz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mitch Bradley wrote: It has been my experience that USB sticks and SD cards with intact factory formatting tend to last longer and run faster than ones that have been reformatted with random layouts.

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread Bobby Powers
On Wed, Feb 4, 2009 at 4:11 PM, Benjamin M. Schwartz bmsch...@fas.harvard.edu wrote: This gives us Linux users a bit of a dilemma if we want to use FTL flash for primary storage. FAT does not provide the file access permissions, symlinks, hardlinks, or even case sensitivity, that we desire for

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread James Cameron
On Wed, Feb 04, 2009 at 07:51:44PM -0500, Bobby Powers wrote: What about a small script that could do two things: Sounds great. -- James Cameronmailto:qu...@us.netrek.org http://quozl.netrek.org/ ___ Devel mailing list Devel@lists.laptop.org

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread david
On Wed, 4 Feb 2009, Mitch Bradley wrote: da...@lang.hm wrote: so if the device is performing wear leveling, then the fact that your FAT is on the same eraseblock as your partition table should not matter in the least, since the wear leveling will avoid stressing any particlar part of

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread david
On Wed, 4 Feb 2009, Bobby Powers wrote: On Wed, Feb 4, 2009 at 4:11 PM, Benjamin M. Schwartz bmsch...@fas.harvard.edu wrote: This gives us Linux users a bit of a dilemma if we want to use FTL flash for primary storage. FAT does not provide the file access permissions, symlinks, hardlinks,

Re: Treatise on Formatting FLASH Storage Devices

2009-02-04 Thread david
On Wed, 4 Feb 2009, Mitch Bradley wrote: Benjamin M. Schwartz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mitch Bradley wrote: It has been my experience that USB sticks and SD cards with intact factory formatting tend to last longer and run faster than ones that have been