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