I recently tried to resize my / partition. Previously it looked like
this:
(parted) print
Disk geometry for /dev/hda: 0.000-19077.187 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 15526.054 primary fat32 boot, lba
2 15526.055 15577.734 primary ext3
3 15577.734 18826.171 primary ext3
4 18826.172 19077.187 extended lba
5 18826.203 19077.187 logical linux-swap
I think I have resized the partitions OK. This is what it currently
looks like:
(parted) print
Disk geometry for /dev/hda: 0.000-19077.187 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 8999.648 primary FAT boot, lba
2 8999.648 9058.710 primary ext3
3 9058.711 18826.171 primary ext3
4 18826.172 19077.187 extended lba
5 18826.203 19077.187 logical linux-swap
(parted) quit
But now the problem is that RedHat does not appear to have picked up
on the extra space. i.e. `df -kH .` from / still shows /dev/hda3 as
3.5GB. I presume I have to extend the filesystem to utilise the extra
space made available by extending the
partition ?? How do I do this?
Sorry if these are stupid questions but I am new to all this. I have
pasted some more info on the current partition layout below:
/dev/hda3 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda2 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
Disk /dev/hda: 240 heads, 63 sectors, 2584 cylinders
Units = cylinders of 15120 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1219 9215608+ c Win95 FAT32 (LBA)
/dev/hda2 1220 1227 60480 83 Linux
/dev/hda3 1228 2550 10001880 83 Linux
/dev/hda4 2551 2584 257040 f Win95 Ext'd (LBA)
/dev/hda5 2551 2584 257008+ 82 Linux swap