[linux-lvm] LVM2 snapshot contents on a reboot

Peter Rockai prockai at redhat.com
Wed Nov 22 15:23:38 UTC 2006

On Wed, Nov 22, 2006 at 07:51:33PM +0530, Vasan V S wrote:
> For the creation of snapshot:
> lvcreate -s -L <snap size> -n <snapshot Name> -p <R-W permission> <original
> volume>
> For deleting the snapshot:
> lvremove -f <snap shot node entry>
Why/when are you removing the snapshot?

> However, if the server (running Linux is not rebooted, the
> snapshot contents are correctly shown even if there has been any changes on
> the source volume.
As expected.

> Should we do anything specific at the time of the server shutdown to ensure
> that the snapshot contents should not be getting synced with the source
> volume on start up?
No, you just create the snapshot once and leave it be, it'll stay
around until you lvremove it.

Yours, Peter.

Peter Rockai | me()mornfall!net | prockai()redhat!com
 http://blog.mornfall.net | http://web.mornfall.net

"In My Egotistical Opinion, most people's C programs should be
 indented six feet downward and covered with dirt."
     -- Blair P. Houghton on the subject of C program indentation

More information about the linux-lvm mailing list