Operating System - HP-UX
1834643 Members
3578 Online
110069 Solutions
New Discussion

/ is 100% - nothing to remove

 
steven Burgess_2
Honored Contributor

/ is 100% - nothing to remove

Hi all

on my internet server / is currently 100% , however when attempting to search for large files etc nothing is found. Do I need to reboot to clear ?

Thanks in advance

Steve
take your time and think things through
6 REPLIES 6
Steven Sim Kok Leong
Honored Contributor

Re: / is 100% - nothing to remove

Hi,

Use lsof to identify the processes holding on to opened files that have already been removed. You can get it from the following depot site.

http://hpux.connect.org.uk

Once you terminate the process, the space will be freed. Otherwise, a reboot suffices.

Hope this helps. Regards.

Steven Sim Kok Leong
steven Burgess_2
Honored Contributor

Re: / is 100% - nothing to remove

Hi

Found it

-rw------- 1 root sys 65860608 Apr 23 02:52 /dev/rmt/1m


Steve
take your time and think things through
Michael Tully
Honored Contributor

Re: / is 100% - nothing to remove

Hi,

These are usually caused by misdirected backups that end up as an ordinary file. Suggest also that you implement a small script that identifies this type of problem on a regular basis if not already.

Cheers
~Michael~
Anyone for a Mutiny ?
Pete Randall
Outstanding Contributor

Re: / is 100% - nothing to remove

Another good thing to remember is to look "under" your mounted filesystems. For example, if you have a file system normally mounted as "blah" and this file system becomes unmounted, any output that would normally go into the filesystem would now end up in your root file system - a core dump that should have gone into blah now ends up filling up / and no reboot is going to fix it.

Pete
David Burgess
Esteemed Contributor

Re: / is 100% - nothing to remove

Check your backup scripts to make sure that the device file you are using is a real device and not just a file. I moved a tape drive between scsi buses once and forgot to change my scripts. I ended up writing to he old device file which just created a huge file in /dev where the device used to be.

ioscan -fnkCtape will get the device files. Change the backup script to use the correct device file.

Cheers,

Dave.
H.Merijn Brand (procura
Honored Contributor

Re: / is 100% - nothing to remove

Though you have already found what I was going to point you to, here's something to do on a regular basis:

# find /dev -size +10 -exec ls -ld {} \;
Enjoy, Have FUN! H.Merijn