AIX

AIX

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

 View Only
Expand all | Collapse all

hint to safe housekeep /usr

  • 1.  hint to safe housekeep /usr

    Posted Mon December 15, 2008 08:43 PM

    Originally posted by: apple08


    dear AIX gurus,
    our /usr is 90%. the current size is 5GB. we are avoiding to increase the filesystem.
    find /usr -xdev -size +2048, but the output are all pointing to db2 and websphere files.
    wld appreciate yr advice. thank you


  • 2.  Re: hint to safe housekeep /usr

    Posted Tue December 16, 2008 07:37 AM

    Originally posted by: apple08


    1. cd /usr
    our /usr is consisting this.
    1. ls
    .FSbackup artic960 include man sbin sysv
    HTTPServer bin java14 mozilla share tmp
    IBM ccs lbin netscape sni ucb
    IBMIHS dict lib openssh spool usg
    TT_DB doc linux opt src websm
    WAS_FIXES dt local perfagent ssa
    X11R6 emgrdata lost+found pmapi suma
    adm es lpd pub swlag
    aix etc lpp samples sys


  • 3.  Re: hint to safe housekeep /usr

    Posted Tue December 16, 2008 08:15 AM

    Originally posted by: tony.evans


    This is pretty basic sysadmin, not specific to AIX.

    What's using the filesystem, should it be there, should it be in it's own filesystem, why is it growing, what applications are using it.

    Normally, you should avoid any application use of rootvg, and especially /usr, you would normally create new filesystems and ensure the applications used their own filesystems to avoid the problem you're having.

    Normally /usr at 90% on it's own isn't an issue because there shouldn't be any major growth over time of that filesystem. If it is growing over time you need to work out why. Try using find to locate files which have changed in the last week for example.

    You also need to clearly understand your filesystem layout and the difference between filesystems and directories. Finally, try using du (man du) to work out where most of your space is being used.