linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Stefan Priebe <s.priebe@profihost.ag>
To: linux-lvm@redhat.com
Subject: [linux-lvm] how to online resize pv?
Date: Mon, 30 Jul 2012 21:14:59 +0200	[thread overview]
Message-ID: <5016DD33.3050000@profihost.ag> (raw)

Hello list,

i'm able to resize my block device online. The kernel also shows the 
correct new size in blockdev --getsize64.

But then i got stuck to extend the pv as i'm unable to extend my 
partition table without reboot.

Disk /dev/vda: 48,3GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name       Flags
  1      1049kB  2097kB  1049kB               GRUB_BOOT  bios_grub
  2      2097kB  32,2GB  32,2GB               Linux LVM  lvm

If i delete 2 and recreate it starting at the same sector i can't reread 
the part. table.

Is there a way todo online resizing?

Greets
Stefan

             reply	other threads:[~2012-07-30 19:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-30 19:14 Stefan Priebe [this message]
2012-07-30 19:25 ` [linux-lvm] how to online resize pv? Scott Merrilees
2012-07-31  6:25   ` Stefan Priebe
2012-07-31 10:02     ` andreas nastke
2012-07-31 11:30       ` Stefan Priebe - Profihost AG
2012-07-30 20:25 ` Stuart D Gathman
2012-07-30 20:45   ` Stefan Priebe
2012-07-31  5:10     ` Fred van Zwieten
2012-07-31  6:26       ` Stefan Priebe
2012-07-31  9:25         ` Bryn M. Reeves
2012-07-31  9:50           ` Stefan Priebe - Profihost AG
     [not found]     ` <501700E1.4040708@bmsi.com>
2012-07-31  6:58       ` Stefan Priebe

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=5016DD33.3050000@profihost.ag \
    --to=s.priebe@profihost.ag \
    --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).