Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to add new partitions which are not logical volumes. But I have a system with logical volumes. I tried reducing the lv_home partition size using ‘lvresize’, and reduced a LV size by 5GB successfully. And I want to create new partition with that 5GB. But I am not able to find that space.

xvda 202:0 0 150G 0 disk
 ├─xvda1 202:1 0 500M 0 part /boot
 └─xvda2 202:2 0 149.5G 0 part
    ├─VolGroup-lv_root (dm-0) 253:0 0 50G 0 lvm /
    ├─VolGroup-lv_swap (dm-1) 253:1 0 3.9G 0 lvm [SWAP]
    └─VolGroup-lv_home (dm-2) 253:2 0 90.6G 0 lvm /home

I reduced lv_home from 95 to 90GB. Now where this free space is available?. When I tried to make partion using "fdisk xvda" it says no free sectors. I want to create 2 or 3 partitions using that 5GB. Would some one help me in doing that?

share|improve this question

marked as duplicate by Rod Smith, Kevin Panko, Tog, mpy, harrymc May 23 '14 at 6:57

This question was marked as an exact duplicate of an existing question.

Probably this is what I am looking for:… – dhar May 21 '14 at 6:56

I advise you this wiki page to get all relevant info on how LVM works, with examples and explanations:

It is all I needed when first had to deal with LVM.

In your example, when you free up some space from a logical volume, the space is freed for the Volume group, so it is only available for other logical volumes on the same group.

share|improve this answer
Thanks. This helped. I followed a duplicate link and was partially successful. – dhar May 28 '14 at 8:40

Not the answer you're looking for? Browse other questions tagged or ask your own question.