suggestion to extend life of ATA IDE flash drive
Hi all,
I am somewhat confused about the flash technology and I have been doing some research but can't seem to find all the answers.
I have a SSD made by memtech which has a full blown IDE interface. I am looking for some suggestions on how to extend the life of this disk (manuf. guarantees 1,000,000 writes per block minimum) by using an appropriate driver on top of IDE.
There are some obvious things I can do, i.e. moving /var/* to ramdisk etc, which should help minimize the number of writes to the SSD.
I did read the note By David on the very bottom of the mtd homepage about compactflash IDE drives, but I have been hearing different stories about this - somebody mentioned that there exists an mtd-emulation. Is this really true?
thanks in advance,
Andre
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
Quoted 5 lines · Andre Sodermans
I did read the note By David on the very bottom of the mtd homepage about compactflash IDE drives, but I have been hearing different stories about this - somebody mentioned that there exists an mtd-emulation. Is this really true?
Yes, ∃ such an emulation. It's the 'blkmtd' device, which uses any block device (not just CF) as backing store for a faked MTD device.
You can use JFFS2 on that. It's not wonderfully efficient, since every time we write a node to JFFS2 we end up rewriting a whole 512-byte 'sector' (or more). We should use the code we already _have_ for NAND flash, which batches writes to the medium (but handles fsync() etc. properly).
Left as an exercise for the reader...
Signature · 1 line
dwmw2
Quoted 10 lines · David Woodhouse
Quoted 5 lines · Andre Sodermans
I did read the note By David on the very bottom of the mtd homepage about compactflash IDE drives, but I have been hearing different stories about this - somebody mentioned that there exists an mtd-emulation. Is this really true?
Yes, â?? such an emulation. It's the 'blkmtd' device, which uses any block device (not just CF) as backing store for a faked MTD device.
Quoted 7 lines
You can use JFFS2 on that. It's not wonderfully efficient, since every time we write a node to JFFS2 we end up rewriting a whole 512-byte 'sector' (or more). We should use the code we already _have_ for NAND flash, which batches writes to the medium (but handles
fsync()etc. properly).Left as an exercise for the reader...
This surely does not get around the issue that the most vulnerable part of a CF system is the logical to physical mappings etc in the CF card. Thus, you might gain some wear levelling (maybe), but I don't think you're going to improve the robustness.
No magic bullet.