Server Fault is a question and answer site for system and network administrators. 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 truecrypt file that contains an ext3 file system. Not sure exactly how to word this, but is there a way I can mount the truecrypt volume without actually mounting the filesystem within it so I can attempt to repair it with fsck?

So I have (ext3 filesystem(TrueCrypt File( Ext 3 Filesystem ))). I want to run the check on the one in bold.

I have of course made a copy of the file already. I can still mount it, but I have deleted files and df still shows as full, so I am thinking there is maybe a bad superblock?

share|improve this question
Maybe --filesystem=none as recommended here? – Kyle Brandt Nov 11 '09 at 13:50
Trying those instructions now, seems to be running. – Kyle Brandt Nov 11 '09 at 13:53
up vote 4 down vote accepted

Followed the instructions in The only thing is that I had to recover from one of the backup super blocks. You can use the testdisk program described in that page to find the other superblocks (there are other methods), and then you just specify it like:

/sbin/fsck.ext3 -b 24577 /tmp/.truecrypt_aux_mnt1/volume
share|improve this answer

I found that one can simply do the following:

truecrypt /data/mycrypt.true
umount /media/truecrypt1
fsck /dev/mapper/truecrypt1
share|improve this answer

Easiest solution would be to mount it as read-only (option "ro"). Then just run fsck on the mounted volume. Of course fsck will complain that the volume is mounted, but you can safely override that, as an ro mount cannot interfere with fsck.

Note: Make sure to not access the mount point and immediately unmount after fsck completed (then remount). fsck messing with the filesystem might confuse regular filesystem access at the same time, which could even cause a system crash.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.