Re: AIX 3 Hard Disk Full

From: Chris R (Chris_member_at_newsguy.com)
Date: 09/28/04


Date: 28 Sep 2004 13:35:06 -0700

In article <21a22194.0409280600.15cc95aa@posting.google.com>, Lucas says...
>
>Hi there,
>
>we're using an old RS/6000 POWER for accessing old files. In the last
>days it has been reorganizing the system every 25 minutes
>automatically, you can't use is continuously. Then there was a message
>that the hard disk is full.
>
>I checked the HD space:
># df
>Filesystem Total KB free %used iused %iused Mounted on
>/dev/hd4 8192 5204 36% 696 33% /
>/dev/hd9var 28672 0 100% 143 1% /var
>/dev/hd2 241664 35996 85% 11560 18% /usr
>/dev/hd3 16384 13872 15% 159 3% /tmp
>/dev/hd1 1503232 465964 69% 28366 7% /home
>
>This happened already once, and we only needed to use one single
>command and the system cleared unnecessary files at /var. Which
>command is it? I didn't find any hint in the manual.

You could find the largest files using find, sorting by size:

cd /var
find . -type f -exec ls -l {} \; |\
while read perms num1 owner group bytes month day time file; do
  print "${bytes} ${file}"
done | sort -n | tail -50

The above ksh will give you the top 50 largest files. Make sure you are running
as a user that has permissions to view all directories - like root...

 - Chris



Relevant Pages

  • AIX 3 Hard Disk Full
    ... we're using an old RS/6000 POWER for accessing old files. ... days it has been reorganizing the system every 25 minutes ... command and the system cleared unnecessary files at /var. ... Metallwarenfabrik PETRITSCH GmbH ...
    (comp.unix.aix)
  • Re: AIX 3 Hard Disk Full
    ... > we're using an old RS/6000 POWER for accessing old files. ... > days it has been reorganizing the system every 25 minutes ... > command and the system cleared unnecessary files at /var. ... > Metallwarenfabrik PETRITSCH GmbH ...
    (comp.unix.aix)
  • Re: AIX 3 Hard Disk Full
    ... > we're using an old RS/6000 POWER for accessing old files. ... > days it has been reorganizing the system every 25 minutes ... > command and the system cleared unnecessary files at /var. ... One place to check is the mail spool files (in /var/spool/mail, ...
    (comp.unix.aix)
  • Re: AIX 3 Hard Disk Full
    ... > we're using an old RS/6000 POWER for accessing old files. ... > days it has been reorganizing the system every 25 minutes ... > command and the system cleared unnecessary files at /var. ... increase the size of the /var filesystem. ...
    (comp.unix.aix)
  • Re: printuientry
    ... If the printer was created with a "Local Port", it will show up in the ... open a command prompt and issue the commands: ... > When im logged on as network administrator, ...
    (microsoft.public.win2000.printing)

Quantcast