From 3962b3a0f6cde1fb60520df3e11dfc0ac96f3a25 Mon Sep 17 00:00:00 2001 From: cryptogopher Date: Sun, 8 Feb 2026 17:39:15 +0100 Subject: [PATCH] Add integrity layer presence check --- _posts/sysadm/2023-09-15-lvm-cheat-sheet.tl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_posts/sysadm/2023-09-15-lvm-cheat-sheet.tl b/_posts/sysadm/2023-09-15-lvm-cheat-sheet.tl index a5f4f88..83f4081 100644 --- a/_posts/sysadm/2023-09-15-lvm-cheat-sheet.tl +++ b/_posts/sysadm/2023-09-15-lvm-cheat-sheet.tl @@ -65,6 +65,11 @@ If RAID1 with integrity LV requires refresh (partial synchronization) due to e.g. device write errors, but both PVs are otherwise available, take the following steps to fix it: +* check if integrity layer is present: +{% highlight bash %} +# lvs -o+raidintegritymode +{% endhighlight %} + * remove integrity layer: {% highlight bash %} # lvconvert --raidintegrity n vgdev/backup