Review your favorite Linux distribution.
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 12-09-2002, 09:02 AM   #1
Registered: Dec 2001
Location: Adelaide , South Australia
Distribution: redhat 7.2, Debian , OpenBSD
Posts: 123

Rep: Reputation: 15
df -h is giving weird output

i have a a problem with my RH7.2 machine ... when i df -h i get this

Filesystem Size Used Avail Use% Mounted on
/dev/hda2 690M 658M 0 100% /
/dev/hda1 29M 2.7M 24M 10% /boot
none 30M 0 30M 0% /dev/shm

[root@localhost local]# rpm -i ~ ftp/upload/ntop-2.1.3-0.i386.rpm
installing package ntop-2.1.3-0 needs 9Mb on the / filesystem

well the output is really wak..apparently iv only got no space on /

has anyone seen this before or is there something im doing wrong?? well there is more than 9Mb !!!! meh!

thanks once again lq ppl
Old 12-09-2002, 09:39 AM   #2
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
The problem is that some part of the filesystem is reserved to root, that's usualy 10%. You can change that value with tune2fs as root:

# tune2fs -m <value> /dev/hda2

Last edited by vladkrack; 12-09-2002 at 09:44 AM.
Old 12-09-2002, 11:32 AM   #3
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
You can re-allocate space as vladkrack says, but that is still just a temporary solution. You also have a very large amount of space allocated to the /boot partition -- way more than you need, unless you're heavy into kernel playing.

But all that aside, you have a very small amount of Linux space as compared to what you are trying to use that space for. I would strongly suggest finding a larger drive, or cutting out the excess -- if there were any excess to cut .


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
Linux commands - giving doubled output shinobi59 Red Hat 1 11-07-2005 06:43 PM
Router giving weird IPs to network beebop Linux - Networking 4 08-01-2005 01:11 AM
Weird DF Output Mr_Munkey Linux - General 4 03-09-2005 09:11 AM
fdisk -l has stopped giving output Bruce Hill Slackware 59 09-06-2004 08:14 AM
everything (top and ps) is giving me weird problems In Core 2 blackphiber Linux - General 0 06-01-2004 01:43 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:01 AM.

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