From: Peter Rockai <prockai@redhat.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] LVM2 snapshot contents on a reboot
Date: Wed, 22 Nov 2006 16:23:38 +0100 [thread overview]
Message-ID: <20061122152336.GA7459@mornfall.net> (raw)
In-Reply-To: <9cf248670611220621s4899578btf40320037c620473@mail.gmail.com>
On Wed, Nov 22, 2006 at 07:51:33PM +0530, Vasan V S wrote:
[snip]
> 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 2.6.15.4) 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
next prev parent reply other threads:[~2006-11-22 15:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-22 14:21 [linux-lvm] LVM2 snapshot contents on a reboot Vasan V S
2006-11-22 15:23 ` Peter Rockai [this message]
-- 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=20061122152336.GA7459@mornfall.net \
--to=prockai@redhat.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).