Incorrect filesystem size

Asked by Austin Allen

I decided to delete my NTFS partition on my hard drive via GParted. After that, i increased the Linux's extended filesystem to fill the hard drive, and increased the ext3 filesystem to take up that space. It ended with an error on "Grow filesystem to fill the partition". In particular "resize2fs /dev/sda5". GParted says that my 55GiB partition is using 53GiB of space, when i just increased it by 45GiB! When booting from Linux, it says i still only have a 10GiB partition also. I checked it for errors, and it tries to fill the partition again, messing up at the resize part. it says "Please run 'e2fsck -f /dev/sda5' first. I do and it ends fine, with no resize. Any suggestions?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gparted Edit question
Assignee:
No assignee Edit question
Solved by:
Tony Mugan
Solved:
Last query:
Last reply:
Revision history for this message
Dejan Tolj (dejan1) said :
#1

I noticed that the functionality of gparted is a bit flaky and I have seen similar errors when trying to move/resize partitions. Sometimes a restart or upgrading to latest version might help. Also check to make sure that fdisk reports the same disk structure as gparted.

Revision history for this message
Best Tony Mugan (tmugan) said :
#2

An extended partition is a container for up to 12 logical partitions.
To clarify, have you increased the size of the extended partition and then also increased the logical partition (formatted as ext3) within it?

I would suggest rerunning gparted and trying to increase just the extended partition first and then apply those changes first.
Then try the resize as a separate extra step afterwards.

I have had better luck with gparted by applying disk reorganisation steps one-by-one.
If it's still not working, reboot and try again.

ALso, make sure you have the latest version of gparted by applying updates through Update Manager.

Revision history for this message
Wyatt Smith (wyatt-smith) said :
#3

I just want to point out one thing. /dev/sda5 is your linux swap partition.

Revision history for this message
Austin Allen (dubblea13) said :
#4

Thanks Tony Mugan, that solved my question.