Postby gboudreau » Sat Oct 23, 2010 5:41 am
I gave never used Truecrypt myself on anything but Windows, where I created a 2GB file that I mounted as a F: drive, and on which I put sensitive data.
If it works the same on Linux, and you want to use Greyhole with Truecrypt, it depends on how you want to use it.
If you don't want to use Greyhole, you should post in another forum to find someone with TC experience to help you further.
For Greyhole:
- If you want to put the big file on the share, and thus allow clients to connect to the shares, and mount themselves those .tc files, you'll want to use the 'frozen directories' feature of Greyhole. This will make Greyhole update extra copies of the .tc files only on regular intervals, say once a day. If you don't do that, every time a small change would happen on a mounted .tc file, Greyhole would then copy the complete .tc file to update extra copies, which would probably be a lot of unnecessary copying.
- If, instead, you'd like to keep the .tc files on your Linux server, and mount them there, and have the files inside those .tc mounts available on your shares, I guess the easiest way would be to put create as many .tc files as you want extra copies, put each on a separate drive, and mount them all somewhere (like /mnt/tcX). Then, you'd add those mount points to your storage pool. You'll then want to specify those mounts as the 'sticky dirs' for the shares / directories in your shares that you want to have in your .tc files. This will force Greyhole to use those .tc mounts to keep file copies for files in the share or directories in your shares that you specified.
Good luck.
- Guillaume Boudreau