LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2003, 07:37 PM   #1
sandy
Member
 
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230

Rep: Reputation: 30
problem with partition size


When i do df -h on my system it shows

[root@root root]# df -h
Code:
Filesystem            Size          Used           Avail        Use%   Mounted on
/dev/hda2             9.9G           4.6G           4.8G         50%     /
none               110M                 0          110M           0%    /dev/shm
Can anybody help me in finding the remaining 500 MB in my Linux partition. When my used disk space reached 9.4 GB it says 'no space left for writing"

 
Old 10-05-2003, 07:40 PM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
You're not mixing up the "claimed" capacity with the actual capacity are you? As it might have been sold as a 10 gig drive, whereas due to the way binary figures are worked out, it's actually "nearly" 10 gig's

regards

John
 
Old 10-06-2003, 07:33 PM   #3
sandy
Member
 
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230

Original Poster
Rep: Reputation: 30
OK There seems to be a little confusion about my previous post.. That post was written in a hurry so I couldnot explain the details.
Let me explain my problem

At first the output I had posted was not the complete output. Mine is a 40GB hardrive of which 10 GB is a linux partition and about 25 if FAT32 and the remaining for NTFS..

I just pasted the output where the problem is ..

Actually it *is* a 10GB partition ( 9.9 GB to be exact ) and Linux *was* showing the 9.9 GB as the total available capacity ( i.e the used space and available space totalled 9.9 GB ) for the first few weeks. Suddenly it started showing that the full capacity of my hard-disc in 9.9 GB of which the usable part is only 9.4 GB .. Also it says that 'Disc space full" when the Used space reaches 9.4 GB. Is it a problem with my hard-disc..
 
Old 10-06-2003, 07:56 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
if you're using a journalised file system (ext3, reiserfs) the journal will take up room too. Maybe that's the problem?
 
Old 10-06-2003, 07:58 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,930

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
No problems. When linux formats a file system it reserves 5% for root's exclusive use in case of an emergency. Which in your case is about 500mb.

You can use tune2fs to change this setting but do not set it to zero.
 
Old 10-06-2003, 08:03 PM   #6
sandy
Member
 
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230

Original Poster
Rep: Reputation: 30
Thanx. quatsch & michaelk

A little bit of googling on your posts made it clear.. ( also got the new idea of reserved blocks) .. I was afraid that something had happened to my new hard-disc ..
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Re-partition hd size & usb problem tanchu Linux - Newbie 3 08-07-2005 02:52 PM
file system size larger than fysical size:superblock or partition table corrupt klizon Linux - General 0 06-18-2004 05:18 PM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 01:55 PM
fdisk partition size differs from mounted partition size jimieee Linux - General 3 10-15-2003 04:10 AM
Partition size allocation problem Supraj Linux - Newbie 3 08-08-2001 03:36 AM


All times are GMT -5. The time now is 09:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration