On Saturday 21 July 2007 16:44, James Ettle wrote:
> Hello,
>
> Anyone good with LVM and partitioning? I've currently got three
> partitions on my 60GB disc (dual-boot Windows XP and Fedora 7):
>
> - sda1: 20GB, NTFS
> - sda2: 100MB, /boot
> - sda3: in LVM VolGroup00, which contains
> - LogVol01: 1GB swap
> - LogVol00: ext3 mounted on /, taking up the rest.
>
> I'd like to shrink sda1 to 12GB and add the extra 8GB to /. As such,
> what I'm thinking of doing is:
>
> 1. shrinking the NT partition;
> 2. adding a new partition in between sda1 and sda2;
> 3. initialising this as an LVM entity and adding it to VolGroup00;
> 4. growing LogVol00 to use the extra space; and
> 5. enlarging /'s ext3 system as necessary.
>
> Anyone have any thoughts on this? In particular,
>
> - will adding the new partition result in the partition labels changing
> (i.e., can I add sda4 between sda1 and sda2) and are there any
> possible problems with this (e.g., reconfiguring GRUB)?
> - anyone had any trouble growing an ext3 system while it was on-line
> on a modern kernel?
>
> Many thanks,
> James.
As you're using Fedora, this Red Hat knowledgebase article,
"What is the procedure to resize an LVM2 logical volume and the ext2 or ext3
filesystem?" might help:
http://kbase.redhat.com/faq/FAQ_85_4842.shtm
Hope this helps,
Peter