DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Truecrypt forced dismount and filesystem corruption  (Read 11,732 times)

nosh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,441
Truecrypt forced dismount and filesystem corruption
« on: September 01, 2011, 10:52 AM »
I've had problems with the NTFS filesystem of a Truecrypt volume (external HDD) getting corrupted in the past. I've run chkdsk and that fixed it most times. I had to reformat the drive and start from scratch on one occasion (after chkdsk couldn't fix the problem, IIRC - I'm hazy about the details since it was a while back.)

I suspected hardware issues but it struck me it could be the forced dismount I used on the volume. The dismount was initiated through a batch file using the /force switch, so it occured everytime.

I stopped using forced dismount and started using Unlocker to take care of whatever was stopping the volume from dismounting normally.

Today, I tried to dismount the volume and got the usual "truecrypt volume contains files or folders being used by applications or system" message. Unlocker shows there's nothing locking the drive. I installed iobit Unlocker and it doesn't show the drive as locked either. I did a forced dismount, remounted the volume and ran chkdsk. No errors detected, but I'm worried my luck may not last. There seems to be a mismatch between what Truecrypt and the Unlocking utilities are reporting. The Windows Indexing service never runs on my system and I even closed the usual suspects - Everything & Locate32 (both configured to ignore the TC drive), anti-virus (doesn't scan in realtime, in any case).

Is there any way to know which files-in-use/apps Truecrypt has detected? Or should I just go ahead and use a forced dismount as long as Unlocker gives me the all clear?
« Last Edit: September 01, 2011, 11:06 AM by nosh »

40hz

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 11,861
Re: Truecrypt forced dismount and filesystem corruption
« Reply #1 on: September 01, 2011, 12:20 PM »
[attach]
« Last Edit: September 01, 2011, 12:27 PM by 40hz »

nosh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,441
Re: Truecrypt forced dismount and filesystem corruption
« Reply #2 on: September 01, 2011, 12:27 PM »
Seems like that's the only "clean" solution available.  :up:

Just saw your edit... 4 minute reboot... I AM EXCIIIITE!  :P

40hz

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 11,861
Re: Truecrypt forced dismount and filesystem corruption
« Reply #3 on: September 01, 2011, 01:17 PM »
4 minute reboot? Wow... :tellme: I can run a full integrity check on my Linux filesystem in less time than that.  :-\

nosh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,441
Re: Truecrypt forced dismount and filesystem corruption
« Reply #4 on: September 01, 2011, 01:20 PM »
Haven't actually timed it but it definitely isn't brisk!

Original address: https://www.donationcoder.com/forum/index.php?topic=27827.0