Partitioning of Ubuntu server which will use OpenVZ and encrypted partitions (unlocked through SSH l

Posted by DeletedAccount on Server Fault See other posts from Server Fault or by DeletedAccount
Published on 2010-05-13T22:07:38Z Indexed on 2010/05/13 22:14 UTC
Read the original article Hit count: 192

Filed under:
|
|
|

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?

© Server Fault or respective owner

Related posts about partitioning

Related posts about linux