You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Free blocks * block size is over 250MB. The device is only 200MB. The larger the block size, the more the formatted capacity might exceed the physical capacity.
Summary
When running
ext4_mkfs
, lwext4 may mark more blocks as free than can actually fit on the device.Reproducing
make cd build_generic/fs_test make dd if=/dev/zero of=lwext_image bs=1000000 count=200 ./lwext4-mkfs -v -i lwext_image -e 4 -b 4096 ./lwext4-generic -i lwext_image --sbstat
Actual output shows
Free blocks * block size is over 250MB. The device is only 200MB. The larger the block size, the more the formatted capacity might exceed the physical capacity.
Expected
Whereas with the standard
mkfs
command on Linux:We get
Free blocks * block size is about 166B. This fits in the 200MB device.
The text was updated successfully, but these errors were encountered: