From: Thomas Hager <duke@sigsegv.at>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] How to resize a PV located on a SAN LUN
Date: Fri, 20 Apr 2007 19:10:48 +0200 [thread overview]
Message-ID: <1177089048.10232.6.camel@zhadum.wg.at> (raw)
In-Reply-To: <20070420114742.GA6661@mail.mhnet.de>
[-- Attachment #1: Type: text/plain, Size: 1254 bytes --]
On Fri, 2007-04-20 at 13:47 +0200, Micha Holzmann wrote:
> Hello,
hi,
> Now i had to increase the size of partition of sda12 which is a LVM.
why would you want to do that? if your vg is running out of free
extents, why not just add a new LUN from the SAN and extend the vg with
it?
> I am not sure which is the right way. Within the storage managment
> software i can increase the size of the LUN. After rebooting the machine
> the additional space is appended at the end of partitions and it is
> marked as free. How can i now increase the LVM partition. Which
> tool/programm i do need for this task?
you can't really increase the physical volume, because there's a swap
partition between your physical volume and the free space.
use fdisk to partition the free space as /dev/sda14, create a physical
volume on the new partition (pvcreate /dev/sda14) and extend the
volume group with the new physical volume (vgextend yourvg /dev/sda14).
hth,
tom.
--
Thomas "Duke" Hager {duke,hager}@sigsegv.at
GPG: 1024D/D27F858C http://www.sigsegv.at/gpg/duke.gpg
=================================================================
"Never Underestimate the Power of Stupid People in Large Groups."
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-04-20 17:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-20 11:47 [linux-lvm] How to resize a PV located on a SAN LUN Micha Holzmann
2007-04-20 17:10 ` Thomas Hager [this message]
2007-04-23 10:06 ` PeS
2007-04-20 17:11 ` Michael T. Babcock
2007-04-28 23:35 ` Louis Guillaume
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=1177089048.10232.6.camel@zhadum.wg.at \
--to=duke@sigsegv.at \
--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).