0

I have a Linux machine where I mounted an additional harddisk that has an NTFS filesystem. I use SAMBA to make that volume available in my network.

I was uploading files to a directory on that disk when the Linux machine became unresponsive and I had to do a hard reboot. After that, almost all the files in that directory (and only that directory) disappeared. The volume is still mounted and other directories are good.

When I logged into the Linux machine and checked that directory, the files that had disappeared were all still there, but they all had an error status that said "inode/x-corrupted type", and they all had size 0.

What has happened? How do I fix it? And how can I prevent it in the future?

I googled a bit and found a tip to change the rights to the files using chmod, but that didn't work. I also found tips to use ntfsfix, but that didn't do anything either.

Any help would be greatly appreciated. If all else fails, I will open the machine, take the harddisk out and mount it into a spare windows machine and hope that chkdsk solves the problem.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.