Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old June 12th, 2006   #1
sheilnaik
5 Cups of Ubuntu
 
sheilnaik's Avatar
 
Join Date: Mar 2006
Location: New Jersey
Beans: 38
Ubuntu 9.04 Jaunty Jackalope
Exclamation Extra free space is now occupied by something else after partition change

Here's the story:

1. I had a FAT32 partition (40GB) that I wanted to delete and merge with my ext3 Ubuntu partition.
2. I used the Live CD and GParted and deleted the FAT32 partition. I also deleted the swap partition that I had. I resized the old ext3 Ubuntu partition to a larger size (50GB) and created a new 1GB swap partition.
3. Before applying changes, GParted said I would have 40GB of free space on my ext3 partition.
4. I applied the changes and rebooted. Now, I still have the same amount of free space I had before the partition changes. The ext3 Ubuntu partition shows that it is bigger, but the 40GB I added is now "Used space".

My question is, where did all the free space go? I did a cd /; sudo du -h --max-depth=1 and I got this:

Code:
sheil@sheil-laptop:~$ cd /; sudo du -h --max-depth=1
Password:
48K     ./lost+found
440M    ./var
15G     ./media
14M     ./etc
4.4M    ./bin
9.4M    ./boot
120K    ./dev
5.0G    ./home
4.0K    ./initrd
111M    ./lib
4.0K    ./mnt
120M    ./opt
498M    ./proc
3.5M    ./root
11M     ./sbin
4.0K    ./srv
0       ./sys
104K    ./tmp
2.1G    ./usr
23G     .
The /media directory is large because it has my other NTFS Windows XP Partition on it, so ignore that. Two things have me confused though:

1. There are 23G of used stuff in the root directory of the file system? Nautilus did not show this when I viewed the file system as root (via the gksudo nautilus command).
2. The du still did not account for the 40GB of space that I added from the FAT32 partition.

I have attached a screenshot of my GParted window so you can get a better understand of how my system is set up. Any and all comments/advice would be useful. Thanks!

EDIT: Just to clarify, my Trash (for all users, including root) is empty. Also, I had some stuff (over 30GB worth) on the FAT32 partition before I deleted it. However, I never deleted the data and sent it to my Trash...I just deleted the partition using GParted on the Live CD.
Attached Thumbnails
Click image for larger version

Name:	GParted.png
Views:	18
Size:	87.0 KB
ID:	11135   Click image for larger version

Name:	Nautilus.png
Views:	15
Size:	75.2 KB
ID:	11136  

Last edited by sheilnaik; June 12th, 2006 at 11:03 PM..
sheilnaik is offline   Reply With Quote
Old June 12th, 2006   #2
ubuntuman001
Chocolate-Covered Ubuntu Beans
 
Join Date: Mar 2006
Beans: 2,142
Ubuntu 9.10 Karmic Koala
Re: Extra free space is now occupied by something else after partition change

have you tried erasing the ntfs partition again? (just erase it and apply changes, and then we'll go from there)
ubuntuman001 is offline   Reply With Quote
Old June 13th, 2006   #3
sheilnaik
5 Cups of Ubuntu
 
sheilnaik's Avatar
 
Join Date: Mar 2006
Location: New Jersey
Beans: 38
Ubuntu 9.04 Jaunty Jackalope
Re: Extra free space is now occupied by something else after partition change

I can't erase the NTFS partition. That has Windows XP on it, and I'm not about to go ahead and delete Windows XP. There's no way that partition could be related to this problem (at least, I'm pretty sure its not). I never touched that partition at all when making my changes with GParted.
sheilnaik is offline   Reply With Quote
Old June 13th, 2006   #4
mumushi
A Carafe of Ubuntu
 
mumushi's Avatar
 
Join Date: Sep 2005
Location: Japan
Beans: 129
Ubuntu 7.10 Gutsy Gibbon
Re: Extra free space is now occupied by something else after partition change

Is your hdd 80GB in size?
__________________
2.4Ghz Intel Core 2 Quad Q666 256MB Nvidia GeForce 8500GT 500GB SATA II 2GB DDR2

Registered Linux user #419660
mumushi is offline   Reply With Quote
Old June 13th, 2006   #5
sheilnaik
5 Cups of Ubuntu
 
sheilnaik's Avatar
 
Join Date: Mar 2006
Location: New Jersey
Beans: 38
Ubuntu 9.04 Jaunty Jackalope
Re: Extra free space is now occupied by something else after partition change

Quote:
Originally Posted by mumushi
Is your hdd 80GB in size?
Yes it is.
sheilnaik is offline   Reply With Quote
Old June 13th, 2006   #6
sheilnaik
5 Cups of Ubuntu
 
sheilnaik's Avatar
 
Join Date: Mar 2006
Location: New Jersey
Beans: 38
Ubuntu 9.04 Jaunty Jackalope
Re: Extra free space is now occupied by something else after partition change

Bumping this topic, only because I really need to get this problem solved ASAP.
sheilnaik is offline   Reply With Quote
Old June 13th, 2006   #7
sheilnaik
5 Cups of Ubuntu
 
sheilnaik's Avatar
 
Join Date: Mar 2006
Location: New Jersey
Beans: 38
Ubuntu 9.04 Jaunty Jackalope
Re: Extra free space is now occupied by something else after partition change

Well it seems that someone has answered the question over at http://ubuntuforums.org/showthread.p...ight=resize2fs. I'm going to try this method myself as soon as I finish downloading the Live CD here at work. I'll reply back with an answer as to whether it worked or not.
sheilnaik is offline   Reply With Quote
Old June 13th, 2006   #8
bigmell
First Cup of Ubuntu
 
Join Date: Jun 2006
Beans: 4
Re: Extra free space is now occupied by something else after partition change

By default when an ext3 filesystem is formated 5% is reserved for root. This is done to keep fragmentation low as well as allow root to perform file maintenance stuff. You can change the amount of reserved space by using the tune2fs command.

This caused me problems for a while on a big drive when I converted it from fat32 over to ext3
bigmell is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 07:21 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry