linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Vasan V S" <vasan.vs@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] LVM2 snapshot contents on a reboot
Date: Wed, 22 Nov 2006 19:51:33 +0530	[thread overview]
Message-ID: <9cf248670611220621s4899578btf40320037c620473@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2006-11-22 14:21 UTC|newest]

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

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=9cf248670611220621s4899578btf40320037c620473@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).