[linux-lvm] 15 snapshot limit?

Milan Broz mbroz at redhat.com
Wed Sep 3 06:20:28 UTC 2008

Larry Dickson wrote:
> More details: I found a /var/log/messages note that corresponded exactly

Please try recent kernel (>2.6.22). Or patched distro kernel,
e.g. RHEL/CentOS has patched kernel already since 2007
see  https://bugzilla.redhat.com/show_bug.cgi?id=211516

Also recent upstream kernels have a little bit optimized way how to store
snapshot exceptions in memory, which should help here too.
See https://bugzilla.redhat.com/show_bug.cgi?id=421451

There is no magic formula how many snapshots is possible,
previously it was limited by one common mempool (see bug above),
and for some reason it fails in cca ~32 snapshot - but it is no longer true
(And increasing memory doesn't help with these old unpatched kernels.)

With 6GB of memory you should be able create tens of snapshots at least.
(But it will be just very slow - every snapshot is independent.)


More information about the linux-lvm mailing list