LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   df -h is giving weird output (https://www.linuxquestions.org/questions/linux-general-1/df-h-is-giving-weird-output-37737/)

chens_83 12-09-2002 09:02 AM

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

vladkrack 12-09-2002 09:39 AM

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

jglen490 12-09-2002 11:32 AM

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


All times are GMT -5. The time now is 06:09 PM.