Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disk Space Problems in Root

Status
Not open for further replies.

misjay01

Technical User
Jun 17, 2003
50
GB

Hello,

Have been trying to run a Netbackup restore from windows and the most files got restored in root partition which used up all disk space in root. Currently root is 5Gig.

I have removed these files but I'm sure I had more space than before as it was only 2% utilised , currently its 65% used and I'm not sure what has caused this and how to restore the space back.

I think its the /proc directory thats using up disk space but not sure ...

sunfire_v120# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d0 5266890 3388069 1826153 65% /
/dev/md/dsk/d1 5040814 1149505 3840901 24% /usr
/proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
fd 0 0 0 0% /dev/fd
/dev/md/dsk/d2 9073334 2836007 6146594 32% /var
swap 3966080 40 3966040 1% /var/run
swap 3966096 56 3966040 1% /tmp
/dev/md/dsk/d3 9073334 166662 8815939 2% /opt
/dev/md/dsk/d4 4032504 12 3992167 1% /export
sunfire_v120# ls -l | pg
total 1025
drwxr-xr-x 3 bin bin 512 Jun 25 10:39 C
-rw-rw-rw- 1 root other 181 Jun 18 15:20 OVTraceCfg.dat
lrwxrwxrwx 1 root root 9 Jun 18 13:13 bin -> ./usr/bin
-rw-r--r-- 1 root other 803 Jun 26 08:46 bplog.rest.001
drwxr-xr-x 3 root root 512 Jun 20 15:17 cdrom
drwxr-xr-x 14 root sys 3584 Jun 18 15:04 dev
drwxr-xr-x 4 root sys 512 Jun 18 13:29 devices
drwxr-xr-x 53 root sys 3584 Jun 20 15:17 etc
drwxr-xr-x 4 root sys 512 Jun 18 16:27 export
-rw-r--r-- 1 root other 480 Jun 19 10:31 format.dat
dr-xr-xr-x 1 root root 1 Jun 20 15:17 home
drwxr-xr-x 10 root sys 512 Jun 18 13:13 kernel
lrwxrwxrwx 1 root root 9 Jun 18 13:13 lib -> ./usr/lib
drwx------ 2 root root 8192 Jun 18 13:10 lost+found
drwxr-xr-x 2 root root 512 Jun 18 13:13 mirror
drwxr-xr-x 2 root sys 512 Jun 18 13:13 mnt
dr-xr-xr-x 1 root root 1 Jun 20 15:17 net
drwxr-xr-x 3 root sys 512 Jun 25 17:45 opt
drwxr-xr-x 23 root sys 1024 Jun 18 13:23 platform
dr-xr-xr-x 61 root root 480032 Jun 26 12:36 proc
drwxr-xr-x 4 root sys 1024 Jun 18 15:08 sbin
drwxr-xr-x 2 root root 512 Jun 18 13:13 swap
drwxrwxrwt 7 root sys 451 Jun 26 12:22 tmp
drwxr-xr-x 37 root sys 1024 Jun 18 15:23 usr
drwxr-xr-x 34 root sys 512 Jun 18 14:48 var
dr-xr-xr-x 6 root root 512 Jun 20 15:17 vol
dr-xr-xr-x 1 root root 1 Jun 26 12:35 xfn
 
try to do du -dk on root partition...this will look up all the space utilized by all the local directory and not the nfs directories...this will obviously be in kb..and from there you could track your culprit...let me know if this works...
 
managed to find problem Netbackup restored files under /C directory , deleted these and back to normal...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top