Hello

On Thu, May 25, 2017 at 8:25 PM, Ankur Tank <[email protected]> wrote:
> Hello Experts,
>
> We are seeing fragmentation and resultant eMMC partition corruption when
> extracting tar file with 81000 files of 4k size.
>
> Detailed steps are listed in Test_steps.txt file and other attached tars
> contain required scripts to big tar file and other test scripts.
>
> In test is very simple,
> 1. we have tar with 81000 number of 4k size file
> 2. we ran latest debian from Beagleboard.org from Micro SD Card
> 3. Partitioned eMMC in two partitions
> 4. Then mounted one of the partition and started extracting big tar file on
> that partition.
>
> This results in below Error.
> EXT4-fs error (device mmcblk1p2) in ext4_do_update_inode:4665: Journal has
> aborted
> [12064.194479] EXT4-fs error (device mmcblk1p2) in add_dirent_to_buf:1921:
> Journal has aborted
> [12064.209980] EXT4-fs error (device mmcblk1p2) in
> ext4_do_update_inode:4665: Journal has aborted
> [12064.223765] EXT4-fs error (device mmcblk1p2) in ext4_create:2455: IO
> failure
> [12064.238221] EXT4-fs error (device mmcblk1p2):
> ext4_journal_check_start:56: Detected aborted journal
> [12064.247591] EXT4-fs (mmcblk1p2): Remounting filesystem read-only

Did u check the the number of inodes on your device mmcblk1p2 (df -i).
The number _must_ be over 81000. You can tune the number of inodes
while formatting (man mkfs.ext4) with -N. You should play around with
-b and other parameters as well...

tar.gz is nothing else than a gzipped tar file. Did you try the same
experiment with a uncompressed tar having the same size ?


> Strange enough this test works fine on Angstrom OS image

Maybe Angstrom mkfs produces a different filesystem with different # of inodes

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAK4vXrsrwMoYqH1%3DVqhAgjgoHwOotcUmY30bo6JE9boA8zu3Ag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to