Partitioning of Ubuntu server which will use OpenVZ and encrypted partitions (unlocked through SSH l
- by DeletedAccount
Hi,
I'm about to install a server. Some context:
My HDD is 1 TB and I have 2 GB RAM
Ubuntu Server Lucid Lynx AMD 64
I will use OpenVZ and have most functionality separated into containers. To support disk quotas I need to use ext3 (not ext4) for the container partition.
Each time I reboot the server I want to be forced to login through SSH and mount the encrypted partitions by typing my password (if someone steals the server, no critical data should be available).
I want to have as much as possible encrypted. Yet I want to be able to login through SSH as I don't have a monitor or keyboard at the server.
I am not sure how big I need my partitions to be. Being able to resize them later would be nice. I guess it implies using LVM? But the manual partition mount using SSH is also very important (in fact it's more important, if I have to pick one).
How do you recommend that I partition the HDD? If I have daemons which needs the encrypted partitions, will they fail and can I just restart them after mounting the needed partitions?