Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segment file extensions for large number of segments #148

Open
p4xel opened this issue Mar 25, 2021 · 6 comments
Open

Segment file extensions for large number of segments #148

p4xel opened this issue Mar 25, 2021 · 6 comments

Comments

@p4xel
Copy link

p4xel commented Mar 25, 2021

Just came across EX01 image of 6TB drive split into 2GB segments. Number of files exceeded counter for implemented extensions.
Then image I was dealing had extension Tx01. The numbering went as follows

Tx01-Tx99
TxAA-TxZZ
TyAA-TyZZ
TzAA-TzZZ
T{AA-T{ZZ

(it wasnt T{ZZ, and I don't have the image any more, and also cannot verify what's next)
libewf failed to mount the full image, as it could not load extensions pass TzZZ)

There is a good chance we can encounter this issue soon as storage sizes grow rapidly.

@joachimmetz
Copy link
Member

@p4xel thx for the report, the reason for libewf not supporting past TzZZ is that the behavior was not defined in the format specification (if I recall correctly). I'll see if I can reproduce it with an awful small segment file size.

There is a good chance we can encounter this issue soon as storage sizes grow rapidly.

This makes me wonder, why still use segment files (split images) in the first place? most removable media is a thing from the past IMHO

@chrestme
Copy link

Just piping in that I'm currently experiencing this exact issue. I have approximately 2500 2GB segment files for an image of a 6TB drive, with extensions beginning Ex01, and breaking on E{AA. The error traceback points to "libewf_filename_set_extension: unable to support for more segment files."

I'll try commenting out those specific checks in libewf_filename.c and recompile to see how it behaves.

@joachimmetz
Copy link
Member

@chrestme can you describe which segment file extensions you are observing

@chrestme
Copy link

The image is comprised of 2474 segment file with extensions of:
Ex01-Ex99
EyAA-EyZZ
EzAA-EzZZ
E{AA...

I was actually trying to load them in X-Ways, and I got an error naming segment file 2129, which corresponds to where the filename extensions transition to E{AA.

For what it's worth, I commented out the checks in libewf_filename_set_extension and recompiled, and was able to successfully run ewfmount, and nothing seemed to blow up.

@joachimmetz
Copy link
Member

What comes after E{ZZ ?

@chrestme
Copy link

chrestme commented Aug 17, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants