I used to map and mount a truecrypt container with
cryptsetup --type tcrypt open /path/to/file mount /dev/mapper/file /mnt/file
and unmap / unmount it with
umount /mnt/crypt cryptsetup --type tcrypt close file
I have a feeling that the last time I used the container I forgot to unmap/unmount the volume after I used it. However, I'm not sure.
The bad thing is, after I mounted the volume today, the ext volume inside the container appeared to be empty.
Its unlikely that I deleted the files, hence I assume that the filesystem got somehow damaged. Typically the drive gets only read from, hence the data should be still there.
How would I approach the rescue of this volume?
testdisk still finds multiple superblocks and gets the correct used space.