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

Silent corruption of filesystem #13

Open
AgreeableAardvark opened this issue Oct 27, 2022 · 1 comment
Open

Silent corruption of filesystem #13

AgreeableAardvark opened this issue Oct 27, 2022 · 1 comment

Comments

@AgreeableAardvark
Copy link

AgreeableAardvark commented Oct 27, 2022

So i had a corrupted directory on my ntfs hdd, that is not a ntfs3 problem.

Here's the story.
I wanted to continue watching some videos on my ntfs hardrive in vlc. Played the most recent file. But then i looked in the directory with nemo(cinnamon file manager) and the files that i wanted to play next were not displayed. Funny thing was that the file that was currently playing in vlc was also missing in the directory.
Tried ls -la, find, su to root etc.. but it was'nt a hidden file/rights issue. Also with cp i could copy the file just fine using the absolute path.

Ran smartctl, fsck, badblocks even rkhunter and clamav.
But no problems.
Installed ntfs-3g ran ntfsfix but no issues there.
Then i mounted the drive with -t ntfs-3g and it came with my first error message (thought i saved it but can't find it anymore, sorry).

But here is a error message i did save:
$ ls /media/d_big/download-unsorted
ls: reading directory '/the/path': Input/output error

I had to chkdsk on grrr windows to fix this.
I hope you agree that the handling of the corrupted files in ntfs3 was an issue here.

edit:
Arch Linux kernel 6.0.2-arch1-1
Cinnamon 5.4.12

@lavilao
Copy link

lavilao commented May 21, 2023

I just had this same issue, ls did not showed nothing nor nautilus but I could access the files if I cd with the right address. And just like you had to go to windows and pray for chkdsk to fix it (it did). The only thing different is that my files were not corrupted before, just an hour ago I could see them in nautilus and interact with them, but everything you said was just the same that happened to me. I am on manjaro with linux-cachyos-lto 6.3.1 kernel. And yes, please add a better way to handle corrupted files that isn't "go to windows and fix it there".

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