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

UDF File System Repair - fsck #48

Closed
stef204 opened this issue Jan 25, 2021 · 8 comments
Closed

UDF File System Repair - fsck #48

stef204 opened this issue Jan 25, 2021 · 8 comments

Comments

@stef204
Copy link

stef204 commented Jan 25, 2021

Hi,
I used your udftools to create 2 partitions on an external USB drive. My intention was to use a format which would be recognized by Linux, Windows and*or MacOS; including permissions, etc.

I attempted to download a very large source code repository to the drive, and had to interrupt the download.

It left some "files" which are marked:

??????????? somefilename which are impossible to remove.

rm -rf somefilename returns cannot remove input output error and I am led to believe this means the file system is in need of repair? (Something like fsck,)

I cannot find any tools to repair udffs. Any suggestions?

@pali
Copy link
Owner

pali commented Jan 25, 2021

Duplicate of #21

@pali pali marked this as a duplicate of #21 Jan 25, 2021
@pali pali closed this as completed Jan 25, 2021
@stef204
Copy link
Author

stef204 commented Jan 25, 2021

Not totally the same, though. Do you have any suggestions with regard to the second part of my post, how to resolve the problem?

@pali
Copy link
Owner

pali commented Jan 25, 2021

If filesystem is damaged it is not possible to mount and use it. So you need to repair it and after that you can remove any content in that which you wish.

@stef204
Copy link
Author

stef204 commented Jan 25, 2021

Yes, HOW do I repair it, that's what I am asking. I CAN mount it on my Linux box and navigate to the files marked:
??????????? somefilename but then I just CANNOT remove those files. That's where I get the I/O error.
I am trying to mount the drive on a Windows VM now to see if I can use the chkdsk there but having trouble with getting the drive detected and read.
Can you suggest any way of fixing the issue described using Linux?

@pali
Copy link
Owner

pali commented Jan 25, 2021

That is why I closed this issue as duplicate of the #21 which is about fsck.udf tool for repairing udf filesystem. There is no released tool yet, only older WIP.

@stef204
Copy link
Author

stef204 commented Jan 25, 2021

So you have no feedback or suggestions as to HOW to resolve the problem described with tools available currently? You are saying there is no solution available for me? Or can you suggest anything?

@pali
Copy link
Owner

pali commented Jan 25, 2021

As you can see #21 is still unresolved. I have already wrote that there is no released tool yet. You can only try mentioned tool from WIP pull request.

@stef204
Copy link
Author

stef204 commented Jan 25, 2021

FYI, I was able to mount it and have it detected by Windows7. I ran the chkdsk /f /r /x to no avail. It did not fix anything. Just for the record.
I guess I will nuke the partitions(only has some backups on it that I can re-create) and start fresh. Unfortunately, I will have to drop UDF in favor of a more mature file system. Hopefully, though, I can revisit UDF when it reaches a more mature stage. Thanks.

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

No branches or pull requests

2 participants