-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark Knecht wrote: > I did an experiment with LVM2 to see how it worked, but I put it > inside of partition 3. I then wanted to remove it and put it in > partition 4 instead. (More like Neil's setup.) However, the system > keeps finding the old vg1 volume group. I went so far as to remove all > partitions, put on a new partition, make a new file system, then > remove that filesystem and do my final ones with LVM2 in partition 4 > but the system still finds the old vg1 volume group and complains that > sda3 is too small.
The easiest thing to move lvm partitions from one physical partition to another is as follows: 1. pvcreate <new> (create lvm2 data on the partition) 2. vgextend <vg> <new> (adds the new partition to the volume group) 3. pvmove <old> (moves the extends to the new partitions) 4. vgreduce <old> (removes the old partition from the volume group) 5. pvremove <old> (wipes the lvm2 markings from the partition) > > I guess this is in the partition table? If so how do I completely > remove the LVM2 data and set the table back to default? Hopefully this was what you were looking to do. > > Thanks in advance, > Mark > Regards, Petteri Räty -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDFX1/cxLzpIGCsLQRAqu2AJwNL5i9UJDejNPpC3eJiSwHsXNgEwCfbj58 8VKgQzOye3TLiAX2+Noex+8= =7T7+ -----END PGP SIGNATURE----- -- gentoo-user@gentoo.org mailing list