fosiul01
asked on
/root direcotory is full
HI today i realized my produciton server's root direcotry is full
but if i do du-sh it only show 67M, but from df -h you an see it takes 1012 M!! what makes my /root full ??
[root@xxx~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p9 1012M 1012M 0 100% /
/dev/cciss/c0d0p1 122M 39M 77M 34% /boot
then cd /root
[root@xxx~]# du -sh
67M
then :
[root@xxx~]# du -h /root
132K /root/.nautilus/metafiles
140K /root/.nautilus
30M /root/.Trash
4.0K /root/.kde/share/services
4.0K /root/.kde/share/mimelnk
4.0K /root/.kde/share/apps/kmai l/search
4.0K /root/.kde/share/apps/kmai l/imap
4.0K /root/.kde/share/apps/kmai l/dimap
20K /root/.kde/share/apps/kmai l
4.0K /root/.kde/share/apps/kcoo kiejar
32K /root/.kde/share/apps/kcon f_update
16K /root/.kde/share/apps/konq ueror
4.0K /root/.kde/share/apps/kfm/ bookmarks
8.0K /root/.kde/share/apps/kfm
4.0K /root/.kde/share/apps/khtm l
88K /root/.kde/share/apps
4.0K /root/.kde/share/servicety pes
4.0K /root/.kde/share/config/se ssion
252K /root/.kde/share/config
4.0K /root/.kde/share/applnk
4.0K /root/.kde/share/locale
364K /root/.kde/share
368K /root/.kde
592K /root/.mcop/trader-cache
600K /root/.mcop
316K /root/.metacity/sessions
324K /root/.metacity
16K /root/.elinks
36K /root/bin
8.0K /root/.gconf/apps/procman/ proctree
8.0K /root/.gconf/apps/procman/ disktreene w
24K /root/.gconf/apps/procman
8.0K /root/.gconf/apps/file-rol ler/dialog s/extract
12K /root/.gconf/apps/file-rol ler/dialog s
8.0K /root/.gconf/apps/file-rol ler/genera l
8.0K /root/.gconf/apps/file-rol ler/listin g
32K /root/.gconf/apps/file-rol ler
12K /root/.gconf/apps/nautilus
8.0K /root/.gconf/apps/ggv/layo ut
12K /root/.gconf/apps/ggv
8.0K /root/.gconf/apps/gedit-2/ preference s/ui/open_ save
12K /root/.gconf/apps/gedit-2/ preference s/ui
16K /root/.gconf/apps/gedit-2/ preference s
20K /root/.gconf/apps/gedit-2
16K /root/.gconf/apps/panel/ob jects/word processor_ launcher
16K /root/.gconf/apps/panel/ob jects/pres entation_l auncher
16K /root/.gconf/apps/panel/ob jects/spre adsheet_la uncher
16K /root/.gconf/apps/panel/ob jects/emai l_launcher
16K /root/.gconf/apps/panel/ob jects/web_ launcher
92K /root/.gconf/apps/panel/ob jects
12K /root/.gconf/apps/panel/to plevels/bo ttom_panel
24K /root/.gconf/apps/panel/to plevels
16K /root/.gconf/apps/panel/ge neral
12K /root/.gconf/apps/panel/ap plets/cloc k/prefs
24K /root/.gconf/apps/panel/ap plets/cloc k
12K /root/.gconf/apps/panel/ap plets/wind ow_list/pr efs
24K /root/.gconf/apps/panel/ap plets/wind ow_list
12K /root/.gconf/apps/panel/ap plets/mixe r/prefs
24K /root/.gconf/apps/panel/ap plets/mixe r
12K /root/.gconf/apps/panel/ap plets/work space_swit cher/prefs
24K /root/.gconf/apps/panel/ap plets/work space_swit cher
108K /root/.gconf/apps/panel/ap plets
252K /root/.gconf/apps/panel
8.0K /root/.gconf/apps/gnome-se ttings/ged it
16K /root/.gconf/apps/gnome-se ttings/gno me-nettool
12K /root/.gconf/apps/gnome-se ttings/gno me-search- tool
48K /root/.gconf/apps/gnome-se ttings
12K /root/.gconf/apps/gnome-se arch-tool/ select
24K /root/.gconf/apps/gnome-se arch-tool
436K /root/.gconf/apps
12K /root/.gconf/desktop/gnome /applicati ons/window _manager
24K /root/.gconf/desktop/gnome /applicati ons
16K /root/.gconf/desktop/gnome /file_view s
8.0K /root/.gconf/desktop/gnome /accessibi lity/keybo ard
12K /root/.gconf/desktop/gnome /accessibi lity
16K /root/.gconf/desktop/gnome /backgroun d
12K /root/.gconf/desktop/gnome /periphera ls/keyboar d/xkb.sysb ackup
16K /root/.gconf/desktop/gnome /periphera ls/keyboar d/xkb
40K /root/.gconf/desktop/gnome /periphera ls/keyboar d
52K /root/.gconf/desktop/gnome /periphera ls
132K /root/.gconf/desktop/gnome
144K /root/.gconf/desktop
588K /root/.gconf
8.0K /root/Desktop
8.0K /root/.xcdroast
4.0K /root/.qt
4.0K /root/.rhopenoffice1.1/use r/template
20K /root/.rhopenoffice1.1/use r/gallery
16K /root/.rhopenoffice1.1/use r/basic/St andard
28K /root/.rhopenoffice1.1/use r/basic
8.0K /root/.rhopenoffice1.1/use r/autotext
4.0K /root/.rhopenoffice1.1/use r/store
4.0K /root/.rhopenoffice1.1/use r/wordbook
4.0K /root/.rhopenoffice1.1/use r/temp
492K /root/.rhopenoffice1.1/use r/registry /cache
24K /root/.rhopenoffice1.1/use r/registry /data/org/ openoffice /Office
36K /root/.rhopenoffice1.1/use r/registry /data/org/ openoffice
40K /root/.rhopenoffice1.1/use r/registry /data/org
44K /root/.rhopenoffice1.1/use r/registry /data
540K /root/.rhopenoffice1.1/use r/registry
4.0K /root/.rhopenoffice1.1/use r/psprint/ driver
4.0K /root/.rhopenoffice1.1/use r/psprint/ fontmetric
40K /root/.rhopenoffice1.1/use r/psprint
4.0K /root/.rhopenoffice1.1/use r/plugin
596K /root/.rhopenoffice1.1/use r/config
4.0K /root/.rhopenoffice1.1/use r/uno_pack ages
4.0K /root/.rhopenoffice1.1/use r/backup
4.0K /root/.rhopenoffice1.1/use r/autocorr
68K /root/.rhopenoffice1.1/use r/database /biblio
72K /root/.rhopenoffice1.1/use r/database
1.4M /root/.rhopenoffice1.1/use r
4.0K /root/.rhopenoffice1.1/sha re/dict/oo o
8.0K /root/.rhopenoffice1.1/sha re/dict
4.0K /root/.rhopenoffice1.1/sha re/uno_pac kages
4.0K /root/.rhopenoffice1.1/sha re/autocor r
4.0K /root/.rhopenoffice1.1/sha re/samples /english
8.0K /root/.rhopenoffice1.1/sha re/samples
28K /root/.rhopenoffice1.1/sha re
4.0K /root/.rhopenoffice1.1/pro gram/addin
8.0K /root/.rhopenoffice1.1/pro gram
2.1M /root/.rhopenoffice1.1
8.0K /root/.gnome2_private
12K /root/.gstreamer-0.8
24K /root/.mozilla/firefox/gx2 3i8pm.defa ult/chrome
4.0K /root/.mozilla/firefox/gx2 3i8pm.defa ult/Cache. Trash
24K /root/.mozilla/firefox/gx2 3i8pm.defa ult/extens ions
16K /root/.mozilla/firefox/gx2 3i8pm.defa ult/US
8.0K /root/.mozilla/firefox/gx2 3i8pm.defa ult/bookma rkbackups
29M /root/.mozilla/firefox/gx2 3i8pm.defa ult/Cache
30M /root/.mozilla/firefox/gx2 3i8pm.defa ult
31M /root/.mozilla/firefox
31M /root/.mozilla
48K /root/.config/menus
56K /root/.config
12K /root/.vmware
8.0K /root/.eggcups
20K /root/.vnc
32K /root/.ssh
4.0K /root/vmware
4.0K /root/Mail/inbox/cur
4.0K /root/Mail/inbox/new
4.0K /root/Mail/inbox/tmp
16K /root/Mail/inbox
4.0K /root/Mail/sent-mail/cur
4.0K /root/Mail/sent-mail/new
4.0K /root/Mail/sent-mail/tmp
16K /root/Mail/sent-mail
4.0K /root/Mail/outbox/cur
4.0K /root/Mail/outbox/new
4.0K /root/Mail/outbox/tmp
16K /root/Mail/outbox
4.0K /root/Mail/trash/cur
4.0K /root/Mail/trash/new
4.0K /root/Mail/trash/tmp
16K /root/Mail/trash
4.0K /root/Mail/drafts/cur
4.0K /root/Mail/drafts/new
4.0K /root/Mail/drafts/tmp
16K /root/Mail/drafts
124K /root/Mail
16K /root/.gnome2/share/fonts
16K /root/.gnome2/share/cursor -fonts
40K /root/.gnome2/share
8.0K /root/.gnome2/keyrings
4.0K /root/.gnome2/file-roller
32K /root/.gnome2/accels
8.0K /root/.gnome2/nautilus-scr ipts
52K /root/.gnome2/panel2.d/def ault/launc hers
60K /root/.gnome2/panel2.d/def ault
68K /root/.gnome2/panel2.d
208K /root/.gnome2
8.0K /root/.gconfd
1.3M /root/.thumbnails/fail/gno me-thumbna il-factory
1.3M /root/.thumbnails/fail
176K /root/.thumbnails/normal
1.5M /root/.thumbnails
8.0K /root/tmp
16K /root/.borland
8.0K /root/.gnome/mime-info
4.0K /root/.gnome/application-i nfo
16K /root/.gnome/gnome-vfs
36K /root/.gnome
67M /root
[root@beaver ~]# du -sh *
36K bin
0 date_marker
4.0K dead.letter
8.0K Desktop
124K Mail
4.0K mbox
8.0K openvpn-status.log
8.0K tmp
4.0K vmware
Extra note : if root gets to many emails will it fill /root partition ??
please help me to solve this problem
but if i do du-sh it only show 67M, but from df -h you an see it takes 1012 M!! what makes my /root full ??
[root@xxx~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p9 1012M 1012M 0 100% /
/dev/cciss/c0d0p1 122M 39M 77M 34% /boot
then cd /root
[root@xxx~]# du -sh
67M
then :
[root@xxx~]# du -h /root
132K /root/.nautilus/metafiles
140K /root/.nautilus
30M /root/.Trash
4.0K /root/.kde/share/services
4.0K /root/.kde/share/mimelnk
4.0K /root/.kde/share/apps/kmai
4.0K /root/.kde/share/apps/kmai
4.0K /root/.kde/share/apps/kmai
20K /root/.kde/share/apps/kmai
4.0K /root/.kde/share/apps/kcoo
32K /root/.kde/share/apps/kcon
16K /root/.kde/share/apps/konq
4.0K /root/.kde/share/apps/kfm/
8.0K /root/.kde/share/apps/kfm
4.0K /root/.kde/share/apps/khtm
88K /root/.kde/share/apps
4.0K /root/.kde/share/servicety
4.0K /root/.kde/share/config/se
252K /root/.kde/share/config
4.0K /root/.kde/share/applnk
4.0K /root/.kde/share/locale
364K /root/.kde/share
368K /root/.kde
592K /root/.mcop/trader-cache
600K /root/.mcop
316K /root/.metacity/sessions
324K /root/.metacity
16K /root/.elinks
36K /root/bin
8.0K /root/.gconf/apps/procman/
8.0K /root/.gconf/apps/procman/
24K /root/.gconf/apps/procman
8.0K /root/.gconf/apps/file-rol
12K /root/.gconf/apps/file-rol
8.0K /root/.gconf/apps/file-rol
8.0K /root/.gconf/apps/file-rol
32K /root/.gconf/apps/file-rol
12K /root/.gconf/apps/nautilus
8.0K /root/.gconf/apps/ggv/layo
12K /root/.gconf/apps/ggv
8.0K /root/.gconf/apps/gedit-2/
12K /root/.gconf/apps/gedit-2/
16K /root/.gconf/apps/gedit-2/
20K /root/.gconf/apps/gedit-2
16K /root/.gconf/apps/panel/ob
16K /root/.gconf/apps/panel/ob
16K /root/.gconf/apps/panel/ob
16K /root/.gconf/apps/panel/ob
16K /root/.gconf/apps/panel/ob
92K /root/.gconf/apps/panel/ob
12K /root/.gconf/apps/panel/to
24K /root/.gconf/apps/panel/to
16K /root/.gconf/apps/panel/ge
12K /root/.gconf/apps/panel/ap
24K /root/.gconf/apps/panel/ap
12K /root/.gconf/apps/panel/ap
24K /root/.gconf/apps/panel/ap
12K /root/.gconf/apps/panel/ap
24K /root/.gconf/apps/panel/ap
12K /root/.gconf/apps/panel/ap
24K /root/.gconf/apps/panel/ap
108K /root/.gconf/apps/panel/ap
252K /root/.gconf/apps/panel
8.0K /root/.gconf/apps/gnome-se
16K /root/.gconf/apps/gnome-se
12K /root/.gconf/apps/gnome-se
48K /root/.gconf/apps/gnome-se
12K /root/.gconf/apps/gnome-se
24K /root/.gconf/apps/gnome-se
436K /root/.gconf/apps
12K /root/.gconf/desktop/gnome
24K /root/.gconf/desktop/gnome
16K /root/.gconf/desktop/gnome
8.0K /root/.gconf/desktop/gnome
12K /root/.gconf/desktop/gnome
16K /root/.gconf/desktop/gnome
12K /root/.gconf/desktop/gnome
16K /root/.gconf/desktop/gnome
40K /root/.gconf/desktop/gnome
52K /root/.gconf/desktop/gnome
132K /root/.gconf/desktop/gnome
144K /root/.gconf/desktop
588K /root/.gconf
8.0K /root/Desktop
8.0K /root/.xcdroast
4.0K /root/.qt
4.0K /root/.rhopenoffice1.1/use
20K /root/.rhopenoffice1.1/use
16K /root/.rhopenoffice1.1/use
28K /root/.rhopenoffice1.1/use
8.0K /root/.rhopenoffice1.1/use
4.0K /root/.rhopenoffice1.1/use
4.0K /root/.rhopenoffice1.1/use
4.0K /root/.rhopenoffice1.1/use
492K /root/.rhopenoffice1.1/use
24K /root/.rhopenoffice1.1/use
36K /root/.rhopenoffice1.1/use
40K /root/.rhopenoffice1.1/use
44K /root/.rhopenoffice1.1/use
540K /root/.rhopenoffice1.1/use
4.0K /root/.rhopenoffice1.1/use
4.0K /root/.rhopenoffice1.1/use
40K /root/.rhopenoffice1.1/use
4.0K /root/.rhopenoffice1.1/use
596K /root/.rhopenoffice1.1/use
4.0K /root/.rhopenoffice1.1/use
4.0K /root/.rhopenoffice1.1/use
4.0K /root/.rhopenoffice1.1/use
68K /root/.rhopenoffice1.1/use
72K /root/.rhopenoffice1.1/use
1.4M /root/.rhopenoffice1.1/use
4.0K /root/.rhopenoffice1.1/sha
8.0K /root/.rhopenoffice1.1/sha
4.0K /root/.rhopenoffice1.1/sha
4.0K /root/.rhopenoffice1.1/sha
4.0K /root/.rhopenoffice1.1/sha
8.0K /root/.rhopenoffice1.1/sha
28K /root/.rhopenoffice1.1/sha
4.0K /root/.rhopenoffice1.1/pro
8.0K /root/.rhopenoffice1.1/pro
2.1M /root/.rhopenoffice1.1
8.0K /root/.gnome2_private
12K /root/.gstreamer-0.8
24K /root/.mozilla/firefox/gx2
4.0K /root/.mozilla/firefox/gx2
24K /root/.mozilla/firefox/gx2
16K /root/.mozilla/firefox/gx2
8.0K /root/.mozilla/firefox/gx2
29M /root/.mozilla/firefox/gx2
30M /root/.mozilla/firefox/gx2
31M /root/.mozilla/firefox
31M /root/.mozilla
48K /root/.config/menus
56K /root/.config
12K /root/.vmware
8.0K /root/.eggcups
20K /root/.vnc
32K /root/.ssh
4.0K /root/vmware
4.0K /root/Mail/inbox/cur
4.0K /root/Mail/inbox/new
4.0K /root/Mail/inbox/tmp
16K /root/Mail/inbox
4.0K /root/Mail/sent-mail/cur
4.0K /root/Mail/sent-mail/new
4.0K /root/Mail/sent-mail/tmp
16K /root/Mail/sent-mail
4.0K /root/Mail/outbox/cur
4.0K /root/Mail/outbox/new
4.0K /root/Mail/outbox/tmp
16K /root/Mail/outbox
4.0K /root/Mail/trash/cur
4.0K /root/Mail/trash/new
4.0K /root/Mail/trash/tmp
16K /root/Mail/trash
4.0K /root/Mail/drafts/cur
4.0K /root/Mail/drafts/new
4.0K /root/Mail/drafts/tmp
16K /root/Mail/drafts
124K /root/Mail
16K /root/.gnome2/share/fonts
16K /root/.gnome2/share/cursor
40K /root/.gnome2/share
8.0K /root/.gnome2/keyrings
4.0K /root/.gnome2/file-roller
32K /root/.gnome2/accels
8.0K /root/.gnome2/nautilus-scr
52K /root/.gnome2/panel2.d/def
60K /root/.gnome2/panel2.d/def
68K /root/.gnome2/panel2.d
208K /root/.gnome2
8.0K /root/.gconfd
1.3M /root/.thumbnails/fail/gno
1.3M /root/.thumbnails/fail
176K /root/.thumbnails/normal
1.5M /root/.thumbnails
8.0K /root/tmp
16K /root/.borland
8.0K /root/.gnome/mime-info
4.0K /root/.gnome/application-i
16K /root/.gnome/gnome-vfs
36K /root/.gnome
67M /root
[root@beaver ~]# du -sh *
36K bin
0 date_marker
4.0K dead.letter
8.0K Desktop
124K Mail
4.0K mbox
8.0K openvpn-status.log
8.0K tmp
4.0K vmware
Extra note : if root gets to many emails will it fill /root partition ??
please help me to solve this problem
run
du -k / | sort -r
this will give you size in KB, sorted by size
du -k / | sort -r
this will give you size in KB, sorted by size
ASKER
HI thank
no i didnot install nothing from last 1 year!!
[root@xx~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p9 1012M 1012M 0 100% /
/dev/cciss/c0d0p1 122M 39M 77M 34% /boot
/dev/cciss/c0d0p2 73G 7.1G 62G 11% /bv8
none 1014M 0 1014M 0% /dev/shm
/dev/cciss/c0d0p5 9.9G 667M 8.7G 7% /home
/dev/cciss/c0d0p8 1012M 34M 927M 4% /tmp
/dev/cciss/c0d0p6 9.9G 5.5G 3.9G 59% /usr
/dev/cciss/c0d0p3 35G 21G 13G 62% /var
[root@xxx~]#
no i didnot install nothing from last 1 year!!
[root@xx~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p9 1012M 1012M 0 100% /
/dev/cciss/c0d0p1 122M 39M 77M 34% /boot
/dev/cciss/c0d0p2 73G 7.1G 62G 11% /bv8
none 1014M 0 1014M 0% /dev/shm
/dev/cciss/c0d0p5 9.9G 667M 8.7G 7% /home
/dev/cciss/c0d0p8 1012M 34M 927M 4% /tmp
/dev/cciss/c0d0p6 9.9G 5.5G 3.9G 59% /usr
/dev/cciss/c0d0p3 35G 21G 13G 62% /var
[root@xxx~]#
or
du -k / | sort -nr
du -k / | sort -nr
ASKER
du -k / | sort -r , its giving me to many files such as form this direcotry as well /usr
is that right ??
is that right ??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Actually 67M out of 1012 is quite high...
Have you tried housekeeping your firefox settings.
> 29M /root/.mozilla/firefox/gx2 3i8pm.defa ult/Cache
> 30M /root/.mozilla/firefox/gx2 3i8pm.defa ult
Have you tried housekeeping your firefox settings.
> 29M /root/.mozilla/firefox/gx2
> 30M /root/.mozilla/firefox/gx2
ASKER
here is du-sh /*
[root@beaver ~]# du -sh /*
0 /backuplog010908
0 /backuplog011008
8.5M /backuplog020908
0 /backuplog021008
8.5M /backuplog030908
0 /backuplog031008
8.5M /backuplog040908
8.6M /backuplog050908
8.4M /backuplog060808
0 /backuplog061008
8.5M /backuplog070808
8.5M /backuplog080808
8.6M /backuplog080908
8.6M /backuplog090908
8.6M /backuplog100908
8.5M /backuplog110808
8.6M /backuplog110908
8.5M /backuplog120808
8.6M /backuplog120908
8.5M /backuplog130808
8.5M /backuplog140808
8.5M /backuplog150808
8.5M /backuplog150908
8.5M /backuplog160908
8.5M /backuplog170908
8.5M /backuplog180808
8.5M /backuplog180908
8.5M /backuplog190808
8.6M /backuplog190908
8.5M /backuplog200808
0 /backuplog210808
8.5M /backuplog220808
8.6M /backuplog220908
8.6M /backuplog230908
4.4M /backuplog240908
0 /backuplog250808
4.0K /backuplog250908
8.5M /backuplog260808
4.0K /backuplog260908
8.5M /backuplog270808
8.5M /backuplog280808
8.5M /backuplog290808
4.0K /backuplog290908
0 /backuplog300908
6.4M /bin
34M /boot
[root@beaver ~]# du -sh /*
0 /backuplog010908
0 /backuplog011008
8.5M /backuplog020908
0 /backuplog021008
8.5M /backuplog030908
0 /backuplog031008
8.5M /backuplog040908
8.6M /backuplog050908
8.4M /backuplog060808
0 /backuplog061008
8.5M /backuplog070808
8.5M /backuplog080808
8.6M /backuplog080908
8.6M /backuplog090908
8.6M /backuplog100908
8.5M /backuplog110808
8.6M /backuplog110908
8.5M /backuplog120808
8.6M /backuplog120908
8.5M /backuplog130808
8.5M /backuplog140808
8.5M /backuplog150808
8.5M /backuplog150908
8.5M /backuplog160908
8.5M /backuplog170908
8.5M /backuplog180808
8.5M /backuplog180908
8.5M /backuplog190808
8.6M /backuplog190908
8.5M /backuplog200808
0 /backuplog210808
8.5M /backuplog220808
8.6M /backuplog220908
8.6M /backuplog230908
4.4M /backuplog240908
0 /backuplog250808
4.0K /backuplog250908
8.5M /backuplog260808
4.0K /backuplog260908
8.5M /backuplog270808
8.5M /backuplog280808
8.5M /backuplog290808
4.0K /backuplog290908
0 /backuplog300908
6.4M /bin
34M /boot
I guess in this case your /root was filling up / (root)....
there must be a unix joke in there somewhere...
there must be a unix joke in there somewhere...
then again.....Just seen the last post....
Does anything strike you as being large there?
Does anything strike you as being large there?
ASKER
HOw come all the backup log
0 /backuplog010908
0 /backuplog011008
8.5M /backuplog020908
is those in root directory ??
[root@beaver ~]# locate ackuplog020908
/backuplog020908
0 /backuplog010908
0 /backuplog011008
8.5M /backuplog020908
is those in root directory ??
[root@beaver ~]# locate ackuplog020908
/backuplog020908
... sorry finger trouble...
What is creating the backuplog files/directories?
What is creating the backuplog files/directories?
Try
rm -rf /backuplog*
then try df -h
rm -rf /backuplog*
then try df -h
ASKER
hahahahahahahaahhahaahahah
God!!!
rm -rf /backuplog*
now its like this :
[root@beaver ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p9 1012M 736M 225M 77% /
/dev/cciss/c0d0p1 122M 39M 77M 34% /boot
/dev/cciss/c0d0p2 73G 7.1G 62G 11% /bv8
none 1014M 0 1014M 0% /dev/shm
/dev/cciss/c0d0p5 9.9G 667M 8.7G 7% /home
/dev/cciss/c0d0p8 1012M 34M 927M 4% /tmp
/dev/cciss/c0d0p6 9.9G 5.5G 3.9G 59% /usr
/dev/cciss/c0d0p3 35G 21G 13G 62% /var
God!!!
rm -rf /backuplog*
now its like this :
[root@beaver ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p9 1012M 736M 225M 77% /
/dev/cciss/c0d0p1 122M 39M 77M 34% /boot
/dev/cciss/c0d0p2 73G 7.1G 62G 11% /bv8
none 1014M 0 1014M 0% /dev/shm
/dev/cciss/c0d0p5 9.9G 667M 8.7G 7% /home
/dev/cciss/c0d0p8 1012M 34M 927M 4% /tmp
/dev/cciss/c0d0p6 9.9G 5.5G 3.9G 59% /usr
/dev/cciss/c0d0p3 35G 21G 13G 62% /var
Great :) ...now we need to know what application is writting those logs there and have them written to /var/logs/ or you have to remove them daily :)
OK, but something must be creating the backup logs in the first place, you need to find out what it is or you will be doing the same in 736/8.5M days time!
oops, there is an echo, sorry.... I'll leave well alone :-)
ASKER
yes, but how will i know ??
I didnot configure this server, its previous IT guy he did
I didnot configure this server, its previous IT guy he did
look in crontab for scheduled jobs
hmm....there are methods..you could use auditd...or simpler
lsof | grep backuplog
However the latter command only works while the backup is running...however since the backups are periodic..you might want to check the crontab first for backup jobs.
lsof | grep backuplog
However the latter command only works while the backup is running...however since the backups are periodic..you might want to check the crontab first for backup jobs.
Jools this time I was your echo :)
ASKER
ok i will check those tomorrow, as far i know 2 backups run every night
which do full backup then write to a tap drive thats all
just tel me
0 /backuplog010908
if i want to see this backuplog010908 log , how will i see this ??
if i can check those then i would of know what creating those logs
cat /backuplog010908 ??
which do full backup then write to a tap drive thats all
just tel me
0 /backuplog010908
if i want to see this backuplog010908 log , how will i see this ??
if i can check those then i would of know what creating those logs
cat /backuplog010908 ??
ASKER
what is echo ?? didnot understand!!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
HI jools thanks
i just want one more clarification then i will close this questioin
you said in your first comments : fusiul01, you are confusing the directory /root (the home directory for the root userid) and the real root directory "/".
i received 2 email every day from server subject is from Logwatch
in one email it say : Disk space
/dev/sda8 35G 6.6G 27G 20% /
and anohtr one
Disk Space
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p9 1012M 736M 225M 77% /
both both is comming from Same Server!!!
then why this difference ??
i just want one more clarification then i will close this questioin
you said in your first comments : fusiul01, you are confusing the directory /root (the home directory for the root userid) and the real root directory "/".
i received 2 email every day from server subject is from Logwatch
in one email it say : Disk space
/dev/sda8 35G 6.6G 27G 20% /
and anohtr one
Disk Space
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p9 1012M 736M 225M 77% /
both both is comming from Same Server!!!
then why this difference ??
They are not both from the same server, one is 35G on sda8, the other is 1G on c0d0p9.
Check the headers of the email, post back here
Check the headers of the email, post back here
ASKER
hahaha so sorry!! its another server.
i didnot think, i am receiving email from another server
this server actually places in DMZ , i didnothink , previous IT guy will configure this server to sendmail via logwatch
just explain me this one :
you said in your first comments : fusiul01, you are confusing the directory /root (the home directory for the root userid) and the real root directory "/".
/dev/cciss/c0d0p9 1012M 736M 225M 77% / : is this home for root user or its root directory ??
i didnot think, i am receiving email from another server
this server actually places in DMZ , i didnothink , previous IT guy will configure this server to sendmail via logwatch
just explain me this one :
you said in your first comments : fusiul01, you are confusing the directory /root (the home directory for the root userid) and the real root directory "/".
/dev/cciss/c0d0p9 1012M 736M 225M 77% / : is this home for root user or its root directory ??
/ is the real root directory. Under this there is a "root" directory (/root) which is the home directory for the root user.
You said that /root was saying 67M used but when you did the df is said 1012MB. The difference being that df reported the file system size for the real root directory (/) and du reported the size of the root users home directory.
Later in the thread, omar and shakoush suggested doing the du on / which showed up the size of the backup log files in root (yes, the real root). Now I may add to the confusion here if I say that /root is under / (df -k /; df -k /root).
Now, hopefully, you have found the script that creates the backup log files and either changed it to log somewhere else or have a procedure in place to check the logs and do manual housekeeping.
Not a bad team effort really :-)
You said that /root was saying 67M used but when you did the df is said 1012MB. The difference being that df reported the file system size for the real root directory (/) and du reported the size of the root users home directory.
Later in the thread, omar and shakoush suggested doing the du on / which showed up the size of the backup log files in root (yes, the real root). Now I may add to the confusion here if I say that /root is under / (df -k /; df -k /root).
Now, hopefully, you have found the script that creates the backup log files and either changed it to log somewhere else or have a procedure in place to check the logs and do manual housekeeping.
Not a bad team effort really :-)
ASKER
thats why i like this EE , good team work always.
i will ask few more question on this issue on new one, its not fair to ask all the question in one.
Thanks for the help
i will ask few more question on this issue on new one, its not fair to ask all the question in one.
Thanks for the help
What have you installed and are all your file systems mounted?