[linux-lvm] advice for curing terrible snapshot performance?
stephane_chazelas at yahoo.fr
Mon Nov 15 20:37:57 UTC 2010
2010-11-12 13:52:25 -0800, chris (fool) mccraw:
> no snapshot = ~11sec (727MB/sec)
> 1 snapshot = ~102sec (78MB/sec)
> 2 snapshots = ~144sec (55MB/sec)
> 3 snapshots = ~313sec (25MB/sec)
> 4 snapshots = ~607sec (15MB/sec)
Yes, from 2 snapshots on a volume LVM snapshots become unusable.
Other issues you may have with LVM snapshots with different
versions: some grub versions failing to see LVM volumes once
they have a snapshot, activating a volume group taking several
minutes when there are quite filled up volumes.
ddsnap (zumastor) worked great but is no longer maintained.
So, you have:
- LVM snapshots: poor performace or very few snapshots
- ddsnap: got to stick with an old kernel
- btrfs, not really production ready yet. Probably your best bet
- fuse solutions, with all the fuse related issues.
Quite frustrating as the technolgy is here and has been around
Sorry for not bringing any good news. I'm all ears for good
alternative solutions though.
Another solution I had looked at at some point:
- qemu-nbd with qcow2: performance not there and a few issues as
More information about the linux-lvm