Can I extend /usr partition ??

Rob Cartier rcartier at apollo.homeip.net
Sat Nov 13 20:40:12 UTC 2004


I was trying to upgrade from FC2 to FC3 and was met with
I need 142 mb of free space to upgrade on /usr :(

I have moved all the data out of  an adjacent partition
which is /dev/hda6. (/shared)

The question is can I resize the existing /usr (/dev/hda5)
to use all of /shared (/dev/hda6).

I tried using partitionmagic 8.0 but it appears it
didnt like ext3 filesystems.

Will parted handle this task or am I just kidding myself
and since this is the /usr partition the only option
I have is to rebuild the system. If I use parted will I
corrupt the partition table and be hosed.

This machine has been upgrade from RH9 -> FC1 -> FC2


Disk /dev/hda: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          64      514048+  83  Linux
/dev/hda2              65        3649    28796512+   5  Extended
/dev/hda5              65         447     3076416   83  Linux
/dev/hda6             448         830     3076416   83  Linux
/dev/hda7             831        1022     1542208+  83  Linux
/dev/hda8            1023        1150     1028128+  83  Linux
/dev/hda9            1151        1278     1028128+  83  Linux
/dev/hda10           1279        1311      265041   82  Linux swap
/dev/hda11           1312        1344      265041   82  Linux swap
/dev/hda12           1345        1727     3076416   83  Linux
/dev/hda13           1728        1855     1028128+  83  Linux
/dev/hda14           1856        2365     4096543+  83  Linux
/dev/hda15           2366        3649    10313698+  83  Linux

[root at apollo rcartier]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1               497829    312197    159930  67% /
/dev/hda8              1011928    527068    433456  55% /home
none                    257924         0    257924   0% /dev/shm
/dev/hda12             3028080   1788588   1085672  63% /shared2
/dev/hda14             4032092    108720   3718548   3% /shared3
/dev/hda15            10151832   4670816   4965332  49% /shared4
/dev/hda9              1011928     16752    943772   2% /tmp
/dev/hda5              3028080   2357808    516452  83% /usr
/dev/hda13             1011928    501012    459512  53% /usr/local
/dev/hda7              1517920    703192    737620  49% /var
/dev/hda6              3028080     32824   2841436   2% /shared

Thanks in advance

Rob Cartier






More information about the fedora-list mailing list