Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-14-2003, 09:14 AM   #1
Registered: Aug 2003
Location: London, UK
Distribution: Debian and Fedora for play and RHEL + Solaris for work
Posts: 172

Rep: Reputation: 15
fdisk partition size differs from mounted partition size


I'm having some problems with paritioning my primary hard disk, it's a little difficult to explain what's going on so I'll break it down, sorry if this makes the tone of the message a bit bland:

I have a 9 GB scsi HD which I have partitioned up to put RH9 on.

Among the various partitions I made to do this I also made a 5gb ext3 partition that I plan to store a load of data on.

This was the last partition I made during install and for some reason I didn't notice that it didn't fill up the rest of the available space, only 100mb of the 5gbs of space is used. I only noticed it when I tried to copy the data accross.

I used fdisk to delete the 100mb partition and create a new one that took up the whole 5gb and formatted it to ext3. Only problem is that when I now check the size in RH it's still 100mb, but according to fdisk it takes up the whole space... hmmmmm

I had one message that said something about the kernel still using the old partition table. How do I get it to update to the new table? Sorry if this is a basic problem...

Old 10-14-2003, 12:22 PM   #2
Registered: Aug 2002
Posts: 14,655

Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
Just a swag but if you didn't reboot the PC after creating the partition and before formating then the old partition table might of been used.

I'm not sure if reformating will fix the problem or not.

You are using the correct partition ID's etc?
Old 10-14-2003, 01:01 PM   #3
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
just reboot,and see the output of 'fdisk -l' and cat /proc/partitions.they will(should) match.
Old 10-15-2003, 03:10 AM   #4
Registered: Aug 2003
Location: London, UK
Distribution: Debian and Fedora for play and RHEL + Solaris for work
Posts: 172

Original Poster
Rep: Reputation: 15
Ah yes! After much Formatting and rebooting I appear to have a 5gb partition!




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
Size in superblock is different from the physical size of the partition cyberfishee Linux - Hardware 18 09-11-2016 08:48 AM
Added second harddrive as a partition, but now the partition size is wrong.. mlsbraves Linux - General 5 08-17-2005 08:10 PM
mk2efs ext3 block count differs on same partition size tkmbe Linux - General 1 06-29-2005 09:23 AM
file system size larger than fysical size:superblock or partition table corrupt klizon Linux - General 0 06-18-2004 04:18 PM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM

All times are GMT -5. The time now is 08:36 PM.

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