I've made changes in the mount options, along with tuning journaling
for ext4 filesystems, and so far have yet to encounter corruption
(lots of small and big files):

* data=writeback
* nobarrier
* nobh
* noatime
* noauto_da_alloc

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/filesystems/ext4.txt;h=7be02ac5fa36d7f4c07856fe9cf89391e08986f7;hb=HEAD

Optimally though, it's not recommended if you'll use ext4 for lots of
small files (better use an embedded like sqlite for storing such).

Using the default mount options though I've encountered massive file
corruption (and jettisoned usage of ext4 for quite some time).

Paolo

On Thu, Dec 9, 2010 at 8:57 AM, Jimmy Lim <[email protected]> wrote:
> I had a bad experience with ext4 on Archlinux, after fscking, all my files
> renamed to its actual inode number.
> Jimmy
>
> On Thu, Dec 9, 2010 at 8:22 AM, Michael Janapin <[email protected]>
> wrote:
>>
>> Ok. I'll try this. I haven't rebooted in a while. :-)
>>
>> In my search on the ubuntu forums, they call this the 'dreaded file
>> corruption in ext4'.
>>
>> So right now I'm thinking of migrating my large files to an XFS partition.
>> Sigh.
>>
>> Thanks.
>> On Dec 9, 2010, at 8:19 AM, Federico Sevilla III wrote:
>>
>> > Hi Mhac,
>> >
>> > Have you tried running fsck on your file system first to make sure it's
>> > okay?
>> >
>> > --
>> > Federico Sevilla III, CISSP, CSM, LPIC-2
>> > Chief Executive Officer
>> > F S 3 Consulting Inc.
>> > http://www.fs3.ph
>> >
>> >
>> > On Thu, 2010-12-09 at 06:00 +0800, Michael Janapin wrote:
>> >> I am experiencing a very weird behavior on my Ubuntu 10.04 box (with
>> >> ext4 as fs of my /).
>> >> I have several large iso files (3GB or more) and whenever I md5sum
>> >> them, it turns out different everytime. !?
>> >> I also experienced that when I copy/move a large file, it turns out
>> >> with a different md5sum in its new location.
>> >> Also when I scp/wget/ftp those files over the network, the md5 changes
>> >> again.
>> >>
>> >> This only happens with large files. The smaller ones have no problem.
>> >> Could it be with my file system? Or could it be something else?
>> >>
>> >> Thanks!
>> >>
>> >> Mhac J
>> >> _________________________________________________
>> >> Philippine Linux Users' Group (PLUG) Mailing List
>> >> http://lists.linux.org.ph/mailman/listinfo/plug
>> >> Searchable Archives: http://archives.free.net.ph
>> > _________________________________________________
>> > Philippine Linux Users' Group (PLUG) Mailing List
>> > http://lists.linux.org.ph/mailman/listinfo/plug
>> > Searchable Archives: http://archives.free.net.ph
>>
>> _________________________________________________
>> Philippine Linux Users' Group (PLUG) Mailing List
>> http://lists.linux.org.ph/mailman/listinfo/plug
>> Searchable Archives: http://archives.free.net.ph
>
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>



-- 
Paolo Alexis Falcone

Cell: 63-917-508-4702
SIP: 1-747-467-6906
GTalk: pfalcone
YM: p.falcone
Skype: pfalcone
Gizmo5: paolo_falcone
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to