linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] LVM2 snapshot contents on a reboot
@ 2006-11-22 14:21 Vasan V S
  2006-11-22 15:23 ` Peter Rockai
  0 siblings, 1 reply; 3+ messages in thread
From: Vasan V S @ 2006-11-22 14:21 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1052 bytes --]

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>

For deleting the snapshot:

lvremove -f <snap shot node entry>

However, if the server (running Linux 2.6.15.4) 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?

Please advice.

Thanks

vasan

[-- Attachment #2: Type: text/html, Size: 1261 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [linux-lvm] LVM2 snapshot contents on a reboot
@ 2007-02-15  9:23 Vasan 
  0 siblings, 0 replies; 3+ messages in thread
From: Vasan  @ 2007-02-15  9:23 UTC (permalink / raw)
  To: linux-lvm

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  2.6.15.4) 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.

Thanks

Srini

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-15  9:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-22 14:21 [linux-lvm] LVM2 snapshot contents on a reboot Vasan V S
2006-11-22 15:23 ` Peter Rockai
  -- strict thread matches above, loose matches on Subject: below --
2007-02-15  9:23 Vasan 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).