1 (edited by subsidiarity 2013-12-24 17:14:22)

Topic: Minimum and maximium size about the same for LVM partition

I am running Linux mint and I want to create a partition for windows. But gparted will only let me unallocate about 48 mb. There is about 180gb of free space on the drive. Can this be fix, or short of that please explain to me why this is happening. Thx.

Screen shots to follow.

Edit, I am running live iso via usb, ver 0.16.
Edit: I cannot figure out how to export an image off of the live boot.

http://i.imgur.com/kCnDX2F.png

2

Re: Minimum and maximium size about the same for LVM partition

That worked.
http://i.imgur.com/iDWyIHf.jpg

3

Re: Minimum and maximium size about the same for LVM partition

The picture helps to explain what is going on.

It looks like your GNU/Linux distro is installed in a Logical Volume Manager Physical Volume (lvm2 pv).  Currently all of the space within the lvm2 pv is allocated to a file system and/or file systems within the lvm2 pv.  These allocation blocks within the lvm2 pv are called Logical Volumes (lv).  Hence if you wish to shrink the lvm2 pv, you will first need to shrink the file systems and logical volumes within the lvm2 pv to free up some space.

For more details about LVM see Logical Volume Manager.

4 (edited by subsidiarity 2013-12-25 05:01:55)

Re: Minimum and maximium size about the same for LVM partition

Looks like I should use:
resize2fs
to shrink the file system then use:
lvresize
to shrink the logical volume.

Sound right? Could I run these from the gpared live cd terminal? Would that leave space unallocated from me to create an NTFS partition for windows?

http://www.tcpdump.com/kb/os/linux/lvm- … hrink.html

Thanks.

5

Re: Minimum and maximium size about the same for LVM partition

subsidiarity wrote:

Sound right? Could I run these from the gpared live cd terminal?

Yes, you should be able to run the commands directly from the GParted Live CD in a terminal window.