SUMMARY: df -k not showing a correct size

From: Carl Christopher Bavington @ Langley (@)
Date: Mon Mar 17 2003 - 12:50:41 EST


Managers,

Many thanks to the 20+ of you who replied with pretty much the same
explanations.

Heres a good explaination from Martin Burton (Thanks alot Martin)

The AdvFS daemon has a lock on the file, i.e it has it open. What this
means is that the metadata for the file will not be released until that
process relinquishes the lock, i.e when it is restarted/stopped/the
machine rebooted. Although the file has been deleted in the eyes of ls,
etc, the blocks will still be used on the filesystem until the final
file lock is gone.

Solution: stop advfsd

advfsd is used solely by the GUI advfs administration tools and to
collect some performance info (which it often gets wrong!, by stat()'ing
filesystems which are not there, for instance).

Advfsd was stopped and started with /sbin/init.d/advfsd stop and restarted
with /sbin/init.d/advfsd start

Thanks to you all,
Carl

> Managers,
>
> I have just deleted a large file:
> ---------- 1 root system 1377631900 Mar 17 09:01
> /usr/var/opt/advfsd/logs/advfsd
>
> which was taking over my /usr advfs domain, but it has not been refelected
> in a df, ive done a showfdmn usr_domain and it still reports the old disk
> usage.
>
> Any suggestions why this may have been, or ideas on correcting it, other
> than a reboot which is not a option?
>
> Cheers,
>
> Carl Bavington
> Senior Technical Analyst (CAS)
> Tel: 01753 45(2082)
> Mobile: 07970 709525
> ntl
>

The contents of this email and any attachments are sent for the personal attention
of the addressee(s) only and may be confidential. If you are not the intended
addressee, any use, disclosure or copying of this email and any attachments is
unauthorised - please notify the sender by return and delete the message. Any
representations or commitments expressed in this email are subject to contract.

ntl Group Limited



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:11 EDT