2

I get this when I try to create a logical volume:

Volume group "MorArchy" has insufficient free space (511 extents): 19456 required.

I'm using this command:

lvcreate -L 76G -n cryptroot MorArchy

I'm trying to install Arch Linux with LVM and LUKS. Here's the output of vgdisplay (sorry can't really copy and paste):

vgdisplay

Am I doing something wrong here?

EDIT: The volume group is using /dev/sda3, which is 78 GB. I made sure that it was indeed using /dev/sda3.

EDIT: The output of pvdisplay (and fdisk -l):

pvdisplay

11
  • 1
    You are trying to create a 76G logical volume in a volume group that is about 2G in size. That isn't going to fit. Look at 'VG Size' and also 'Free PE / Size'. You need to make the Volume Group a lot bigger. Commented Dec 19, 2018 at 12:47
  • Your volume group only has <2.00GiB available to it. You need to increase the space available in your volume group by adding more physical volumes. Commented Dec 19, 2018 at 12:47
  • What does pvdisplay output? Commented Dec 19, 2018 at 12:48
  • @TorinCarey I now edited the question to have pvdisplay's output Commented Dec 19, 2018 at 12:53
  • Does running pvresize /dev/sda3 change the PV Size attribute in pvdisplay? Commented Dec 19, 2018 at 12:56

1 Answer 1

2

Your volume group only has 511 physical extents in total (each being 4MIBs totals just under 2GIBs.) You don't have enough free space in the volume group for the logical volume you're trying to create of 76GIBs (19456 physical extents).

You may have created the volume group on top of the wrong partition(s) if you're expecting at least 76GIBs to be available.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.