LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack 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: 11,534

Rep: Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674
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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 16 08-12-2012 01:40 PM
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:09 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration