This method is only available to Hetzner dedicated servers with soft RAID (hard RAID is not supported), multiple HDDs and all HDDs of the same size.
For example, you can use this command for 2*3TB HDDs, 4*4TB HDDs, 2*NVMe SSDs, etc.; Please do not use this command for following cases: SSD+HDD or 1T SSD + 2T SSD.
Turn on rescue (rescue mode) in Hetzner control panel, then reboot the server in reset, then access the server with SSH and enter the following command line directly:
- Debian 10
- Ubuntu 18.04
- Ubuntu 20.04
The advantage of this command over other tutorials is that it requires no interaction at all, no partition modification, system selection, etc. Just copy - paste - hit enter and you're done.