[linux-lvm] Questions about monitoring, scrubbing & checking a LVM RAID5
teigland at redhat.com
Thu Jul 29 14:59:46 UTC 2021
On Wed, Jul 28, 2021 at 11:50:56PM +0200, Martin Dünkelmann wrote:
> Dear LVM2-People,
> I made a native RAID5 via LVM on 3 SSDs without mdadm, since LVM2 can do it
> But I got confused about how to easily monitor it (send emails about errors,
> since it's a remove server) and how to check, repair and scrub the RAID5.
> "sudo lvchange --syncaction check cryptdata_raid5/home" (same for repair)
> results in
> Command on LV cryptdata_raid5/home does not accept LV type linear.
> Command not permitted on LV cryptdata_raid5/home.
It works for me, so it could be a fixed bug. Check that the LV is really
raid5: lvs -o segtype cryptdata_raid5/home
> Does that mean LVM2 doesn't fully support native RAID5 and I should format
> everything and set up a mdadm raid5?
> Because mdadm has scrubbing and email reports according to the mdadm.conf.
Right, mdadm does much more.
More information about the linux-lvm