<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.2">
<TITLE>Feature Request (revert a logical volume to its snapshot)</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I really love the snapshot logical volume feature, and I use it for </FONT>
<BR><FONT SIZE=2>making consistent backups of my system while it is running.</FONT>
</P>

<P><FONT SIZE=2>Recently, though I found myself wanting to use a snapshot logical volume </FONT>
<BR><FONT SIZE=2>to preserve the state of a filesystem while I experimented with </FONT>
<BR><FONT SIZE=2>changes.  When I needed to revert, I had to copy the contents from the </FONT>
<BR><FONT SIZE=2>snashot logical volume, destroy the snapshot and snapshot source, and </FONT>
<BR><FONT SIZE=2>then replace the snapshot source with the copy I made of the snapshot.</FONT>
</P>

<P><FONT SIZE=2>It seems like it would make sense for LVM to support a feature to revert </FONT>
<BR><FONT SIZE=2>the source logical volume to the state it was in when the snapshot was </FONT>
<BR><FONT SIZE=2>taken.  I read through all the man pages but I didn't see anything like </FONT>
<BR><FONT SIZE=2>this.  I realize it might not be possible to do this atomically while </FONT>
<BR><FONT SIZE=2>the source logical volume is active, but that's fine.  I would still </FONT>
<BR><FONT SIZE=2>like to be able to do it when the source is inactive.</FONT>
</P>

</BODY>
</HTML>