<div>I love this idea because it nicely covers one of the main purposes of snapshotting, namely, making backups at a well-defined time point. Would there ever be any use of a temporary read-write snapshot? If not, perhaps making it read-only would simplify the design.</div>

<div> </div>
<div>Larry Dickson</div>
<div>Cutting Edge Networked Storage<br> </div>
<div><span class="gmail_quote">On 5/3/08, <b class="gmail_sendername">Stuart D. Gathman</b> <<a href="mailto:stuart@bmsi.com">stuart@bmsi.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Fri, 2 May 2008, Mikulas Patocka wrote:<br><br>> To use temporary storage for snapshot, a special command for lvm would be<br>
> more appropriate --- a command that would setup snapshot and write nothing<br>> about it to metadata, so that the snapshot would be forgotten on next<br>> reboot --- then, you can setup the snapshot on any device outside the<br>
> volume group. You can already do this with dmsetup.<br><br>This is an excellent idea - and not just for ramdisks.  The hardest part<br>of using snapshots for backups is making sure they are deleted afterward.<br>Not having to check at reboot would be one less 'i' to dot.<br>
<br>Now supposing this feature is added to lvm - what if an enterprising<br>admin decides to create *two* snapshots using the same block device?<br>This could be a caveat emptor - or it could check that the block device<br>
was not in use by anything else, like another snapshot.<br><br>Couldn't a LV be used for a temporary snapshot also?  It would just<br>look like the COW instead of the snapshot image.  I could allocate<br>a backup_cow LV for backup use only.<br>
<br>The only problem I see is newbies getting very confused wondering why<br>their "snapshot" won't mount.  That's why I suggest *not* calling the<br>examples (of the temporary snapshot feature) in the docs anything with "snap"<br>
in the name.  I suggest "cow" as above.<br><br>--<br>             Stuart D. Gathman <<a href="mailto:stuart@bmsi.com">stuart@bmsi.com</a>><br>   Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154<br>
"Confutatis maledictis, flammis acribus addictis" - background song for<br>a Microsoft sponsored "Where do you want to go from here?" commercial.<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>