System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Df -k shows full / But actually not -- Quotacheck is not helping here

guna_1
Advisor

Df -k shows full / But actually not -- Quotacheck is not helping here

Hi,

df command is not giving exact utilization value .

I used the quotacheck command also , it is not helping me .

Please find the following outputs

Filesystem 1024-blocks Used Available Capacity Mounted on
usr1_dmn#usr1 8417920 4826188 0 100% /usr1

--------------------------------------------------------------------
/sbin/advfs> ./vdf -k usr1_dmn#usr1
Filesystem 1024-blocks Used Available Capacity Mounted on
usr1_dmn#usr1 8417920 4826190 0 100% /usr1
--------------------------------------------------------------------
/sbin/advfs> quotacheck -guv /usr1
*** Checking user and group quotas for usr1_dmn#usr1 (/usr1)
/sbin/advfs>

--------------------------------------------------------------------

/sbin/advfs> df -k /usr1
Filesystem 1024-blocks Used Available Capacity Mounted on
usr1_dmn#usr1 8417920 4826188 0 100% /usr1

----------------------------------------------------------------------

Please give me the solution except

Reboot the server or unmount and mount the filesystem again

Thanks in advance

Regards,
Guna
5 REPLIES
Mobeen_1
Esteemed Contributor

Re: Df -k shows full / But actually not -- Quotacheck is not helping here

Guna,
Looks like this is a classis question...

Review the link below and its underlying links and you should be able to find solution :)

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=727058

regards
Mobeen
Michael Schulte zur Sur
Honored Contributor

Re: Df -k shows full / But actually not -- Quotacheck is not helping here

Hi Guna,

why do you think, df does not show correct utilization?

greetings,

Michael
Ralf Puchner
Honored Contributor

Re: Df -k shows full / But actually not -- Quotacheck is not helping here

yes, what is the difference between

8417920 4826188

and

8417920 4826190

in case of a 100% full filesystem the 2 blocks doesn't count ;-)
Help() { FirstReadManual(urgently); Go_to_it;; }
Mobeen_1
Esteemed Contributor

Re: Df -k shows full / But actually not -- Quotacheck is not helping here

For 8417920 & 4826188 - Its 57.332310119364403558123621987379 % free

and
For 8417920 & 4826190 - Its 57.332333878202691401201246863833 % free

:)

rgds
Mobeen
Michael Schulte zur Sur
Honored Contributor

Re: Df -k shows full / But actually not -- Quotacheck is not helping here

Hi,

now I see it too. Deleting excessive spaces is not always a good idea. It makes lists hard to read. Not your fault, Guna.
Indeed as the thread suggests, check for processes which still have open files which got deleted.

greetings,

Michael