Adding local mdadm array storage

JC Connell

Member
Apr 6, 2016
29
1
23
37
I've created an mdadm array from two disks on the Proxmox host. What's the best way to add this to Proxmox to maximize available features? Things that are important to me are performance (this host has limited resources: 8GB RAM), and snapshots.

Should I add it as directory, lvm, or lvm-thin?
 
If you want snapshots you can either go with lvm-thin or a directory based storage and qcow2 files.

(thick) lvm does not support taking snapshots.

Please be aware that PVE does not officially support MD raids (see https://bugzilla.kernel.org/show_bug.cgi?id=99171 why)
 
Thank you for the feedback! I went with lvm-thin on MD raid. I also read the link you provided about the risks.

I try to run containers wherever possible, but I also have a few VMs. Do any of the cache modes minimize the risk of the array becoming out of sync?