linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Javier Barroso <javibarroso@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] pvresize works, but not pv resize is done ?
Date: Tue, 15 Sep 2009 12:08:14 +0200	[thread overview]
Message-ID: <81c921f30909150308s63d15b43o8b1315d2b99d5e27@mail.gmail.com> (raw)

hi,

I have a question about lvm, this is a question about pvresize and vg
reloading its size

I have a disk in SAN environment, with next partition scheme:
/dev/mapper/mpathX --> /dev/mapper/mpathXp{1,2} --> /dev/mapper/mpathXp2p1
/dev/mapper/mpathXp2p1 is my phisical volume

I resized disk on my SAN


and then I vgchange -an; kpartx -d /dev/mapper/mpathXp2; kpartx -d
/dev/mapper/mpathX
dmsetup remove /dev/mapper/mpathX

cfdisk /dev/mapper/mpathX --> enlarge /dev/mapper/mpathXp2 partition
and then cfdisk /dev/mapper/mpathXp2 --> enlarge cfdisk /dev/mapper/mpathXp2p1

then I executed pvresize /dev/mapper/mpathXp2p1
and it said me about it was resized, but it is not !! :( (pvdisplay
and vgdisplay displays the sames size as before the operation)

Do you know what can I do ?? What can be happen here?

Thank you!

                 reply	other threads:[~2009-09-15 10:08 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=81c921f30909150308s63d15b43o8b1315d2b99d5e27@mail.gmail.com \
    --to=javibarroso@gmail.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).