AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  Best Practice to fix FULL FS..

    Posted 04/29/10 07:35 AM

    Originally posted by: SystemAdmin


    Hi,

    Lets discussed the Best practice to fix full filesystem..
    #AIX-Forum


  • 2.  Re: Best Practice to fix FULL FS..

    Posted 04/29/10 07:43 AM

    Originally posted by: tony.evans


    Investigate the immediate cause.
    Fix.
    Determine root cause.
    Fix, share knowledge with others.
    #AIX-Forum


  • 3.  Re: Best Practice to fix FULL FS..

    Posted 04/29/10 07:49 AM

    Originally posted by: j.gann


    ... and deploy monitoring to be notified of filling fs ahead of time on next occasion
    #AIX-Forum


  • 4.  Re: Best Practice to fix FULL FS..

    Posted 04/29/10 07:56 AM

    Originally posted by: SystemAdmin


    var is showing 95% ? & i am not able to fix it
    #AIX-Forum


  • 5.  Re: Best Practice to fix FULL FS..

    Posted 04/29/10 08:08 AM

    Originally posted by: tony.evans


    This is the part where you describe what you've already tried, so that we don't waste our time asking you to try things you've already done.

    So, please feel free to describe the problem, and what you've already tried. Be specific.
    #AIX-Forum


  • 6.  Re: Best Practice to fix FULL FS..

    Posted 04/29/10 10:21 AM

    Originally posted by: orphy


    What's suddenly taking up all the space? You have a core dump (find /var -name core -ls)? Some files have suddenly grown big unexpectedly (find /var -mtime -1 -ls)? What dir is taking up most of the space (du -sm /var/*|sort -n)? Or is it that /var is simply too small to begin with (df -g /var)?
    Orphy
    #AIX-Forum


  • 7.  Re: Best Practice to fix FULL FS..

    Posted 04/29/10 01:38 PM

    Originally posted by: ddmurray


    Have you tried doing a du -g | sort -n?

    This will give you a listing by number of what the largest files and subdirectories in the /var fs are.

    The largest will be at the bottom.

    Check /var/adm for a lot of pacct (process accounting) files. Or a large amount of "message" files.

    If you find a large amount of pacct files, depending on the frequency that they are kept and how far back you want to be able to look at them you can safely remove all but the one active file which will be named "pacct" with no numbers following it.

    Same holds true for the message files.

    Good luck
    #AIX-Forum


  • 8.  Re: Best Practice to fix FULL FS..

    Posted 04/29/10 03:53 PM

    Originally posted by: shargus


    Thought I might throw this out there...

    If you find a file (or files) that's filling up the filesystem - don't delete them.
    Instead, zero them out (cat /dev/null > file). That way, if a process still has it open, you won't be creating a bigger problem as it continues to fill up the filesystem.
    #AIX-Forum


  • 9.  Re: Best Practice to fix FULL FS..

    Posted 04/30/10 12:05 AM

    Originally posted by: zstarsales04


    Zstar Electronic Co.Ltd, Sell fire cards for DS/NDSL/NDSi, also have Wii, DSiLL, NDSi, NDSL, PSP2000, PSP3000, PS2, PS3, PSP go, PSP, Xbox360 accessories, all kinds of phones are available
    www.zstar.hk
    #AIX-Forum


  • 10.  Re: Best Practice to fix FULL FS..

    Posted 04/30/10 04:17 AM

    Originally posted by: SystemAdmin


    Thanks All it's resolved . that was core dump issue.
    #AIX-Forum