Re: Root Partition 100% (292 Views)
Reply
Frequent Advisor
Posts: 83
Registered: ‎05-11-2007
Message 1 of 9 (292 Views)
Accepted Solution

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......
Acclaimed Contributor
Posts: 17,825
Registered: ‎07-16-1998
Message 2 of 9 (292 Views)

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.
Honored Contributor
Posts: 737
Registered: ‎09-18-2005
Message 3 of 9 (292 Views)

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
Highlighted
Super Advisor
Posts: 371
Registered: ‎04-02-2000
Message 4 of 9 (292 Views)

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
Trusted Contributor
Posts: 506
Registered: ‎03-16-2006
Message 5 of 9 (292 Views)

Re: Root Partition 100%

pls post dbf|grep vg00 here
Honored Contributor
Posts: 1,501
Registered: ‎11-22-1999
Message 6 of 9 (292 Views)

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
Frequent Advisor
Posts: 33
Registered: ‎07-24-2007
Message 7 of 9 (292 Views)

Re: Root Partition 100%

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

Regards
Prasanth
prasanth.v.a
Advisor
Posts: 13
Registered: ‎07-17-2001
Message 8 of 9 (292 Views)

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.
Trusted Contributor
Posts: 288
Registered: ‎01-14-2003
Message 9 of 9 (292 Views)

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.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.