Resizing a physical partition used in LVM

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

 



Lets say I have the following scenario:
I have 4 paritions on a RAID 5 (h/w RAID with 3ware escalade).
1 partition (/dev/sda4) is managed by LVM.
Currently I have 4 disks in the RAID 5.
If, in the future, I want to add disks to the RAID (the controller has
8 ports), is resizing /dev/sda4 in fdisk to accomodate the extra space
problematic?
In other words would the following work:
1) Stop LVM.
2) Extend /dev/sda4 to the end of the RAID with fdisk
3) Start LVM
4) lvextend a logical partition to the end of the physical volume.

Or do I have to create a new partition on the disk for this extra space?

Thanks.

-- James

_______________________________________________
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