All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Teigland <teigland@redhat.com>
To: lvm-devel@redhat.com
Subject: pvresize problem
Date: Tue, 26 Mar 2013 17:50:01 -0400	[thread overview]
Message-ID: <20130326215001.GA15037@redhat.com> (raw)
In-Reply-To: <20130326165913.GA12503@redhat.com>

On Tue, Mar 26, 2013 at 12:59:13PM -0400, David Teigland wrote:
> I'm trying to verify shrinking with pvresize --setphysicalvolumesize
> 
> When the pv is an orphan, it works as expected, but when the pv is
> not an orphan, the resulting size is always 8192S less than the
> requested size.

Looking in _text_pv_resize(), I'm guessing the difference I see might be
"pv->size -= size_reduction" which would indicate things are working as
intended.  If so, I'll adjust my checks to include this reduction.



  reply	other threads:[~2013-03-26 21:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-26 16:59 pvresize problem David Teigland
2013-03-26 21:50 ` David Teigland [this message]
2013-03-27  9:23   ` Peter Rajnoha

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=20130326215001.GA15037@redhat.com \
    --to=teigland@redhat.com \
    --cc=lvm-devel@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.