Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a file (say, which is a virtual encrypted disk. When I mount with sudo truecrypt /mnt/v, I can access most of the files, but one file on this volume (say got corrupt for some unknown reason: for example, when I call ls, it says ls: cannot open Input/output error.

I tried:

  1. Using ntfsfix. I have only the mount point (/mnt/v), but ntfsfix asks for a device name (/dev/...). df -T reports filesystem type fuseblk (looks like a nickname for NTFS) and device /dev/mapper/truecrypt1. However ntfsfix /dev/mapper/truecrypt1 doesn't work (it says Refusing to operate on read-write mounted device /dev/mapper/truecrypt1.).

  2. rm /mnt/v/path/to/ gives rm: cannot remove "/mnt/v/path/to/": Input/output error.

The question: Is there a way to recover, or at least delete it, so I would be able to create it again?

share|improve this question

closed as too localized by qbi, Seth, Florian Diesch, hhlp, Tom Brossman Feb 24 '13 at 21:42

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be abandoned and unanswered, if you are experiencing a similar issue please ask a new question with details pertaining to your problem. If you feel this question is not abandoned, please flag the question explaining that. – Aditya Feb 24 '13 at 16:20
Use truecrypt --filesystem=none to make disk device available on /dev/mapper/truecryptX, without real mounting a filesystem – l0co Apr 13 '14 at 18:43