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
Essentially for ext4 filesystems for which featureInCompat64bit is false (64 bit feature is not set), getGroupDescriptor call will result in the below error.
2023-06-22T05:26:59.664+0400 WARN Partition error: filesystem error: unexpected fs error: new ext4 filesystem error: failed to get group Descriptor: failed to parse group descriptor: EOF
Unfortuanately i do not have AMI from which the volume was created but the fix is essentially what was articulated in the above raised issue.
You need to read only half of that struct if the 64-bit feature is not set and not use the rest of the fields. For the next entry you only increment offset by 32, not 64.
So the fix is literally to have 32 byte equivalent of GroupDescriptor and read to it when 64-bit feature is not set.
This is directly related to the issue raised in dsoprea/go-ext4#7
Essentially for ext4 filesystems for which
featureInCompat64bit
is false (64 bit feature is not set), getGroupDescriptor call will result in the below error.Unfortuanately i do not have AMI from which the volume was created but the fix is essentially what was articulated in the above raised issue.
So the fix is literally to have 32 byte equivalent of
GroupDescriptor
and read to it when 64-bit feature is not set.Here is the dump from my ext4 formatted volume.
The text was updated successfully, but these errors were encountered: