LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   weird output of df. (https://www.linuxquestions.org/questions/linux-newbie-8/weird-output-of-df-4175495350/)

hilou 02-18-2014 04:56 AM

weird output of df.
 
What does this mean?

64Z? there is Avail 71G, then why 100%?

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
64Z 64Z 71G 100% /

hurryi 02-18-2014 05:23 AM

man df

SIZE may be (or may be an integer optionally followed by) one of fol-
lowing: KB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T,
P, E, Z, Y.

so the Z should be Zetta, i never seen that much space in my life :)
http://en.wikipedia.org/wiki/Byte

i would assume (i was lazy to do the math) that 71G is a lot less then 1% of 64Z thats why it could show 100% in use while you still have 71G

pan64 02-18-2014 05:54 AM

please show us the exact command you entered. Also try other flags. Probably you have got a bug.

TenTenths 02-18-2014 05:58 AM

Well 64Z is roughly 70,250,000,000,000G so yeah, 71G is going to be considerably less than 1% lol :)

Personally if you've the budget for that amount of drive space you can afford to add a few more! :) :)

On a more serious note the OP needs to carefully check the output they are getting from df and compare it to something like du for the volume. Getting results returned in the Zb range would indicate something is wrong.

Also remember that ext3 reserves some space for root so that even if the drive shows 100% full there is still some free space. From memory it's 5%

hurryi 02-18-2014 06:09 AM

yeh, probably a bug :) also ext3 max size for sure cannot reach 64Z
i dont even know if there is a filesystem out able to handle that and yes now i am lazy to google after that :P

Habitual 02-18-2014 07:57 AM

I would try
Code:

\df
first, in case there's an alias messing up regular "df" and/or type
Code:

type df

hilou 02-19-2014 03:00 AM

Hi All,

Thank you all for your warm help. It turned out this output is resulted from the crashed /. So I experienced a OT Last night to restore the whole server.

Best Regards.


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