You are not logged in.
Im having a weird issue regarding my external (ntfs) hdd.
there is one file on the drive which i cannot get rid of
it keeps giving me:
rm: cannot access file_name Input/Output error
whenever i do ls -lart on it i get:
-????????? ? ? ? ? ? file_name
i tried fschk on the drive and got:
sudo fsck /dev/disk/by-label/New\x20Volume
Password:
fsck from util-linux-ng 2.17.2
fsck: fsck.ntfs: not found
fsck: Error 2 while executing fsck.ntfs for /dev/sdc2
any suggestions?
thanks
Last edited by murfMan (2010-04-25 20:11:16)
Offline
For the first part, look into rm by inode number.
Offline
ls -li
ls: cannot access file_name: Input/output error
total 0
? -????????? ? ? ? ? ? file_name
Offline
i ended up just plugging it into a windows machine and scanning the file-system for errors. I was then able to remove the file. i don't think fsck works with ntfs drives.
Offline
You would need the ntfs apps on your system; such as: ntfs-3g or ntfsprogs
My guess is that you didn't have that on your machine; a supposition that is supported by fsck.ntfs not being found.
Knute
Offline