You could move 40G of data to the new drive. Reduce the size of the filesystem on your 80G by 40G. Repartition the drive to 2 40G partitions. make the second partition a LVM partition. Move the remaining data from the first 40G onto the second and make the first partion an LVM partition.
LVM will see all these partitions and drives as one so the number of partitions won't matter.
Actually, if you have almost 80G or more now, you'll have to partition the 80G hard drive into 3 partitions instead of 2, but the procedure is similar.
narsimha.kulkarni@bt.com wrote:
Hi,
I had a 8GB disk on which the / was configured.
Then I added another 40GB disk which I configured under LVM.
Now I want to add the 8GB also as a logical disk to the volume group in which the 40GB.
If I do a pvcreate on the 8GB, will I lose all the data on / or just pvcreate and extend it.
Narsimha
_______________________________________________ linux-lvm mailing list linux-lvm@sistina.com http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
_______________________________________________ linux-lvm mailing list linux-lvm@sistina.com http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/