Raid in Proxmox

ewlesian

New Member
Feb 9, 2020
6
0
1
Just recently installed a 4TB hard drive and Proxmox is seeing it as /dev/sda. My Proxmox OS and VM's are all on /dev/sdb using LVM.

I have a Linux virtual machine and I want to give it access to that 4TB Hard drive to store data and I want that data to be mirrored onto a second 4TB that I plan on installing.

I've never setup raid before and I'm not really sure if this is something I will do through the Proxmox GUI interface, or through the Linux VM running in Proxmox. What would be the best way to have those two 4TB drives synced up to prevent data loss in case one dies on me? I've read ZFS might be useful, and I don't mind starting over if it means that will be good for what I need to do, but I want to be sure since I've never done any sort of RAID setup before.

Some of you might suggest hardware raid, but this is my motherboard and I don't think it's going to happen.
 
To RAID Proxmox you have 3 possibilities:

1 - Have a RAID controller compatible with Linux and configure the RAID directly on it;
2 - Configure a RAID via ZFS, however for this Proxmox will need a good amount of RAM specifically for this, the recommended is 8GB only for ZFS;
3 - Use RAID via Linux software or mdadm;

One way or another, to use RAID, you will lose data stored on the first disk, as far as I know there is no way to create a RAID using a disk as the basis for RAID1 or RAID5 for example.

From what I saw of your motherboard you will have to go to options 2 or 3, because if you are using a card, you will certainly not buy a RAID card compatible with Linux.
 

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!