[linux-lvm] LVM2 snapshot contents on a reboot

Vasan vasan.vs at gmail.com
Thu Feb 15 09:23:47 UTC 2007

Hi all,

We are using the latest version of LVM2 and creating a snapshot LV
(This is a fresh snapshot LV and we are not attempting to migrate from
LVM1). However, on rebooting the server, we find the snapshot contents
are getting synced up with the original source volume contents
completely. Any changes that has been made in the source volume after
the snapshot volume has been taken is getting reflected in the
snapshot volume as well after the reboot.

The following are the commands that we are using:

For the creation of snapshot:

lvcreate -s -L  <snap size> -n <snapshot Name> -p <R-W permission>
<original volume>

 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.

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?

The following are the versions that we are using from a LVM perspective:

-bash-3.00# lvs --version
LVM version:     2.02.13 (2006-10-27)
Library version: 1.02.10 (2006-09-19)
Driver version:  4.4.0

Please advice.



More information about the linux-lvm mailing list