I have a debian based server at home using banana-pro. One of its functions is being a backup/owncloud/nas. There is a sata drive attached to it and I want it to be encrypted. I know that for a pc I could use truecrypt. I'd like this drive to automount and unencrypt on bootup with server. It would be also really nice if I could plug it into another computer and access the files on it with a password. Is something like this easily doable?
If you want to encrypt a disk, you would want to use LUKS.
I will leave you the relevant page: