Disk configuration for boot drive and zfs

goudarziha

New Member
Feb 1, 2024
2
0
1
Hello everyone, I am still pretty new to proxmox and virtualization in general. So I have made so many terrible mistakes I am sure, with those mistakes I am leaning, so thats a plus.

So my main question is configuration of my boot drive which is currently on an 2tb nvme, which I have provisioned like 120gb for all that stuff, and then I have also provisioned the remaining 1.8 tb to an LVM (again this was probably a mistake, had no idea about different storage types here. I also have another 2tb nvme drive that I havent used as I wanted to learn about how to correctly use this instead of making its own pool, would like a little redundancy here, as this would be data I would actually prioritize. I am wondering if I am able to somehow mirror the 2 2tb drives in some kind of configuration where they would be mirrored (RAID1) and I dont know how the boot drive stuff would fit into it.

I also have 2 12tb HDD that I was able to pass through to truenas and get that set up correctly, after many failed attempts, Using this in a mirrored (RAID1), but I guess zfs doesnt call it that? So that is fine and I am happy with it

Thank you again and sorry if this is a dumb question
 
So my main question is configuration of my boot drive which is currently on an 2tb nvme, which I have provisioned like 120gb for all that stuff, and then I have also provisioned the remaining 1.8 tb to an LVM (again this was probably a mistake, had no idea about different storage types here. I also have another 2tb nvme drive that I havent used as I wanted to learn about how to correctly use this instead of making its own pool, would like a little redundancy here, as this would be data I would actually prioritize. I am wondering if I am able to somehow mirror the 2 2tb drives in some kind of configuration where they would be mirrored (RAID1) and I dont know how the boot drive stuff would fit into it.
There are 4 options:
A.) use the pseudo-hardware raid of your mainboard to create a raid1. Then install PVE from the PVE ISO using LVM to that raid array.
B.) same as A but buying a real hardware raid card with NVMe support (wont be cheap)
C.) install PVE using the PVE ISO and create a software raid1 via ZFS. But then keep in mind that performance and life expectation might not be great in case you bought consumer grade SSDs without power-loss protection or even worse QLC-NAND SSDs.
D.) install a Debian 12 via the Debian ISO using mdadm raid1 or a LVM mirror. Later install PVE packages on top of that Debian. This might be lighter on the SSDs but isn't oficially supported.
 
Last edited:
  • Like
Reactions: goudarziha
There are 4 options:
A.) use the pseudo-hardware raid of your mainboard to create a raid1. Then install PVE from the PVE ISO using LVM to that raid array.
B.) same as A but buying a real hardware raid card with NVMe support (wont be cheap)
C.) install PVE using the PVE ISO and create a software raid1 via ZFS. But then keep in mind that performance and life expectation might not be great in case you bought consumer grade SSDs without power-loss protection or even worse QLC-NAND SSDs.
D.) install a Debian 12 via the Debian ISO using mdadm raid1 or a LVM mirror. Later install PVE packages on top of that Debian. This might be lighter on the SSDs but isn't oficially supported.
Oh wow, thank you so much! I didnt know those hardware raid cards existed and they are not cheap lol. Going to try my hand at A and D. Really appreciate it!