Operating System - HP-UX
1748185 Members
3995 Online
108759 Solutions
New Discussion

Re: root file system at 99%

 
SOLVED
Go to solution
NDO
Super Advisor

Re: root file system at 99%

Hi

 

This is the complete bdf:

 

#bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3    1048576 1039808    8704   99% /
/dev/vg00/lvol1    1835008  478928 1345552   26% /stand
/dev/vg00/lvol8    34078720 24313432 9694008   71% /var
/dev/vg00/lvol7    5373952 2880024 2474456   54% /usr
/dev/vg00/lvol4    5242880 4217536 1017472   81% /tmp
/dev/vg05/lvol1    18874368 14569796 4035542   78% /ora/ICTPRD/undotbs
/dev/vg07/lvol1    18874368 5810065 12247789   32% /ora/ICTPRD/temp
/dev/vg06/lvol1    3145728 1573069 1474375   52% /ora/ICTPRD/system
/dev/vg15/lvol1    3145728 1000910 2010774   33% /ora/ICTPRD/redo4
/dev/vg14/lvol1    3145728 1000910 2010774   33% /ora/ICTPRD/redo3
/dev/vg13/lvol1    3145728 1000910 2010774   33% /ora/ICTPRD/redo2
/dev/vg12/lvol1    3145728 1000910 2010774   33% /ora/ICTPRD/redo1
/dev/vg09/lvol1    153092096 136319471 15724390   90% /ora/ICTPRD/index
/dev/vg16/lvol1    67108864 57406650 9095826   86% /ora/ICTPRD/fm
/dev/vg11/lvol1    214958080 172189194 40095881   81% /ora/ICTPRD/edr_index
/dev/vg10/lvol1    450887680 393543345 53760338   88% /ora/ICTPRD/edr_data
/dev/vg08/lvol1    319815680 272692657 44177872   86% /ora/ICTPRD/data
/dev/vg00/lvol6    25165824 14839600 10245568   59% /opt
/dev/vg00/lvol9    16777216 8138509 8098824   50% /opt/oracle
/dev/vg00/lvol5    5242880  190080 5013352    4% /home
/dev/vg03/lvol1    29360128 6900586 21056081   25% /data/ICTPRD/ict_archive
/dev/vg02/lvol1    56623104  534693 52582957    1% /data/ICTPRD/dwf
/dev/vg04/lvol1    6291456  366294 5554890    6% /data/ICTPRD/bulkload
/dev/vg17/lvol1    115343360 55718343 55900917   50% /data/ICTPRD/bmd1
itc01[633]/ #

 

/data is a separete file system as you can see from the bdf output

Torsten.
Acclaimed Contributor

Re: root file system at 99%

Anything else that you hide?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
NDO
Super Advisor

Re: root file system at 99%

Hi Torsten!

 

:) I am not hiding anything , but if you want more information I can provide it to you, I was just trying to abbreviate, sorry I was wrong.

 

The "/" file system used to be 69% at all time, so I come back from leave today and I found that someone has messed up with the system

Torsten.
Acclaimed Contributor
Solution

Re: root file system at 99%

OK, but it was confusing ...

 

 

You need to look for large files in lvol3, not in other lvols (e.g. using "du").

 

If there is a single large files, it is likely much smaller than 1GB, because your / is 1GB only.

 

So a file in question is about 300MB ?


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor

Re: root file system at 99%

>I meant that I could not see anything that was big enough, because normally that is under 50% figure.

 

And I answered that question.  You may have removed an open file so it is now invisible.  You need to download and run lsof to find it.

 

And what does this show: du -kxs /

 

>Try to find files with big sizes:  find / -size +1000000000c -exec ls -l {} +

>The files are in /var, /tmp and other file systems, not in the root:

 

You need to add -xdev so it only looks at /.

 

>but you obviously have /opt directly in /.

 

Yes, I also mistakenly trusted in the bdf output.  ;-)

Bill Hassell
Honored Contributor

Re: root file system at 99%

Rather than looking for big files in "/" you should be looking for big directories. A directory can be large because it has one giant sized file, or it could be big because it has 50,000 junk files in it, none of which are very big. USe du to provide a useful listing:

 

du -kx / | sort -rn | head -20

 

The two largest directories are /sbin and /etc. Anything else at the top of the list is a mistake. A common mistake is /dev -- it will always be less than 100k or so. If it is megabytes, you have a bad file in it. There are *NO* ordinary files in /dev:

 

find /dev -type f -exec ls -l {}  \*

 

The above should produce nothing. Remove (or move if it is a useful file) the ordinary files in /dev.



Bill Hassell, sysadmin
NDO
Super Advisor

Re: root file system at 99%

Hi

I found the problem, indeed there were some 300Mb in excess in a directory under /data/ICTPRD. Thank you very much
Torsten.
Acclaimed Contributor

Re: root file system at 99%

So it was outside of these mount points?

 

dev/vg03/lvol1 29360128 6900586 21056081 25% /data/ICTPRD/ict_archive
/dev/vg02/lvol1 56623104 534693 52582957 1% /data/ICTPRD/dwf
/dev/vg04/lvol1 6291456 366294 5554890 6% /data/ICTPRD/bulkload
/dev/vg17/lvol1 115343360 55718343 55900917 50% /data/ICTPRD/bmd1

 

Ok, then it was in /.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor

Re: root file system at 99%

>So it was outside of these mount points?  Ok, then it was in /.

 

So that this was valid and not a good idea:

#du -kxs /data
851336  /data

NDO
Super Advisor

Re: root file system at 99%

Hi!

It was a directory inside /data/ICTPRD, it was only 300Mb

 

I was on leave, them when I came back, I found this issue, but its now solved, thank you for your assistance