Skip to content

Failed file system during testing #41

Answered by danielrlewis
dots89 asked this question in Q&A
Discussion options

You must be logged in to vote

@dots89 I might know what's going on here. Based on the details you provided, I deduce that your block size (REDCONF_BLOCK_SIZE) is 512, since in that configuration the metaroot has a 480 byte bitmap. How large is your filesystem volume? Is it greater than 7.27 GB, by chance?

While looking into this, I discovered a bug: we aren't enforcing the maximum volume sizes which are inherent to the smaller block sizes. As a result, when the maximum is exceeded, it's possible to have an out-of-bounds access in the bitmap array, which would look exactly like what you describe.

For some background, I'll quote from the Reliance Edge Developer's Guide, specifically the "By the Numbers" chapter, which s…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@dots89
Comment options

Answer selected by dots89
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants