Skip to content

[Bug]: EXT4-fs warning (device vdb): ext4_block_to_path:105: block 1710731624 > max in inode 21209237 #441

@vsarunas

Description

@vsarunas

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

Continuation on a specific problem mentioned under apple/container#614; ext4_block_to_path error reproduces quickly with the following command (creating a separate volume to avoid having to delete/refresh container images):

container run --name stress-filerace --memory 8G --volume filerace:/filerace --detach ghcr.io/colinianking/stress-ng  --filerace 4 --temp-path /filerace
container logs stress-filerace --boot
[    1.298126] EXT4-fs warning (device vdc): ext4_block_to_path:105: block 1527121118 > max in inode 2651
[    2.969787] EXT4-fs warning (device vdc): ext4_block_to_path:105: block 1611526618 > max in inode 1647
[    3.627644] EXT4-fs warning (device vdc): ext4_block_to_path:105: block 1313537738 > max in inode 1109
[   12.642219] EXT4-fs warning (device vdc): ext4_block_to_path:105: block 1645705218 > max in inode 6853
[   13.522424] EXT4-fs warning (device vdc): ext4_block_to_path:105: block 1441765641 > max in inode 3667
[   13.573263] EXT4-fs warning (device vdc): ext4_block_to_path:105: block 2046966733 > max in inode 4605

Mount:

container run -ti -v  ~/Library/Application\ Support/com.apple.container/volumes/filerace:/fs ubuntu /bin/bash
debugfs -R "stat <1109>" /fs/volume.img
debugfs 1.47.0 (5-Feb-2023)
Inode: 1109   Type: regular    Mode:  0600   Flags: 0x80000
Generation: 2558027091    Version: 0x00000000:00000001
User:     0   Group:     0   Project:     0   Size: 0
File ACL: 0
Links: 0   Blockcount: 0
Fragment:  Address: 0    Number: 0    Size: 0
 ctime: 0x6937ffd8:d4ab5c38 -- Tue Dec  9 10:54:16 2025
 atime: 0x6937ffd8:cb21f438 -- Tue Dec  9 10:54:16 2025
 mtime: 0x6937ffd8:cb21f438 -- Tue Dec  9 10:54:16 2025
crtime: 0x6937ffd8:cb21f438 -- Tue Dec  9 10:54:16 2025
 dtime: 0x6937ffd9:(d4ab5c38) -- Tue Dec  9 10:54:17 2025
Size of extra inode fields: 32
EXTENTS:

atime looks to be corrupted:

debugfs -R "stat <2651>" /fs/volume.img
debugfs 1.47.0 (5-Feb-2023)
Inode: 2651   Type: regular    Mode:  0600   Flags: 0x0
Generation: 1780173072    Version: 0x00000000:00000022
User:     0   Group:     0   Project:     0   Size: 0
File ACL: 0
Links: 0   Blockcount: 0
Fragment:  Address: 0    Number: 0    Size: 0
 ctime: 0x6937ffbc:07a12000 -- Tue Dec  9 10:53:48 2025
 atime: 0xd6b0bd86:d9cd4363 -- Sun May  6 06:41:10 2356
 mtime: 0x6937ffbc:07a12000 -- Tue Dec  9 10:53:48 2025
crtime: 0x6937ffbb:9d5b3400 -- Tue Dec  9 10:53:47 2025
 dtime: 0x6937ffbc:(07a12000) -- Tue Dec  9 10:53:48 2025
Size of extra inode fields: 32
Extended attributes:
  system.posix_acl_access (36) = 01 00 00 00 01 00 06 00 02 00 06 00 00 00 00 00 04 00 06 00 08 00 06 00 00 00 00 00 10 00 00 00 20 00 00 00
BLOCKS:

Current behavior

Filesystem corruption errors

Expected behavior

There should be no filesystem errors.

Environment

- OS: 26.1
- Xcode: 26.1
- Swift: 6.2

Relevant log output

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions