[SOLVED] Setup Server with 2 HDD and 2 NVME Raid 1

Ashian

Active Member
Sep 24, 2017
6
0
41
45
Hello,
I order a new server from Hetzner and I have 2 HDD (2TB) and 2 NVME ( 1.9 TB).
I like to setup 2 different RAID 1, one for 2 HDD drives and another for NVME drives.
Is this good choose ? or I can setip 1HDD+1NVMe in one RAID.

and the main issue is how can I create 2 different software RAID while setting up PVE? I use Hetzner setup script.
in most try I find that system create one RAID 1 with all 4 drives. How can I manage this?
Thank you
 
You can only use one zfs pool while installing proxmox. But its no problem to create a second zfs pool later.
Mixing HDDs and SSDs as a stripped mirror isn't a good idea because you can't decide what data will be stored on the slow HDDs or on the fast SSDs.
I would use the two SDDs as zfs mirror an install proxmox to them and use it for all your VMs too.
And then use the two HDDs as a zfs mirror for your data that don't need to be fast.
 
Last edited:
You can only use one zfs pool while installing proxmox. But its no problem to create a second zfs pool later.
Mixing HDDs and SSDs as a stripped mirror isn't a good idea because you can't what data will be stored on the slow HDDs or on the fast SSDs.
I would use the two SDDs as zfs mirror an install proxmox to them and use it for all your VMs too.
And then use the two HDDs as a zfs mirror for your data that don't need to be fast.
Thank you.
When I use Hetzner proxmox installation, it doesn't use zfs, I check zfs command on fresh proxmox server and it's not installed. is there any extra setting needs to be choose during proxmox setup?
 
What else is the Hetzner script choosing for software raid? Mdraid?
there I can choose RAID level ( 0 - 1 - 5- 6- 10 ) and Disks, nothing anout ZFS or mdraid there. but it will create md0 - md1 parts
 
there I can choose RAID level ( 0 - 1 - 5- 6- 10 ) and Disks, nothing anout ZFS or mdraid there. but it will create md0 - md1 parts
Then it should be mdraid. I wonder why they are not using ZFS, because mdraid isn't officially supported by proxmox and the Proxmox VE installer is only supporting ZFS for software raid configurations.
It still should be possible to add another mdraid array later but you will need to do it youtself by CLI because there is no GUI for that, because mdraid isn't offficially supported.
 
Last edited:
Finally I do by this order, Installing os on NVME drives, and in CLI create RAID 1 for HDD drives, then run Hetzner Installer, and in this case remove HDD from drive list in this installer script. so installer Install Proxmox with software raid 1 on NVMEs and doesn't touch HDD drives. then I mount HDD from cli, ( Last RAID setting was there without any changes) so then I have 2 different RAID 1 setup, for HDD and NVMe drives
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!