1832345 Members
2355 Online
110041 Solutions
New Discussion

root full

 
vytas
Advisor

root full

Hi, I have a problem my server / is full 100% with du command I sea what not a file or folder isnt so big to utilze /. Witch fuser I cant sea any open file by some process.
After restart / become 50%, I fink that some procesess utilize my /, but how. And how to prevent it.
Vytas Gadliauskas
8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: root full

How about a backup process writing to /dev/rmt/om (that's the letter o rather than the number 0)? How about a core dump in progress?

Pete

Pete
Ken Hubnik_2
Honored Contributor

Re: root full

Check your /dev directory. Sometimes a backup could be running with /dev/rmt/om. Instead of being zero 0m a letter o is keyed causeing the backup to write in /dev/rmt.
Kellogg Unix Team
Trusted Contributor

Re: root full

Is your /tmp part of / or is it mounted separately? Look for open files for / when it becomes full (or about to become full). The utility is 'lsof'.

Its a good starting point.
...Manjeet
work is fun ! (my manager is standing behind me!!)
Kellogg Unix Team
Trusted Contributor

Re: root full

hmmm ... if a backup is accidentally written to /dev/ directory how rebooting is bringing it back to 50%?

Maybe a process is not releasing the disk space or /tmp is getting full and if you have clear_tmp=1 in /etc/rc.config.d/clean_tmps, once it reboots, /tmp is cleared!

...Manjeet
work is fun ! (my manager is standing behind me!!)
vytas
Advisor

Re: root full

backup process isnt runing.

"How about a core dump in progress?"

How to check dump in progres?
When dump is wroten to disk it has name core, but how to check dump in progress ?.
Vytas Gadliauskas
vytas
Advisor

Re: root full

/ and /tmp is in separete lvol
Vytas Gadliauskas
Kellogg Unix Team
Trusted Contributor

Re: root full

Do you mount some filesystems 'after' the server is up? If the mount point is not empty, you will never see that in your analysis. May be a far-fetched thought !

I would still go for lsof utility. Look at -

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.64/

...Manjeet
work is fun ! (my manager is standing behind me!!)
Domenico_5
Respected Contributor

Re: root full

hi

Sometimes same daemons in hang write the information on /.

you can download lsof for check which file is open and which daemon is writing.


regards