From: Malahal Naineni <malahal@us.ibm.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] shrink VG and PV
Date: Mon, 17 May 2010 14:14:59 -0700 [thread overview]
Message-ID: <20100517211459.GA7269@us.ibm.com> (raw)
In-Reply-To: <AANLkTina1csDn1EAcwXOYM41r7G3TOZBSAo1lVk0tU5N@mail.gmail.com>
Dael Elcar [kanonmatswe@gmail.com] wrote:
> pvresize /dev/sda2 --test --setphysicalvolumesize 49256M
> Test mode: Metadata will NOT be updated.
> /dev/sda2: too many metadata areas for pvresize
> 0 physical volume(s) resized / 1 physical volume(s) not resized
I have now looked at how to reduce the number of metadata copies. Here
is what Alasdair said:
Q: /dev/md1: too many metadata areas for pvresize
That's meant to be saying you chose to place a second copy of
the metadata at the end of the device and if you want to
increase the size of the data area you have to shift that
metadata first and there is no code that does that.
Workaround is to reduce to 1 metadata area first (backup VG,
redo pvcreate with uuid & restorefile, restore VG), then extend,
then put the 2nd metadata area back (same process) if you still
want it.
Hope that helps!
--Malahal.
next prev parent reply other threads:[~2010-05-17 21:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-17 19:44 [linux-lvm] shrink VG and PV Dael Elcar
2010-05-17 20:56 ` Malahal Naineni
2010-05-17 21:14 ` Malahal Naineni [this message]
2010-05-17 21:30 ` Stuart D. Gathman
2010-05-18 5:29 ` kanonmatswe
2010-05-18 9:13 ` Bryn M. Reeves
2010-05-18 9:38 ` Bryn M. Reeves
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=20100517211459.GA7269@us.ibm.com \
--to=malahal@us.ibm.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).