* [linux-lvm] Resizing a physical partition used in LVM
[not found] <aa4c40ff0601061728p57d83f29ndbcd40af0b27802@mail.gmail.com>
@ 2006-01-07 1:43 ` James Lamanna
2006-01-07 17:16 ` Luca Berra
0 siblings, 1 reply; 2+ messages in thread
From: James Lamanna @ 2006-01-07 1:43 UTC (permalink / raw)
To: linux-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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] Resizing a physical partition used in LVM
2006-01-07 1:43 ` [linux-lvm] Resizing a physical partition used in LVM James Lamanna
@ 2006-01-07 17:16 ` Luca Berra
0 siblings, 0 replies; 2+ messages in thread
From: Luca Berra @ 2006-01-07 17:16 UTC (permalink / raw)
To: linux-lvm
On Fri, Jan 06, 2006 at 05:43:03PM -0800, James Lamanna wrote:
>1) Stop LVM.
>2) Extend /dev/sda4 to the end of the RAID with fdisk
....
vgcfgbackup, edit the backup file by hand, vgcfgrestore
....
>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?
The latter is easier to achieve.
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-07 17:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <aa4c40ff0601061728p57d83f29ndbcd40af0b27802@mail.gmail.com>
2006-01-07 1:43 ` [linux-lvm] Resizing a physical partition used in LVM James Lamanna
2006-01-07 17:16 ` Luca Berra
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).