LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-14-2003, 09:14 AM   #1
jimieee
Member
 
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


Hi

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...

~James~
 
Old 10-14-2003, 12:22 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,710

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
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
arunshivanandan
Member
 
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
jimieee
Member
 
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!

Thanks,

~James~
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:51 AM.

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