resize root partition

Brian Richardson brian at cubik.ca
Wed Nov 17 00:03:04 UTC 2004


On 16-Nov-04, at 3:09 PM, Carlo Orecchia wrote:

> i was wondering if there is any way to resize the root partition.
> more precisely i would like to decrease the size of / and increase the 
> size of /home
> Is this possible under FC3? How?

Yes, but only if you installed your partitions using LVM. The link to 
the HOWTO is below:

http://tldp.org/HOWTO/LVM-HOWTO/

Then, a simple e2fsadm -L +/- <size> /dev/<volgroup>/<volname> will 
resize the partition. Using -L with a negative number will return free 
space to the volume group, and -L with a negative number chews up that 
free space. lvdisplay will show you how much space is currently 
available in your partition. Actually, you won't be able to resize your 
root partition in this manner, as your root partition should be outside 
the LVM.

Brian
--
Brian Richardson
Software Developer
Public Key available at http://www.cubik.ca/




More information about the fedora-list mailing list