LVM and mdadm / dmraid are both offering software RAID functionality on Linux. This is pretty much a follow-up post to this question from 2014. Back then, @derobert recommends to prefer mdadm over LVM raid for it's matureness - but that was over 4 years ago. I can imagine, things have changed since then. But I have never used LVM raid before, and I couldn't find any recent experiences on that either.

So what's the state of LVM raid? Has it grown more mature now? Are the flaws mentioned in @derobert's post resolved now, or still present? What about

  • stability,
  • features (grow, shrink, convert),
  • repair and recovery,
  • community support,
  • performance

of LVM raid in comparison to mdadm?

I want to find out if people actually use it, or if everyone still sticks with mdadm. Is it more recommended to use LVM on top of mdadm for logical volume management, or is it fine to let LVM manage the raid as well? Is it even considerable to use LVM raid instead of mdadm, even if you don't expect to need the advantages of logical volume management?

I considered just adding a comment under that original answer, asking @derobert to update his post, but decided for asking a new question. I want to reach out to other members, get new and fresh experiences and not just bring the old post to a present tense.

  • I prefer ZFS actually. – Rui F Ribeiro Apr 29 '19 at 11:04
  • LVM on top of LUKS on top of MDADM. Or ZFS on top of LUKS on top of MDADM, which gives me encryption that ZFS can't (quite yet) provide. – roaima Apr 29 '19 at 11:44
  • This article says that extending an LVM mirror is possible, and gives some caveats. – Tom Hale Nov 22 '19 at 8:04
  • I had the same question and would be keen to know the latest status. LVM is a great tool and using it without mdadm seems advantageous. – Sapient Saxon Saboo Jan 15 at 23:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.