Resizing partition with LVM
Reuben D. Budiardja
techlist at pathfinder.phys.utk.edu
Thu Dec 22 18:02:27 UTC 2005
Hello,
I installed FC4 with "Automatic partitioning". Now I want to resize the
partition of / so that I can have free space (with no partition) to install
other OS. Here is how my system looks like:
]# fdisk -l /dev/hda
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 4864 38965657+ 8e Linux LVM
[root at nx-01 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
35G 6.7G 27G 20% /
/dev/hda1 99M 30M 64M 32% /boot
>From LVM HowTo, it seems that I have to resize the filesystem first, then
resize the volume using lvreduce. I tried using parted by to resize the
partition and filesystem of /dev/hda2, but it complained about unknown
filesystem type.
So I am hoping for any help on how to resize /dev/hda2 so that I can have
about 10GB of free space.
Thanks in advance.
RDB
More information about the fedora-list
mailing list