Re: How to detect when LVM RAID1 is in sync for write mostly?
[email protected] Tue, 24 Jun 2025 12:09:00 +0400
| Newsgroups | gmane.linux.lvm.general |
|---|---|
| Message-ID | <[email protected]> |
Hello! I have RAID1 configured on my home system. I replaced 2 disks there and usually use lvs to see if it's in sync: [root@srv ~]# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert storage kurisu rwi-aor--- <3,64t 100,00 AFAIU, writes are syncronious. So if the number is 100, you're good. Also, there's an integrity check command. On 6/24/25 11:34 AM, Pickles Creator wrote: > Hello, > > Is there any mechanism for automatically detecting when a RAID1 LV is > fully in sync such that I can enable write mostly? I could do this > with a timer or continuously poll to check the status but I'm trying > to understand if there's an event driven way to do this or if there's > any file I could watch with systemd? > > Thanks >