how to setup 4 drives on hetzner server


Jan 11, 2018
cPanel Access Level
Root Administrator
I asked this question on hetzner and webhostingtalk forums, but got no answer, it looks like a difficult issue!!

my dedicated server has:
2x HDD SATA 6,0 TB Enterprise
2x SSD M.2 NVMe 512 GB
OS is AlmaLinux v8.7.0

on hetzner dedicated servers, how can I set up the installimage so the OS be on the NVMe, and the home directory on the SATA?

PART swap swap 32G
PART /boot ext3 1024M
PART / ext4 all

Disk /dev/nvme0n1: 512 GB (=> 476 GiB)
Disk /dev/nvme1n1: 512 GB (=> 476 GiB)
Disk /dev/sda: 6001 GB (=> 5589 GiB)
Disk /dev/sdb: 6001 GB (=> 5589 GiB)

Total capacity 11 TiB with 4 Disks

I want the OS on NVMe with RAID1 between them,
home on HDD also RAID between them.

my guess solution in case no way to reach this directly from the installimage:
  1. unmount the 6TB drives
  2. setup normally with the NVMe and the RAID1 is created by default
  3. install cpanel
  4. mount the 6TB drives and fdisk and format them, and create RAID1 between them
  5. change the home to the 6TB drive

any help in reaching this please?
Last edited by a moderator:


Well-Known Member
Dec 19, 2016
cPanel Access Level
Root Administrator
As far as I know, Hetzner's installimage script doesn't support setting multiple independent disk arrays, so I would just do:

1) Configure installimage to create RAID1 on the NVMe disks
2) Once booted up in the selected OS, create RAID1+filesystem for the SATA disks and add it to the /etc/fstab file as /home
3) Mount /home
4) Run cPanel install
5) Done :)
  • Like
Reactions: ashrafpro and cPRex