Skip to contentSkip to conversation

mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system

Buildroot Andreas Ziegler 2 participants 2 messages Nov 3, 2020 – Sep 5, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 4 lines

Subject: [Buildroot] mkfs.ext4: Could not allocate block in ext2
filesystem while populating file system
Message-ID:

	<AM0PR10MB2433AA0D0ED377CB19D8F22A82100@AM0PR10MB2433.EURPRD10.PROD.OUTLOOK.COM>

Hi Kevin,

Check the hint directly below the error message:

Quoted 4 lines

mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system
*** Maybe you need to increase the filesystem size (BR2_TARGET_ROOTFS_EXT2_SIZE)

Your new root filesystem is larger than the default space in the image, which is specified in the buildroot config.

Regards,
Andreas

#2 lore raw

Kevin, Andreas, All,

On 2020-11-03 08:05 +0100, Andreas Ziegler spake thusly:

Quoted 4 lines
Quoted 4 lines

Subject: [Buildroot] mkfs.ext4: Could not allocate block in ext2
filesystem while populating file system
Message-ID:

	<AM0PR10MB2433AA0D0ED377CB19D8F22A82100@AM0PR10MB2433.EURPRD10.PROD.OUTLOOK.COM>
Quoted 8 lines

Check the hint directly below the error message:

Quoted 4 lines

mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system
*** Maybe you need to increase the filesystem size (BR2_TARGET_ROOTFS_EXT2_SIZE)

Your new root filesystem is larger than the default space in the image, which is specified in the buildroot config.

In fact, I believe this is a regression in e2fsprogs 1.46.3; see bug #14196: https://bugs.busybox.net/show_bug.cgi?id=14196

I'll soon send a patch to fix that both in master and in the stable 2021.08.x branches.

Regards,
Yann E. MORIN.

Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot