LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gparted and lvm (https://www.linuxquestions.org/questions/linux-software-2/gparted-and-lvm-4175442960/)

fakie_flip 12-26-2012 02:05 AM

gparted and lvm
 
Hello, I want to resize partitions created by Fedora. By default, fedora uses lvm on the partitions it creates. I haven't learned much about lvm, just physical volumes, logical volumes, but it's been a while, and I don't remember much about it. Anyways, my question is if I resize the partitions that have lvm, will that break things? I have never attempted doing this with partitions using lvm. I'd like to shrink a partition, so that I have enough free space to create a new one. I don't know what the LVM layout is on the Fedora system except that it's the default what the Fedora installer creates.

syg00 12-26-2012 02:18 AM

Seems to be a few of these recently. libparted (and hence gparted) doesn't support LVM (LVM is a block device layer between the tool and the real block device layer)
Shrinking needs care as things need to be done in the correct order - filesystem, lv, vg, pv

On Fedora install system-config-lvm - it's a GUI front-end that should enable you to do what you want.

fakie_flip 12-27-2012 06:08 PM

Thanks for the suggestion, but system-config-lvm doesn't seem to recognize my madadm raid. It shows /dev/sda and /dev/sdb but not /dev/md0, so I'm afraid if I even tried to use it, it would break something.


All times are GMT -5. The time now is 09:30 PM.