Operating System - HP-UX
1748126 Members
3295 Online
108758 Solutions
New Discussion юеВ

Re: root file system is full

 
SOLVED
Go to solution
subrata biswal
Frequent Advisor

root file system is full

hii
I ve problem in root file system.it already fulled by 99%.what is the unnecessary file that i can delete.

sam - routinetask -systemlog file.is there
which log file i can delete.

Any possible is there to extend the root file system.
9 REPLIES 9
Shibin_2
Honored Contributor
Solution

Re: root file system is full

Check for the existence for core file and delete.

find / -xdev -name core -exec rm {} \;


Regards
Shibin
Hakki Aydin Ucar
Honored Contributor

Re: root file system is full

Hi, since this is popular issue in unix systems there is a lot of solution OR way to solve this;

the best thing to start is to find if there is a big unnecessary file(s):
# du -sk /* | sort -n

and besides, Chek this out:
http://h30499.www3.hp.com/t5/System-Administration/Root-FS-getting-full/m-p/4602922#M376021


http://h30499.www3.hp.com/t5/System-Administration/Nobody-can-t-logging-to-this-server-due-to-space-problem/m-p/4556380#M371186

Joachim Noffke
Occasional Advisor

Re: root file system is full

If you have many volume groups, the directory /etc/lvmconf/ can become quite large. To free up some space, you can delete the files which end with ".conf.old".

This is however just a temporary workaround, as the files will be recreated as soon as vgcfgbackup is run.
Tim Nelson
Honored Contributor

Re: root file system is full

another place to look is in /dev
an occasional typo when attempting to use a tape drive or something will create a file there.

there should be no type "files" in /dev/

find /dev -type f

Hakki Aydin Ucar
Honored Contributor

Re: root file system is full

>Tim:
there should be no type "files" in /dev/

find /dev -type f

when I check my customer servers on this ,if they have a file under /dev ;

# find /dev -type f
/dev/gold:13676
/dev/gold:6608
/dev/gold:28011
/dev/gold:19954
/dev/gold:2811
/dev/gold:24681
/dev/stdout
/dev/gold:26399
/dev/gold:22079
/dev/gold:11302
# file /dev/gold:11302
/dev/gold:11302: English text
# ll /dev/gold:11302
-rw-rw-rw- 1 root tty 106 Oct 12 12:33 /dev/gold:11302

this gold process might be unusual due to nature of GUI based access software we use, but I am not sure why gold process uses /dev ?? I do not know.
Dennis Handly
Acclaimed Contributor

Re: root file system is full

>Hakki: when I check my customer servers on this, they have files under /dev

Anything special about the contents, size and dates of those gold:* files? Also that stdout seems bogus.

(I just removed an old getty core file from mine.)

Hakki Aydin Ucar
Honored Contributor

Re: root file system is full

>Dennis:
I think the software we use (goglobal) to access servers via graphic facility uses /dev to pick broadcast messages record:

# ll /dev/gold:13859
-rw-rw-rw- 1 root tty 105 Nov 24 17:54 /dev/gold:13859
# file /dev/gold:13859
/dev/gold:13859: English text
# cat /dev/gold:13859


*** FINAL System shutdown message from root@igui01 ***

System going down IMMEDIATELY
W ! ! !
shikhar_1
Regular Advisor

Re: root file system is full

Hi,

Try to see the file size of wtmp & utmo, might be possible they are occupying larger space, u can trim them.
see the old files in /etc/lvmconf and trim or remove those are old files.
Manix
Honored Contributor

Re: root file system is full

run
find / -size +10000c -xdev -exec ll {} \; |sort -rn -k 5 | more

to list the size of large files and take appropriate actions !!
HP-UX been always lovable - Mani Kalra