You are not logged in.

#1 2011-03-15 11:43:47

Buck
Member
Registered: 2011-03-15
Posts: 4

[SOLVED] Using 100 percent of a volume group?

I wanted to create two logical volumes in a volume group with the installer. One for swap, and the rest for root. When creating the second LV, ideally, you should be able to ask to use 100% (100%FREE) of the remaining space in the volume group, but the installer would only let me enter numeric values. I had to guess at the amount of remaining space and waste some of what was left.

Is it possible to do what I was trying to do with the installer? (/arch/setup)

Last edited by Buck (2011-03-28 18:16:15)

Offline

#2 2011-03-15 16:09:27

FinallyHere
Member
Registered: 2011-02-27
Posts: 8

Re: [SOLVED] Using 100 percent of a volume group?

I encountered the same problem. What I did was to create a lvm volume almost as big as the remaining space of the vg/pv then I hit Alt+F2 for another terminal rooted into it and typed:

lvextend -l +100%FREE vg/home

The label of my volumegroup is vg and the label of the lv to grow is home.

You can view the size of the lvs with:

lvs

If you Alt+F1 back to AIF it doesnt recognize the change though(but it actually is bigger).

Offline

#3 2011-03-28 18:20:19

Buck
Member
Registered: 2011-03-15
Posts: 4

Re: [SOLVED] Using 100 percent of a volume group?

I was able to test this today on a USB drive. I wanted to do this originally, but my mistake was trying it in the middle of the partitioning process. The trick is to wait until right AFTER you are partitioned and it says "Partitions were successfully created.", then toggle to another virtual terminal and complete the command. Ideally this should be an installer option though.

Offline

Board footer

Powered by FluxBB