Proxmox 4.0 and Software Raid

matthew

Renowned Member
Jul 28, 2011
210
5
83
I installed Proxmox 4 on a 120GB SSD. I then created a 4TB software raid 1 partition on 3 enterprise sata drives as /dev/md0 and formatted with ext4.

I then altered fstab.

I commented out


#/dev/pve/data /var/lib/vz ext3 defaults 0 1


Added


/dev/md0 /var/lib/vz ext4 defaults 0 0

Should this all work ok or will there be any issues? I plan on LXC containers mostly.
 
Say I have a Server with four 4TB drives. I want to use one for backups and the other 3 in a raid1 array for my containers. How would I set that up on Proxmox with ZFS? Totally new to ZFS but have used linux software RAID before.
 
Raid 1 requires pairs of drives aka mirror. The ZFS link posted above by Dietmar covers how to do a raid 1.
 
With mdadm I have had 3 drives in a raid 1 array. Is there any reason I cannot do this with ZFS?
 
You can mirror as many drives as you like with ZFS mirror. Honestly, though, I think having the "backup" on the same machine as the original data doesn't seem much of a backup. Instead of the mirror I'd consider a raid-z1 so that the reads and writes are distributed more evenly.
 

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!