Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-11-2010, 07:56 AM   #1
Registered: Jul 2005
Location: Cuba
Distribution: redhat
Posts: 52

Rep: Reputation: 15
correct partition size not reported after resizing with gparted

I removed an ntfs partition I had in my HD and then resized my home partition with gparted to occupy all the available space. The resulting partition is supposed to be 129GB, and gparted/partition magic see that size. But the system does not, and all tools report the old partition size and the same free space I had before resizing. Any idea about how to solve this?
Old 01-11-2010, 08:50 AM   #2
LQ Newbie
Registered: Apr 2009
Posts: 11

Rep: Reputation: 0
Are you using journaling or is the filesystem ext2 or ext3? Because if you are resizing ext3 according to this fellow you have to disable and re enable journaling. This is what I think you have to do now, that you have already resized the partition.

First you'd better unmount your home partition.
So try removing the journal from your home partition, lets say it is /dev/sda4, turning it to ext2 by:
tune2fs -O ^has_journal /dev/sda4
Then check the size of the partition or maybe run fsck just to be sure everything is fine, I suppose by now it should indicate correct size. Then turn journaling back on with:
tune2fs -j /dev/sda4
Old 01-11-2010, 10:04 AM   #3
Registered: Jul 2005
Location: Cuba
Distribution: redhat
Posts: 52

Original Poster
Rep: Reputation: 15
Nothing. fsck reports the correct size, but df reports the previous size. Seems Ill have to format.
Old 01-11-2010, 10:36 AM   #4
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
use a live cd like system rescue cd or parted magic for all related tasks.
Old 01-11-2010, 10:45 AM   #5
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,898

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
My experience with resizing partitions tells me that this in one of the few times that a reboot is called for. The kernel is working with the partition table that was loaded at boot time. If you make changes to partitions, reboot to load the new partition table.
Old 01-11-2010, 11:35 AM   #6
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 217

Rep: Reputation: 30
if it is kernel 2.6+ext3 then you could use "resize2fs -f -p <device path>" to format the partition online without losing data and restarting.


gparted, resize

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GParted resizing has corrupted a partition troy.mcclure Linux - General 1 11-16-2009 07:02 PM
Free space not showing correct after increasing root partition size with GParted. avanindra Linux - Newbie 3 08-06-2009 08:49 AM
error resizing NTFS partition with gParted live CD Nived87 Linux - Newbie 5 05-29-2006 02:53 AM
URGENT! Resizing NTFS partition size problems. rconan Linux - Software 3 09-03-2005 01:03 PM
reported partition size error jsmarshall85 Debian 4 11-06-2004 03:09 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration