Re: LVM on hardware RAID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux