PDA

View Full Version : Resizing partitons on FC



talktoadi
21st July 2006, 05:05 PM
Hi All,

I'm running FC2 on poweredge 2650. When FC2 was installed the partition was done wrongly. This what I get when I df

<code>
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 2.0G 492M 1.4G 27% /
/dev/sda1 99M 7.7M 86M 9% /boot
none 506M 0 506M 0% /dev/shm
/dev/sda5 97G 8.6G 83G 10% /home
/dev/sda9 1.2G 33M 1.1G 3% /tmp
/dev/sda6 39G 7.5G 30G 21% /usr
/dev/sda7 20G 11G 7.9G 58% /var
</code>

I want to reduce /dev/sda5 to 13G and put the rest (84G) on /dev/sda7.

How do I go about doing this without losing data? Any pointers highly appreciated.

TIA,
Adi.

JoeyJoJoe
21st July 2006, 10:23 PM
when I did it (and wrote a how-to) it took ages and was entirely in the terminal and at one point involved using run-level 3... I have since discovered qtparted, which looks like it'll be brilliant for this. It's meant to be a clone of partition magic, which is fantastic for this sort of thing... it even has a GUI !!!

You can get qtparted through yum (i think it's in livna)

talktoadi
24th July 2006, 06:40 PM
Thanks JoeyJoJoe,
I will look at qtparted. :)
Adi