Planning for a Proxmox VE server: Am I making any mistake?

Tony

Renowned Member
Nov 4, 2010
113
11
83
Hello,

I am planning for a new Proxmox VE server and would like to ask for your opinions/comments.
It's a server with 64G RAM and 2x500G SSD, for about 4-6 CTs running java apps, no VMs.

Plan:
- partitioning for /dev/sda:
/dev/sda1: 20G, type mdadm, used for: mdadm raid1 for rootfs
/dev/sda2: 8G, type: swap
/dev/sda3: remaining, for zfs.

- /dev/sdb has identical partitioning

- installation: rootfs on raid1 on /dev/sd[ab]1, minimal debian, then proxmox. It's a hosted server so I don't have physical access, therefore I must start with debian.

- storage: zfs subvol or directory

Questions:
- I often read that it's best to give ZFS access to the whole disk. What are potential problems when I use partition instead of entire disk?

- what are the advantages of using zfs subvol over directory? I have full control on the CTs and don't need to limit disk storage for individual CTs. On the contrary, I want to give each CTs as much storage as possible.

thanks,
Tony
 
- I often read that it's best to give ZFS access to the whole disk.
Yes this is true and really recommended.
The consequent are all io on the disk, will be very slow.

- what are the advantages of using zfs subvol over directory?
Subvol are logical ZFS entry's, so you can do snapshots on this level or sync data, etc.