Resizing partition with LVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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







[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux