From: David Robinson <zxvdr.au@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] LVM on hardware RAID
Date: Wed, 01 Aug 2007 08:47:07 +1000 [thread overview]
Message-ID: <46AFBBEB.1000703@gmail.com> (raw)
In-Reply-To: <20070731210052.da6bf8cb@mail.dougware.net>
Doug Eubanks wrote:
> Quick question....
>
> I've got three drives in on a hardware SCSI raid. Within the next
> week, I will be adding two drives to the array and using the
> controller's expand function to increase the size of my array.
>
> Will the pv and vg sizes automatically be increased after a parted a
> reboot?
No. You would need to run pvresize first (you would need to resize the
underlying partition first if one is used) - after pvresize has been run
you will see that the size of the VG the PV is in has increased.
I was also considering just adding a second LVM partition to
> once the expand has completed and adding that pv to the vg.
>
> Does anyone have any advice or pointers or best practices?
I prefer to enlarging the underlying partition (if possible) then do a
pvresize rather than adding an additional partition and doing pvcreate
and vgextend. The only reason is to avoid adding partitions necessarily,
but obviously this isn't always possible and there is the increased risk
that you could break things if your not careful (make sure the
partition's start block is the same).
Dave
prev parent reply other threads:[~2007-07-31 22:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-31 21:00 [linux-lvm] LVM on hardware RAID Doug Eubanks
2007-07-31 22:47 ` David Robinson [this message]
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=46AFBBEB.1000703@gmail.com \
--to=zxvdr.au@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).