Re: Questions about monitoring, scrubbing & checking a LVM RAID5

David Teigland <[email protected]>
Newsgroups gmane.linux.lvm.general
Message-ID <[email protected]>
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
> natively.
> 
> 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.
> 
> Using:
> "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.

Dave

_______________________________________________
linux-lvm mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.