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

[linux-lvm] Resizing a physical partition used in LVM



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


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