All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Brian J. Murrell" <brian@interlinx.bc.ca>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] removing an origin from under snapshots
Date: Sat, 14 Apr 2007 11:13:07 -0400	[thread overview]
Message-ID: <1176563587.17452.16.camel@pc.ilinx> (raw)

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

I am fairly sure LVM does not currently allow this, but what I would
like to do is create one or more snapshots of an origin, work within the
snapshot(s) and then remove the origin.

Understanding a bit about how LVM works, I can understand some of the
problems with this.

      * All snapshot volumes would need to be (expanded to the) same
        size as the origin.
      * In the case of multiple snapshots, snapshots n+1 would need to
        have the blocks it shares with the origin copied to it.

Why would I want to do this you might ask?

Let's say I have a Fedora Core 5 system in /dev/vg00/{root,usr,var}.  I
want to upgrade with the safety of having somewhere to very quickly and
easily fall back to if it goes horribly wrong.  So I make snapshots of
those root, usr, and var volumes, mount them (or reboot from them even)
and try the upgrade.  If and when I'm happy with them I have no use for
the original root, usr and var and would like to collapse them, turning
my snaphots of those volumes into bona fide logical volumes, which I can
then take snapshots of at some time in the future.

Thots?

b.

-- 
My other computer is your Microsoft Windows server.

Brian J. Murrell

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

                 reply	other threads:[~2007-04-14 15:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1176563587.17452.16.camel@pc.ilinx \
    --to=brian@interlinx.bc.ca \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.