linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] vgmerge with different physical extent sizes
@ 2010-12-23  8:08 Ross Boylan
  2010-12-24 18:53 ` Stuart D. Gathman
  0 siblings, 1 reply; 2+ messages in thread
From: Ross Boylan @ 2010-12-23  8:08 UTC (permalink / raw)
  To: LVM general discussion and development

What happens if you vgmerge 2 VG's and they have different physical
extent sizes?

I ask because I created a VG and specfied
vgcreate -s 32MB rose /dev/sdc2
# created a LV and formatted it, then inactivated it
vgmerge daisy rose

I notice that vgdisplay now says that daisy has
  PE Size               32.00 MB.

When I created daisy I don't think I used the -s option, though I may
have created it with a Debian tool that picked 32MB.  I've looked for an
explicit record, or the results of an earlier vgdisplay, but I don't see
anything (I do have some earlier lvdisplay's).

Is PE size mismatch anything that might be causing me trouble?  This is
LVM2.

Thanks.
Ross

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] vgmerge with different physical extent sizes
  2010-12-23  8:08 [linux-lvm] vgmerge with different physical extent sizes Ross Boylan
@ 2010-12-24 18:53 ` Stuart D. Gathman
  0 siblings, 0 replies; 2+ messages in thread
From: Stuart D. Gathman @ 2010-12-24 18:53 UTC (permalink / raw)
  To: LVM general discussion and development

On Thu, 23 Dec 2010, Ross Boylan wrote:

> What happens if you vgmerge 2 VG's and they have different physical
> extent sizes?

The man page says it should fail.  It's possible that if everything
lines up, it automatically changes the extent size of either the
source or destination VG.

It is possible to change the PE size with vgchange (some lvresizing/pvmoving
may be required and must be done manually).

-- 
	      Stuart D. Gathman <stuart@bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-24 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-23  8:08 [linux-lvm] vgmerge with different physical extent sizes Ross Boylan
2010-12-24 18:53 ` Stuart D. Gathman

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).