linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Vasan " <vasan.vs@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] LVM2 snapshot contents on a reboot
Date: Thu, 15 Feb 2007 14:53:47 +0530	[thread overview]
Message-ID: <9cf248670702150123n6648abf5u2bbd9eb31645c81a@mail.gmail.com> (raw)

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

             reply	other threads:[~2007-02-15  9:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-15  9:23 Vasan  [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-11-22 14:21 [linux-lvm] LVM2 snapshot contents on a reboot Vasan V S
2006-11-22 15:23 ` Peter Rockai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9cf248670702150123n6648abf5u2bbd9eb31645c81a@mail.gmail.com \
    --to=vasan.vs@gmail.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).