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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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...