Re: mis-read disk space?

From: Andreas Schulze (b79xan_at_gmx.de)
Date: 04/30/04


Date: Fri, 30 Apr 2004 13:02:59 +0200


"nm" <c_n_nz@hotmail.com> schrieb im Newsbeitrag
news:X%pkc.504$s3.56240@news02.tsnz.net...
> hi all, I am new to AIX so please forgive me.
>
> I have a volume that is labeled /opt it is only 131 meg.
>
> I get an e mail from a script the sends me a text e mail with df and a
whole
> bunch of other info every 4 hours.
>
> at 20:00 it said that /opt was at 47% full. it had been this way for
weeks
> if not months and never changed
>
> Until last night at 00:00 it went to 100% used. I went in and did a du -sk
> /opt/* and the disk space did not add up to 131 meg at all. far less. more
> like that disk space it was reporting 4 hours earlier (47%) but sure
enough
> I did a manual df -k and it says 100% full. I am at a loss to explian this
> or fix it. I have move some data off it and it sits at 96% full now.
>
> can anyone help?
>
> TIA
>

That might not be a particular AIX problem - Check with either fuser
/dev/opt or lsof whether a running process is accessing /opt. If there is
such a process it might hold a file open which has been deleted and
therefore is not visible but still occupying space. To clear the fs you need
then to stop or restart the process or, if that cannot be done, reboot the
machine.

HTH,
andreas



Relevant Pages

  • Announcement: Fix management tool for AIX 4.x/5.x available
    ... I'm pleased to announce a tool to automate download and management ... of ".bff" and ".rpm" fix packages for AIX ver. ... "fix-get.sh" script has been designed to automate fix packages ... discovery and download for servers with Unix AIX versions up to 5.3. ...
    (comp.unix.aix)
  • Re: Using Return Codes (PuTTY and AIX)
    ... I worked on a similar situation between a PC and an AIX box. ... In PROCOMM Plus it was possible to have the host remotely execute a PROCOMM ... script that would run on the PC. ... We've gotten a Windows batch job to log in with PLINK and start ...
    (comp.unix.aix)
  • Help with Migration from AIX 4.3 to Solaris 9
    ... involved in a project to migrate a user from an IBM RS6000 running AIX ... print to file so then through a valid print queue. ... Here you can see the shell script prfl0 ref above as backend ...
    (comp.unix.aix)
  • Re: hidding the content of a script
    ... I think the mime "encryption" is good enough, ... installation package that runs through the AIX admin tool SMIT and I use the ... >> I would like to make some exercises for a small AIX ... >> The problem is that if they view the script that does this, ...
    (comp.unix.shell)
  • Re: Is there some restriction (or "kernel"parameter) for the depth of subshells (and functions in ks
    ... customer's AIX ... function wrongly and later getting the wrong errorlevel after the exit ... commandline behaves perfect. ... cobol programm making a SYSTEM-call of a script which calls A.ksh]) ...
    (comp.unix.aix)