Purchased a dedicated Hetzner server with 2x small SSDs and 2x large HDDs paired with hardware RAID. Running installimage
from Rescue OS shows this as config:
# Adaptec RAID (LD 0): no name
DRIVE1 /dev/sda
# Adaptec RAID (LD 1): no name
DRIVE2 /dev/sdb
...
Lower down, it shows,
## your system has the following devices:
#
# Disk /dev/sda: 749 GB (=> 697 GiB).
# Disk /dev/sdb: 119 GB (=> 111 GiB).
I set SWRAID 0
. How do I tell the script to mount the SSD pair as the primary drive for installing the OS?
My first attempt was to swap the DRIVEx statements around, which resulted in this on Debian:
root@Debian-90-stretch-64-minimal / # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 698G 0 disk
|-sda1 8:1 1 12G 0 part
| `-md0 9:0 0 12G 0 raid1 [SWAP]
|-sda2 8:2 1 512M 0 part
| `-md1 9:1 0 511.4M 0 raid1 /boot
`-sda3 8:3 1 99.1G 0 part
`-md2 9:2 0 99G 0 raid1 /
sdb 8:16 1 111.6G 0 disk
|-sdb1 8:17 1 12G 0 part
|-sdb2 8:18 1 512M 0 part
`-sdb3 8:19 1 99.1G 0 part
As you can see the SSDs are a on sdb
and the larger 698GB HDDs are on sda
, but sda is not fully partitioned. It feels like potentially the drives are incorrectly paired.
If the box is still "clean" maybe you could remove your two raid arrays and recreate them so the ssd-array is the first one.
There is sufficient documentation on how to do this using
arcconf
on https://wiki.hetzner.de/index.php/Adaptec_RAID_ControllerYou should remove one of the discs from the config.
Otherwise, all 4 physical disks will be in one raid massive:
Later, after system installation, you can format and mount second raid massive
https://wiki.hetzner.de/index.php/Installimage/en