Comment 10 for bug 521523

Revision history for this message
Thomas O. (thomas-tgohome) wrote :

I have one file which is corrupted, my VirtualBox config file. VirtualBox reports an XML error, and from looking at the file, I see it is truncated. This happened when my disk space was low. I am going to be reformatting ASAP (in the weekend, I cannot afford to lose my laptop during the week) but I will not be using ecryptfs again.

It seems that when ecryptfs experiences a low disk space condition, files get truncated. So far only VirtualBox has been hit. That can be repaired reasonably easily, by deleting the config and letting VB create it again. But I worry that a more important file will be corrupted eventually, so I have backed up all important stuff on to another, non-ecryptfs HDD.

The files only get corrupted if they are in use at the time of the disk space condition. Attached is the config file which was damaged, note that it is truncated.