how do I add partitions to drives that have Logical Volume (LVM) partitions?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Okay, I have narrowed it down some. The problem is that, while I did resize the Logical Volume, I did not resize the Logical Volume Group. The bigger problem is that there is a command to resize a Logical Volume Group, it has not been implemented yet.
My question is, how in hell are you supposed to resize a VolGroup?
Well, I figured it out on my own. I had to
1 delete the swap partition in the volume group, then
2 back up the volume group's data, then
3 edit the backup so that the vg is smaller
4 restore the edited backup
5 recreate the swap file
6 calculate size of new vg and use that to update the partition table via fdisk
That was the hardes six steps I have ever done.
The ironic part is that when I created a partition for windows, and popped the windows disk in, The partitions were gone once again, and I was unable to restore the partitions with fdisk.
In short, it was all for nothing. Good thing I made a backup this time...