Operating System - HP-UX
1846564 Members
2148 Online
110256 Solutions
New Discussion

problem about root file system full

 
SOLVED
Go to solution
lin.chen
Frequent Advisor

problem about root file system full

Hi all,
I got a problem about "root file system full"
bdf and df -k show that / is 99%

I have use following command to check,
find / -xdev -type f -exec ll {} \; >/tmp/rootfile
all the file caculate totally is 113M (60%)

du -sk *|sort -n
did not show there is some big file.
totally is 113M

I suspect the unlinked file issue,
crashinfo -unlinked <<<
I also suspect there are some files has been save in some mount point wrongly.
ncheck -F vxfs /dev/vg00/lvol3 |grep /home
did not show such files.

How can I do?I really use 60% of the root.
where is the free space?
Thanks a lot,Louis
6 REPLIES 6
Murat SULUHAN
Honored Contributor

Re: problem about root file system full

Hi

bdf output ?

Best Regards
Murat Suluhan
lin.chen
Frequent Advisor

Re: problem about root file system full

pls kindly refer to the result of
bdf
du -sk *|sort -n
uli
MarkSyder
Honored Contributor
Solution

Re: problem about root file system full

Check for files (type f) in /dev. What typically happens is that someone mistypes a tape device name and creates a large text file in /dev.

Check for core files.

Check for directories that should be in a separate dedicated filesystem.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Murat SULUHAN
Honored Contributor

Re: problem about root file system full

Hi

Can you umount /er

Best Regards
Murat
Murat Suluhan
Ivan Krastev
Honored Contributor

Re: problem about root file system full

Check /.secure/...

if you have auditing started.

Stop it, edit /etc/rc.config.d/auditing to change the location of the files and after that start it again.

regards,
ivan
Tim Nelson
Honored Contributor

Re: problem about root file system full


I intially use find and only progress though the root filesystem ( i.e. do not cross mount points ).

For starters: find all "file" types and look through list for core, or items in /dev/

find / -xdev -type f

Next look for files over 10MB, there should only be on or two.

find / -xdev -type f -size +10000000c


BTW, Please assign some points for everyone's excellent ideas.
You have only assigned assigned points to 79 of 268 responses to your questions.

It is not tough to do and only take seconds.