You are not logged in.

#1 2016-02-05 20:28:24

mrgiggums
Member
Registered: 2016-01-09
Posts: 13

[solved] NTFS corrupt directory

The issue that I am facing is when I try to list the contents of a specific directory on my NTFS partition, I get a read error. Also, I dual boot arch with windows and when I navigate to that directory in windows it tells me that it is corrupt or unreachable.

If there isn't a way to directly fix this issue, is there a way to recover the three text files this directory contains?

$ ls dir
ls: reading directory dir: Input/output error

Also I am using ntfs-3g to mount this partition.

If more information would be help please tell me what I should post.

Last edited by mrgiggums (2016-02-05 21:50:11)

Offline

#2 2016-02-05 20:33:48

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [solved] NTFS corrupt directory

There's ntfsfix in the ntfs-3g package, but you're better off using Windows' tools to fix a Windows filesystem.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-02-05 21:44:21

mrgiggums
Member
Registered: 2016-01-09
Posts: 13

Re: [solved] NTFS corrupt directory

I used chkdsk and was able to recover two of the three text files. The file I was missing was one that I had recently edited so it wasn't that surprising that it was missing. Oddly, I think it also removed another directory but luckily I had it backed up.

Thank you for your help.

Offline

Board footer

Powered by FluxBB