All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lars Michael Jogbäck" <lm@swip.net>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Problems(?) with pvresize
Date: Mon, 02 Jul 2007 09:12:39 +0200	[thread overview]
Message-ID: <4688A567.2030005@swip.net> (raw)

Hi,

I've got a similar problem to the one reported earlier in June by Peter 
Daum.

I've got a hardware-raid5 that I've extended (/dev/sdk), and after 
extending it, I get the kernel to recognize the new size.
But pvresize is still using the old size. I'm pretty convinced that a 
reboot will solve this issue for me, but isn't there a way
of solving this without rebooting?

$ cat /sys/block/sdk/size
4882708480

# blockdev --getsz /dev/sdk
3906166784

# pvresize -v -d /dev/sdk
    Using physical volume(s) on command line
    Wiping cache of LVM-capable devices
    Archiving volume group "vg01" metadata (seqno 123).
    No change to size of physical volume /dev/sdk.
    Resizing volume "/dev/sdk" to 3906166400 sectors.
    Updating physical volume "/dev/sdk"
    Creating volume group backup "/etc/lvm/backup/vg01" (seqno 124).
  Physical volume "/dev/sdk" changed
  1 physical volume(s) resized / 0 physical volume(s) not resized

# lvm version
  LVM version:     2.02.07 (2006-07-17)
  Library version: 1.02.08 (2006-07-17)
  Driver version:  4.7.0

Best Regards,
/LM

             reply	other threads:[~2007-07-02  7:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-02  7:12 Lars Michael Jogbäck [this message]
2007-07-02  7:28 ` [linux-lvm] Problems(?) with pvresize Richard van den Berg
2007-07-02  7:34   ` Lars Michael Jogbäck

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=4688A567.2030005@swip.net \
    --to=lm@swip.net \
    --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.