1748128 Members
4267 Online
108758 Solutions
New Discussion юеВ

Re: Root Partition 100%

 
SOLVED
Go to solution
ln_unix
Frequent Advisor

Root Partition 100%

Hi Freinds,

Will anybody pls tell me that which log files can I remove when root partition is gone upto 100% ?

waiting for ur replies n thanx in advance..........
Regards,

Lokesh Nagpal......
8 REPLIES 8
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Root Partition 100%

There shouldn't be any log files to speak of in /. They should be in /var. The first thing I would look for are core files.

find / -xdev -type f - name 'core*'

Next, look in the /dev tree for any regular files. It is common for someone to accidently write to "tape" file such as /dev/rmt/Om (letter O) when they meant /dev/rmt/0m (zero).
If it ain't broke, I can fix that.
AwadheshPandey
Honored Contributor

Re: Root Partition 100%

check this:
http://www.unix.com/hp-ux/26934-what-to-do-when-file-system-of-hp-ux-box-is-full.html

Cheers,

Awadhesh
It's kind of fun to do the impossible
Vincent_5
Super Advisor

Re: Root Partition 100%

Hi,
Maybe you can try and run this command below, it list out all the files on vg00. Go through the files and you will be able to tell which one you can remove.

du -xka | sort -ur

Regards
Vincent
nothing is better than to know more
John Guster
Trusted Contributor

Re: Root Partition 100%

pls post dbf|grep vg00 here
whiteknight
Honored Contributor

Re: Root Partition 100%

hi,

please also refer to this technical knowledge id

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00904662-7

hope this help
Problem never ends, you must know how to fix it
Prasanth Vattoly
Frequent Advisor

Re: Root Partition 100%

try to find uot the biggest file in / with this script ...

Regards
Prasanth
prasanth.v.a
Haniza
Advisor

Re: Root Partition 100%

Hi
You may want to first search for big file(say 10Mb) resides in root directory via:
# find / -xdev -size +20000

If any, do "ll" to check what it is.
Juan M Leon
Trusted Contributor

Re: Root Partition 100%

I will suggest to run fuser before removing, if some process is still writing or has the file open when you remove the file. The size of that file will remain used until the process close the file.