Ideally I'd like to see a HOWTO that shows how to do a hard disk upgrade
for a system using LVM.
Here's how I did it (probably breaking all the rules, but hey it works!).
1. Fdisk created identical size partitions for new /boot and lvm physical volume
to the old partitions.
2. Used DD in single user mode to copy across the old contents
3. Swapped to new hard drive
4. Added partition for remainder of hard disk using fdisk
5. added that partition to the volume group and then extended / to use the info.
This all worked, but it took some time to discover the gotchas. Also, this is
not scalable, because each time I do this, I'm going to increase the number of
partitions comprising the volume group.
Observations along the way:
1. Parted had trouble with my old disk (auto formatted during FC3 install). It got
the geometry wrong, and wouldn't operate on it. I suspect it would be easier to copy
the partitions with it.
2. I thought that Parted "resize" partition was what I wanted - but this doesn't work with
lvm partions. Sigh.
3. Fdisk can be made to create partitions of exactly the right size, regardless of geometry by specifying the size in sectors.
4. pvresize sounds like it might do what I want. But this isn't there yet.
Someone, please tell me a cleaner way to do it!