I have a 2U server with a rear drive caddy that supports 2x2.5" drives. I also have 2x 500GB HDDs that I sourced from older laptops. So I thought I'd setup a ZFS mirror as my boot pool and also use the remaining space for my VMs as they would be faster since they would be local. Secondly I can only have 2 drives max for the OS since the chassis only supports 2 drives. The 12 drives up front-- I intend to use them for a zfs pool of 2 vdevs of 6 drives each.
However, reading up on it a bit, I came across conflicting theories regarding the following two points
I thought I can mitigate point 1 by simply having the backups of the LXCs and VMs on my NAS and simply restoring them from the backups if shit hits the fan. Any issues with that approach? Can someone elaborate on the need to keep the OS separate from the VM data (especially if we have backups stored on a separate machine)
I am a bit more concerned about point 2 though. After installation of Proxmox, i plan on creating a RAIDZ2 pool of 6x3TB drives which will act as my NAS backup. I intend to have ZFS sync between my TrueNAS(bare metal) zfs and this new pool. Will the ZFS on the root pool compete for memory with the ZFS pool on the 3TB drives? My server is maxed out in terms of RAM at 32GB. So adding more RAM is not possible.
In the above described scenario:
Thanks in advance.
However, reading up on it a bit, I came across conflicting theories regarding the following two points
- some people advise against having the root OS and the VM storage on the same disk so that you don't lose VMs in case the OS bites the bullet or vice-a-versa
- ZFS also consumes memory.
I thought I can mitigate point 1 by simply having the backups of the LXCs and VMs on my NAS and simply restoring them from the backups if shit hits the fan. Any issues with that approach? Can someone elaborate on the need to keep the OS separate from the VM data (especially if we have backups stored on a separate machine)
Pros:
- Re-use old 500GB hdds
- Re-use space on the 500GB rather than waste it only on the 20gb or so OS
- HDDs would be better than consumer SSDs in terms of wear & tear
Cons:
- HDDs would be slower than SSDs
I am a bit more concerned about point 2 though. After installation of Proxmox, i plan on creating a RAIDZ2 pool of 6x3TB drives which will act as my NAS backup. I intend to have ZFS sync between my TrueNAS(bare metal) zfs and this new pool. Will the ZFS on the root pool compete for memory with the ZFS pool on the 3TB drives? My server is maxed out in terms of RAM at 32GB. So adding more RAM is not possible.
In the above described scenario:
- Would it make more sense to use LVM Thin for root OS and only use ZFS for the main RAIDZ2 pool or can I use ZFS for both?
- Should I separate the root OS (on the 500gb HDDs or 128GB SSDs) and the VM data over to the 6x3TB RAIDZ2 pool?
- Any other root OS configuration that I haven't listed?
Thanks in advance.
Last edited: