<div>You said:</div>
<div> </div>
<div>> (But technically I tested >50 snapshot from one LV - should be limited</div>
<div>> only by available memory in recent kernels)<br> </div>
<div>What is that limit? I suspect that is what I have run up against.</div>
<div> </div>
<div>Larry<br> </div>
<div><span class="gmail_quote">On 8/29/08, <b class="gmail_sendername">Milan Broz</b> <<a href="mailto:mbroz@redhat.com">mbroz@redhat.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Larry Dickson wrote:<br>> With a 768 GB logical volume in a 2235 GB volume group, and 4 GB of<br>> memory, I try to set up lots of snapshots (of 45 or 50 GB each) and<br>
> can't get past 15. Sometimes I'll succeed in generating more than 15<br>> COWs in /dev/mapper, but lvdisplay never shows more than 15 snapshots in<br>> the "LV snapshot status source of" listing under the parent volume. I<br>
> searched and found 15 snapshots mentioned in a couple places like<br>> <a href="http://wiki.samba.org/index.php/Shadow_Copies_with_Snapshots">wiki.samba.org/index.php/Shadow_Copies_with_Snapshots</a><br>> <<a href="http://wiki.samba.org/index.php/Shadow_Copies_with_Snapshots">http://wiki.samba.org/index.php/Shadow_Copies_with_Snapshots</a>> - but<br>
> nothing really authoritative.<br>><br>> Is there really such a limit? Or is it a memory requirement - I seem to<br>> remember so many MB memory per GB of storage, but can't find that<br>> either. Versions are (variants of) lvm2-2.02.38, device-mapper-1.02.26,<br>
> kernel-smp-2.6.20 (64 bit).<br><br>Hi,<br>no, there is no hard limit for snapshots.<br><br>But IIRC patches which solves some problems related with this (using private dm-io<br>mempool) were commited in 2.6.22 kernel.<br>
But anyway, many snapshot from one origin causes serious performance degradation.<br>(Current snapsot implementation is not ideal in this situation - every write to origin<br>is replicated N-times to COW snapshot area - iow: every snapshot is independent and<br>
need copy changed area separately.)<br><br>(But technically I tested >50 snapshot from one LV - should be limited only by available<br>memory in recent kernels).<br><br>Milan<br>--<br><a href="mailto:mbroz@redhat.com">mbroz@redhat.com</a><br>
<br><br>_______________________________________________<br>linux-lvm mailing list<br><a href="mailto:linux-lvm@redhat.com">linux-lvm@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/linux-lvm">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>
read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/">http://tldp.org/HOWTO/LVM-HOWTO/</a><br></blockquote></div><br>