Operating System - HP-UX
1753524 Members
5128 Online
108795 Solutions
New Discussion юеВ

Urgent: "/" root file system is 100 % used

 
SOLVED
Go to solution
Victor BERRIDGE
Honored Contributor

Re: Urgent: "/" root file system is 100 % used

Hi
To help you we would need a bit more information on the type of box (WS or Server), the output of bdf also
On a server for sure /tmp is a filesystem so this would not help, what is the size of /dev ?
du -sk /dev

All the best
Victor
Darrel Louis
Honored Contributor

Re: Urgent: "/" root file system is 100 % used

Praveen,

Run the script just posted to you and send the output.

Darrel
praveen..
Super Advisor

Re: Urgent: "/" root file system is 100 % used

# du -kx / | sort rn | head -10
sort: Cannot open rn
rariasn
Honored Contributor

Re: Urgent: "/" root file system is 100 % used

Hi praveend,

verify /root directory

ran
rariasn
Honored Contributor

Re: Urgent: "/" root file system is 100 % used

Hi praveend,

verify /root directory

cd /root

ran
Robert-Jan Goossens_1
Honored Contributor

Re: Urgent: "/" root file system is 100 % used

-rn :-)

# du -kx / | sort -rn | head -20
Darrel Louis
Honored Contributor

Re: Urgent: "/" root file system is 100 % used

Praveen,

It should be sort -rn

Darrel
Arunvijai_4
Honored Contributor

Re: Urgent: "/" root file system is 100 % used

Check this command as well,

# ls -lR | sort +4 -5nr | more

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
praveen..
Super Advisor

Re: Urgent: "/" root file system is 100 % used

root@server:[/var/adm/syslog]
# ll
total 46608
-rw-r--r-- 1 root root 64347 Jan 22 17:37 OLDsyslog.log
-r--r--r-- 1 root root 10572682 Jun 9 01:03 mail.log
-rw-r--r-- 1 root root 312628 Oct 18 2005 syslog.bkp
-rw-r--r-- 1 root root 9330421 Jun 9 04:03 syslog.log
-rw-r--r-- 1 root root 921890 Oct 19 2005 syslog.log.bkp
-rw-r--r-- 1 root root 358256 Oct 20 2005 syslog.log.bkp2
-rw-r--r-- 1 root root 1972281 Sep 2 2005 syslog.log.bkup


should i delete all file except mail.log & syslog.log.


#cd /root
# ll
total 176
-rw------- 1 root sys 912 Nov 17 2005 .ICEauthority
-rw------- 1 root sys 74 Nov 17 2005 .TTauthority
dr-xr-xr-x 6 root sys 96 Aug 18 2005 .VRTSob
-rw------- 1 root sys 99 Mar 28 10:52 .Xauthority
drwxr-xr-x 11 root sys 8192 Nov 17 2005 .dt
-rwxr-xr-x 1 root sys 5451 Nov 15 2005 .dtprofile
dr-xr-xr-x 3 root sys 96 Aug 18 2005 .java
-rwx------ 1 root sys 77 Jul 19 2005 .netrc
-r--r--r-- 1 root sys 1237 Jul 19 2005 .profile
drwx------ 2 root sys 96 Jun 1 2005 .ssh
drwxr-xr-x 6 root sys 8192 Jun 29 2005 .sw
drwxr-xr-x 2 root sys 96 Jan 4 16:41 0x410000
drwxr-xr-x 2 root sys 96 Jan 4 16:41 64
-rw-r--r-- 1 root sys 158 Aug 18 2005 CTSTATUS.FCS
drwxr-xr-x 2 root sys 96 Jan 4 16:41 c
-rw------- 1 root sys 0 Jun 9 03:19 dead.letter
-rw-r--r-- 1 root sys 0 Sep 28 2005 dipper.cpm
-rw-r--r-- 1 root sys 389 Sep 27 2005 dipper.out
lrwxr-xr-x 1 root sys 8 Oct 19 2005 ecc -> /usr/ecc
-rw-r--r-- 1 root sys 0 Aug 4 2005 it
-rw-r--r-- 1 root sys 0 Mar 23 08:42 mapfile
drwxr-xr-x 3 root sys 96 Sep 30 2005 rich
-rw-r--r-- 1 root sys 746 Nov 17 2005 sel

praveen..
Super Advisor

Re: Urgent: "/" root file system is 100 % used

# du -kx / | sort -rn | head -20
505840 /
346168 /LA/db
346168 /LA
346112 /LA/db/ORLAODSD
122152 /sbin
36048 /etc
28224 /etc/opt
22688 /sbin/fs
17144 /etc/opt/resmon
16248 /sbin/fs/vxfs
11568 /etc/opt/resmon/lbin
8624 /sbin/emc
4664 /sbin/fs/hfs
4560 /etc/opt/wbem
4544 /etc/opt/wbem/mof
3928 /etc/opt/samba
3760 /etc/opt/samba/codepages
3336 /etc/opt/resmon/lib
1800 /etc/opt/resmon/log
1592 /etc/opt/cifsclient