Wind River Support Network

HomeDefectsLIN6-3432
Fixed

LIN6-3432 : make usb-image creates a image without enough inodes with 2 gig images

Created: Sep 18, 2013    Updated: Mar 5, 2016
Resolved Date: Dec 3, 2013
Previous ID: LIN5-5254, LIN6-2834
Found In Version: 6.0
Fix Version: 6.0
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config

Description

The "make usb-image" command should call genext2fs with the -i arg for large file systems else you do not have enough inodes if you are simply adding extra space to execute various work loads.

Workaround

make usb-image-loop

Steps to Reproduce

configure --enable-rootfs=glibc_small --enable-board=qemux86

make usb-image IMGARGS="--ext2-mb=2000 --no-rm"

mkdir /tmp/jj

sudo mount -o loop export/img_tmp.2 /tmp/jj ; df -i /tmp/jj ; sudo umount /tmp/jj

Filesystem     Inodes IUsed IFree IUse% Mounted on

/dev/loop0       4000  1225  2775   31% /tmp/jj



That will not be nearly enough!
Live chat
Online