linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] LVM on hardware RAID
@ 2007-07-31 21:00 Doug Eubanks
  2007-07-31 22:47 ` David Robinson
  0 siblings, 1 reply; 2+ messages in thread
From: Doug Eubanks @ 2007-07-31 21:00 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

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?  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've been using linux for over 10 years, and only recently discovered the joys and advantages of LVM....it's a lifesaver!

Doug

[-- Attachment #2: Type: text/html, Size: 889 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] LVM on hardware RAID
  2007-07-31 21:00 [linux-lvm] LVM on hardware RAID Doug Eubanks
@ 2007-07-31 22:47 ` David Robinson
  0 siblings, 0 replies; 2+ messages in thread
From: David Robinson @ 2007-07-31 22:47 UTC (permalink / raw)
  To: LVM general discussion and development

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-31 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-31 21:00 [linux-lvm] LVM on hardware RAID Doug Eubanks
2007-07-31 22:47 ` David Robinson

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).