Don’t let your LVM snapshot age out into a performance hole
By Saket Jain Published Linux/Unix
Don’t let your LVM snapshot age out into a performance hole
Technical Briefing | 11/27/2026
You set up an LVM snapshot before a database migration because it felt safe. You told yourself you would delete it immediately after verifying the data. But then the alerts stopped, the project moved on, and you forgot that old snapshot was still sitting there silently pinning blocks and slowing down every single write on your production volume.
Why the snapshot is killing your throughput
LVM snapshots work via copy-on-write, but they are not free. Whenever a block on the origin volume changes, the original data has to be copied to the snapshot volume first. This doubles the IOPS required for every write operation. If your snapshot is weeks old, the amount of divergence between the volumes becomes massive, and the kernel has to manage increasingly complex metadata lookups for every sector update. It’s not just a bit slower; it’s a structural bottleneck.
lvs -o lv_name,lv_attr,data_percent,origin
- Check the data_percent column to see how full the COW store has become
- Look for the ‘s’ flag in the lv_attr field to confirm it is an active snapshot
- Ensure your backup scripts aren’t leaving orphaned LVs behind
Cleaning up the mess
If you see a snapshot hovering near 90 percent, you are one bad write spike away from the snapshot invalidating itself. When an LVM snapshot overflows, it just drops. It goes read-only and basically becomes a brick. Don’t wait for the kernel to complain in dmesg; add a simple cron job to alert on any LVM snapshot that has existed for more than twenty-four hours. You will sleep better knowing you aren’t carrying around ticking time bombs in your storage stack.
