CF Card wear optimalisation for ext4

Jelle de Jong jelledejong at powercraft.nl
Wed Oct 8 16:28:13 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello everyone,

I been using CF cards for almost more then 7 years now with ext
file-system without any major problems on ALIX boards.

Last year I took 30 other systems in production with ext4 and the CF
cards been dropping out pretty fast, it may have been a bad batch but
I do want to look at it. I don't think the devices writes a lot of IO
(is there a tool that can give me some useful numbers for say 24H or a
week? iotop, atop, sysstat doesn?t seem suited for long term IO write
monitoring, but maybe I am misusing them and can use some help here)

I mount root with the following options:

/dev/disk/by-uuid/09a04c01-64c6-4600-9e22-525667bda3e3 on / type ext4
(rw,noatime,user_xattr,barrier=1,data=ordered)

# dumpe2fs /dev/sda1
http://paste.debian.net/hidden/e3f81f11/

Are there kernel options to avoid synchronous disk writes? As
suggested here: http://www.pcengines.ch/cfwear.htm

Is there a list of other kernel options I can optimise to limit any cf
wear? The devices don't use

Kind regards

Jelle de Jong
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iJwEAQECAAYFAlQ1ZhgACgkQ1WclBW9j5HmulgP9Fayd7V9t7bRgLo6NmjDVZoDM
f+kH54/EnjsRfoKYYZDSO38WlwBWqJ1cFc+w2W2PMWKqJiL7QNk2+qMsSFeTCtLq
JTz/e2ItLNqFJTAtX0bROgbEmNubfLQyvli+q/HspeSHGKKHjBzHelv5PDBciQCm
vJEVwtB3Vb22hsWfSmw=
=oCCY
-----END PGP SIGNATURE-----




More information about the Ext3-users mailing list