how to setup 4 drives on hetzner server
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?
installimage:
PART swap swap 32G
PART /boot ext3 1024M
PART / ext4 all
disks:
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:
- unmount the 6TB drives
- setup normally with the NVMe and the RAID1 is created by default
- install cpanel
- mount the 6TB drives and fdisk and format them, and create RAID1 between them
- change the home to the 6TB drive
-
Hey there! cPanel doesn't have any control over the hardware on the server, so I'm not sure if you'll get many good replies here. I'll leave this marked as new for a bit so others can share their experience. 0 -
Hi! 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 :) 0
Please sign in to leave a comment.
Comments
2 comments