All of lore.kernel.org
 help / color / mirror / Atom feed
From: flavio-redhat@zipman.it
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] merge two lvms on same VG
Date: Mon, 10 Sep 2012 17:49:39 +0200	[thread overview]
Message-ID: <504E0C13.3050703@zipman.it> (raw)
In-Reply-To: <CAGQjrKa5_w0haG9YYDSxYF9XeFT0V4805bC2aLvnzDwkrr5kUg@mail.gmail.com>

On 09/05/2012 02:16 PM, tariq wali wrote:
> Hi, I had a situation to combine two LVM's on the same VG , other than
> wiping the existing ones and recreating a new one is there a way to
> merge the two on same VG ? 

No. You must delete one of the 2 and extend the remaining one.
If you don't have enough space to save all the data in the LV that you
want to delete, you can manually shrink the filesystem on it, shrink the
LV, extend the other LV, extend the filesystem and move data. Then
restart shrinking and extending until all the data is moved.


-- 
Flavio Visentin

A computer is like an air conditioner,
it stops working when you open Windows

      parent reply	other threads:[~2012-09-10 15:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-05 12:16 [linux-lvm] merge two lvms on same VG tariq wali
2012-09-10 10:32 ` Fran Garcia
2012-09-10 11:29   ` tariq wali
2012-09-10 21:17     ` Scott Merrilees
2012-09-10 15:49 ` flavio-redhat [this message]

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=504E0C13.3050703@zipman.it \
    --to=flavio-redhat@zipman.it \
    --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.