I have some encrypted volumes that I use with my Xubuntu machine. One volume is a container file that is mapped to
/dev/loop0 and encrypted using plain
dm-crypt; another volume is a USB hard drive encrypted using
What I'd like to know is what would happen if I accidentally shut down the computer without unmounting and unmapping these volumes? Is it any more risky than if the volumes weren't encrypted?
Similarly, what would happen if I had to hard-reboot the machine without unmapping the volumes, because the system froze for example?