Hi,
Actually we had data=writeback originally and problem also appeared. Our
system has to be extremely stable and power loss can not cause any data
damage at any time. We may deal with some latest data loss in such case,
but no corruption is allowed. Thus, we decided to put journaling
filesystem (ext4). Then we were searching for the best mount option to
make sure we do not corrupt anything. We do not mind to switch the
option to data=writeback (or even to different FS, maybe ext3?) if you
suggest it is better tested, but we need to be sure that it would not
cause any (more;) damage on power loss.
According to patches, I only recently applied
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e44718318004a5618d1dfe2d080e2862532d8e5f,
since I found it. Can you (or anyone) suggest any other patches critical
to the stability? I will add the one you mentioned as well.
Thanks,
Greg
On 13/04/14 15:01, Florian Weimer wrote:
* Grzegorz Sikorski:
We do fsck on the startup. Occasionally, there are some errors, so we
decided to do 'fsck -p' to fix them before mounting the
filesystem. Here is how we then mount the actual filesystem:
/dev/mmcblk0p2 on /media/DATA type ext4
(rw,relatime,barrier=1,journal_checksum,nodelalloc,data=journal,usrquota)
I am not an expert in ext4, so I am not sure it is the best way to
mount, but as far as I read on some forums, this is the safest (and
slowest!) option.
It is, but it also less tested than data=writeback. Have you
backported any ext4 fixes (such as commit 2d859db3e4) to your kernel?
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
--
Asylia ExchangeDefender Message Security: Click below to verify authenticity
http://www.exchangedefender.com/verify.asp?id=s3E9gj19024173&from=g.sikor...@camlintechnologies.com
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users