How do you shrink a logical volume pse?
I am giving Fedora a test drive but logical volumes are causing a problem.
I had partitions for Windows, Ubuntu 10.04, Slackware and Swap. I thought I pointed the Fedora installer at the Ubuntu partition but it took the Ubuntu, Slackware and swap partitions!! The data is lost but I want to rebuild Slackware. To do this I need to free up disk space that I can repartition.
I only have a single hard drive on this laptop. Fedora is running on the logical volume I need to shrink so I can't umount it. The Fedora install disk is not a live DVD and Gparted on my Ubuntu Live CD won't manage logical volumes.
I'm new to logical volumes. Is there a preferred logical volume manager application that works with mixed partitions and logical volumes and that I could download in a Ubuntu Live session please?
If I understood correctly, you still have the original partiitons, you just have LVM on top of them. Then all you need to do is reduce the LV to exclude the needed partitions (make sure you have enough space) and resize the filesystem. Once done, you can simply remove the partitions from the VG and finally from the PV.
Have a look at the following link
The following is an extract of my wiki, it's verbose but it will give you a step by step. Hope it helps.
I don't use LVM for a lot of different reasons, but to answer your other question, try a Knoppix liveCD. Last I looked it had LVM built in and all you had to do was pvscan/vgscan and maybe "vgchange -a -y"
I thought the Fedoras could be booted in rescue mode that should avoid the necessity for the above.
Thanks for the inputs. The links look interesting.
I think I have some reading to do but the answers are clearly there.
I found lvm2 on the Ubuntu Live CD. The problem was I didn't know which application I was looking for.
This gives me all I need to sort my problem. Thanks.
|All times are GMT -5. The time now is 03:14 AM.|