Ask Your Question

LVM problem in Fedora 16

asked 2012-03-27 13:07:42 -0500

piyush gravatar image

I Installed Fedora 16 on a 90gb partition.Was successfully installed.But the problem is I didnt know about Fedora's LVM scheme at the time of installation. So it automatically set up 40gb for /home and 50 gb for root. Now can I re-arrange the partition space? For example giving 20 gb to root and rest 70 gb to /home?

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted

answered 2012-03-28 04:33:53 -0500

ztank1013 gravatar image

Probably you may find this of some help:

but if you need more help please run the following commands as root and attach the output in your question so we can have a better view of your LVM situation:

pvs ; vgs ; lvs
edit flag offensive delete link more

answered 2012-03-28 04:47:52 -0500

René Rask gravatar image

I have 2 suggestions. The first is in reply to your problem and the second is an alternative solution.

Make a backup of your files

You need your root filesystem offline to shrink it. You can do that by booting the livecd and use the tools on it.

You might be able to use "system-config-lvm" if it is on the livecd or install it on the running livecd. Or install the livecd to an usb stick and run it from there. Otherwise you have to do all the steps manually.

If your root and home filesystems are using ext3, ext4 or xfs you should be able to use system-config-lvm. (as far as I can tell)

If you are using any other filesystems on root or home you need to do the shrinking, moving and expanding manually.

Search google for "LVM shrink" or "LVM resize" to find some guides for doing this manually. It is to complex to describe all of it here.

Make sure you have a backup of your files before starting. Your computer might crash, loose power or something else might go wrong

I would recommend that you:

  1. make a backup of your files.
  2. do a fresh install of fedora 16 without lvm and partition the disk as you want it.
  3. install any missing software.
  4. copy the files from the backup.

It will almost certainly be much faster, safer and easier than messing with lvm.

edit flag offensive delete link more

answered 2012-03-28 10:11:28 -0500

piyush gravatar image

OK I reinstalled Fedora LVM tool was giving me a hard time current stats are: /boot -->500mb / -->5000mb swap-->5000mb /home-->80000mb

thank you guys

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2012-03-27 13:07:42 -0500

Seen: 1,626 times

Last updated: Mar 28 '12