/ directory 92% full HELP

General support questions including new installations
Post Reply
UKpacman
Posts: 1
Joined: 2011/07/27 07:03:26

/ directory 92% full HELP

Post by UKpacman » 2011/07/27 07:22:38

Just to give you a background this is a VM and is the app server with the db on a separate VM. I am fairly new to Centos and am just learning as i progress please can someone help how i can clear unnecessary files packages etc

I cant understand the need for Mozilla in the list below can this be deleted


# df -h

Filesystem Size Used Avail Use% Mounted on

/dev/mapper/VolGroup00-LogVol00
7.3G 6.3G 628M 92% /
/dev/sda1 99M 21M 74M 22% /boot
none 506M 0 506M 0% /dev/shm
/dev/sda3 12G 2.9G 8.4G 26% /data

12 ./.cpan/sources
20 ./.cpan
8 ./.gnome2_private
8 ./.gconf/apps/gnome-settings/gedit
8 ./.gconf/apps/gnome-settings/gnome-panel-screenshot
20 ./.gconf/apps/gnome-settings
16 ./.gconf/apps/panel/general
12 ./.gconf/apps/panel/toplevels/bottom_panel
8 ./.gconf/apps/panel/toplevels/top_panel
32 ./.gconf/apps/panel/toplevels
12 ./.gconf/apps/panel/applets/window_list/prefs
24 ./.gconf/apps/panel/applets/window_list
12 ./.gconf/apps/panel/applets/workspace_switcher/prefs
24 ./.gconf/apps/panel/applets/workspace_switcher
12 ./.gconf/apps/panel/applets/mixer/prefs
24 ./.gconf/apps/panel/applets/mixer
12 ./.gconf/apps/panel/applets/clock/prefs
24 ./.gconf/apps/panel/applets/clock
108 ./.gconf/apps/panel/applets
16 ./.gconf/apps/panel/objects/web_launcher
16 ./.gconf/apps/panel/objects/email_launcher
44 ./.gconf/apps/panel/objects
212 ./.gconf/apps/panel
16 ./.gconf/apps/gcalctool
16 ./.gconf/apps/nautilus/list_view
16 ./.gconf/apps/nautilus/preferences
44 ./.gconf/apps/nautilus
16 ./.gconf/apps/file-roller/dialogs/extract
28 ./.gconf/apps/file-roller/dialogs
16 ./.gconf/apps/file-roller/general
16 ./.gconf/apps/file-roller/listing
72 ./.gconf/apps/file-roller
376 ./.gconf/apps
16 ./.gconf/desktop/gnome/url-handlers/https
16 ./.gconf/desktop/gnome/url-handlers/unknown
16 ./.gconf/desktop/gnome/url-handlers/http
16 ./.gconf/desktop/gnome/url-handlers/mailto
16 ./.gconf/desktop/gnome/url-handlers/about
92 ./.gconf/desktop/gnome/url-handlers
8 ./.gconf/desktop/gnome/peripherals/keyboard/xkb.sysbackup
8 ./.gconf/desktop/gnome/peripherals/keyboard/xkb
20 ./.gconf/desktop/gnome/peripherals/keyboard
24 ./.gconf/desktop/gnome/peripherals
12 ./.gconf/desktop/gnome/applications/window_manager
16 ./.gconf/desktop/gnome/applications/terminal
40 ./.gconf/desktop/gnome/applications
16 ./.gconf/desktop/gnome/file_views
8 ./.gconf/desktop/gnome/background
192 ./.gconf/desktop/gnome
204 ./.gconf/desktop
588 ./.gconf
164 ./.nautilus/metafiles
172 ./.nautilus
16 ./.gnome/gnome-vfs
16 ./.gnome/application-info
8 ./.gnome/mime-info
48 ./.gnome
200 ./.rhn-applet
8 ./.mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}
16 ./.mozilla/extensions
24 ./.mozilla/firefox/875x36uv.default/bookmarkbackups
48 ./.mozilla/firefox/875x36uv.default/Cache
8 ./.mozilla/firefox/875x36uv.default/extensions/langpack-pt-BR@firefox.mozilla.org
132 ./.mozilla/firefox/875x36uv.default/extensions/staged-xpis/langpack-pt-BR@firefox.mozilla.org
140 ./.mozilla/firefox/875x36uv.default/extensions/staged-xpis
156 ./.mozilla/firefox/875x36uv.default/extensions
24 ./.mozilla/firefox/875x36uv.default/chrome
16 ./.mozilla/firefox/875x36uv.default/OfflineCache
13540 ./.mozilla/firefox/875x36uv.default
13556 ./.mozilla/firefox
13580 ./.mozilla
52 ./.gconfd
8 ./.qt
104 ./.vnc
32 ./Desktop/Backup_MB_TYPE
32 ./Desktop/Backup
16 ./Desktop/Trash
96 ./Desktop
16 ./.mcop/trader-cache
32 ./.mcop
8 ./.eggcups
12 ./.gstreamer-0.8
24 ./Patch/RBSSE-Hotspot71-Patch-11092009(QuaterlyOnFixedDate)/HTS/Messages
232 ./Patch/RBSSE-Hotspot71-Patch-11092009(QuaterlyOnFixedDate)/HTS/Admin/1
124 ./Patch/RBSSE-Hotspot71-Patch-11092009(QuaterlyOnFixedDate)/HTS/Admin/7
60 ./Patch/RBSSE-Hotspot71-Patch-11092009(QuaterlyOnFixedDate)/HTS/Admin/Include/Javascript
64 ./Patch/RBSSE-Hotspot71-Patch-11092009(QuaterlyOnFixedDate)/HTS/Admin/Include
108 ./Patch/RBSSE-Hotspot71-Patch-11092009(QuaterlyOnFixedDate)/HTS/Admin/13
116 ./Patch/RBSSE-Hotspot71-Patch-11092009(QuaterlyOnFixedDate)/HTS/Admin/9
116 ./Patch/RBSSE-Hotspot71-Patch-11092009(QuaterlyOnFixedDate)/HTS/Admin/3
764 ./Patch/RBSSE-Hotspot71-Patch-11092009(QuaterlyOnFixedDate)/HTS/Admin
792 ./Patch/RBSSE-Hotspot71-Patch-11092009(QuaterlyOnFixedDate)/HTS
796 ./Patch/RBSSE-Hotspot71-Patch-11092009(QuaterlyOnFixedDate)
188 ./Patch/rbsisp/Database
48 ./Patch/rbsisp/HTS/Admin/1
48 ./Patch/rbsisp/HTS/Admin/3
100 ./Patch/rbsisp/HTS/Admin
24 ./Patch/rbsisp/HTS/Pages
128 ./Patch/rbsisp/HTS
4108 ./Patch/rbsisp
24 ./Patch/HTS/Messages
116 ./Patch/HTS/Admin/1
124 ./Patch/HTS/Admin/7
36 ./Patch/HTS/Admin/Include/Javascript
40 ./Patch/HTS/Admin/Include
108 ./Patch/HTS/Admin/13
116 ./Patch/HTS/Admin/9
116 ./Patch/HTS/Admin/3
624 ./Patch/HTS/Admin
652 ./Patch/HTS
8644 ./Patch
8 ./.ssh
28 ./.kde/share/apps/kconf_update
8 ./.kde/share/apps/kab
8 ./.kde/share/apps/drkonqi
16 ./.kde/share/apps/kcookiejar
32 ./.kde/share/apps/kdesktop
8 ./.kde/share/apps/kmail
8 ./.kde/share/apps/kabc/lock
24 ./.kde/share/apps/kabc
8 ./.kde/share/apps/kwallet
48 ./.kde/share/apps/konqsidebartng/virtual_folders/services
56 ./.kde/share/apps/konqsidebartng/virtual_folders
96 ./.kde/share/apps/konqsidebartng/entries
160 ./.kde/share/apps/konqsidebartng
16 ./.kde/share/apps/khtml
88 ./.kde/share/apps/RecentDocuments
8 ./.kde/share/apps/kfm/bookmarks
16 ./.kde/share/apps/kfm
32 ./.kde/share/apps/konqueror
8 ./.kde/share/apps/kssl
20 ./.kde/share/apps/nsplugins
8 ./.kde/share/apps/kfile
488 ./.kde/share/apps
8 ./.kde/share/servicetypes
8 ./.kde/share/mimelnk
16 ./.kde/share/services
16 ./.kde/share/config/kresources/contact
24 ./.kde/share/config/kresources
56 ./.kde/share/config/session
424 ./.kde/share/config
8 ./.kde/share/applnk
960 ./.kde/share
16 ./.kde/Autostart
996 ./.kde
644 ./Alepo/CPAN/DBI-1.609/t
12 ./Alepo/CPAN/DBI-1.609/lib/Win32
8 ./Alepo/CPAN/DBI-1.609/lib/Bundle
12 ./Alepo/CPAN/DBI-1.609/lib/DBI/ProfileDumper
88 ./Alepo/CPAN/DBI-1.609/lib/DBI/Const/GetInfo
100 ./Alepo/CPAN/DBI-1.609/lib/DBI/Const
28 ./Alepo/CPAN/DBI-1.609/lib/DBI/SQL
16 ./Alepo/CPAN/DBI-1.609/lib/DBI/Gofer/Serializer
20 ./Alepo/CPAN/DBI-1.609/lib/DBI/Gofer/Transport
88 ./Alepo/CPAN/DBI-1.609/lib/DBI/Gofer
12 ./Alepo/CPAN/DBI-1.609/lib/DBI/Util
20 ./Alepo/CPAN/DBI-1.609/lib/DBI/DBD
564 ./Alepo/CPAN/DBI-1.609/lib/DBI
44 ./Alepo/CPAN/DBI-1.609/lib/DBD/Gofer/Transport
24 ./Alepo/CPAN/DBI-1.609/lib/DBD/Gofer/Policy
72 ./Alepo/CPAN/DBI-1.609/lib/DBD/Gofer
252 ./Alepo/CPAN/DBI-1.609/lib/DBD
840 ./Alepo/CPAN/DBI-1.609/lib
16 ./Alepo/CPAN/DBI-1.609/ex
944 ./Alepo/CPAN/DBI-1.609/blib/man3
464 ./Alepo/CPAN/DBI-1.609/blib/arch/auto/DBI
468 ./Alepo/CPAN/DBI-1.609/blib/arch/auto
472 ./Alepo/CPAN/DBI-1.609/blib/arch
12 ./Alepo/CPAN/DBI-1.609/blib/lib/Win32
8 ./Alepo/CPAN/DBI-1.609/blib/lib/Bundle
4 ./Alepo/CPAN/DBI-1.609/blib/lib/auto/DBI
8 ./Alepo/CPAN/DBI-1.609/blib/lib/auto
12 ./Alepo/CPAN/DBI-1.609/blib/lib/DBI/ProfileDumper
88 ./Alepo/CPAN/DBI-1.609/blib/lib/DBI/Const/GetInfo
100 ./Alepo/CPAN/DBI-1.609/blib/lib/DBI/Const
28 ./Alepo/CPAN/DBI-1.609/blib/lib/DBI/SQL
16 ./Alepo/CPAN/DBI-1.609/blib/lib/DBI/Gofer/Serializer
20 ./Alepo/CPAN/DBI-1.609/blib/lib/DBI/Gofer/Transport
88 ./Alepo/CPAN/DBI-1.609/blib/lib/DBI/Gofer
12 ./Alepo/CPAN/DBI-1.609/blib/lib/DBI/Util
20 ./Alepo/CPAN/DBI-1.609/blib/lib/DBI/DBD
684 ./Alepo/CPAN/DBI-1.609/blib/lib/DBI
44 ./Alepo/CPAN/DBI-1.609/blib/lib/DBD/Gofer/Transport
24 ./Alepo/CPAN/DBI-1.609/blib/lib/DBD/Gofer/Policy
72 ./Alepo/CPAN/DBI-1.609/blib/lib/DBD/Gofer
252 ./Alepo/CPAN/DBI-1.609/blib/lib/DBD
1284 ./Alepo/CPAN/DBI-1.609/blib/lib
32 ./Alepo/CPAN/DBI-1.609/blib/man1
24 ./Alepo/CPAN/DBI-1.609/blib/script
2760 ./Alepo/CPAN/DBI-1.609/blib
5900 ./Alepo/CPAN/DBI-1.609
56 ./Alepo/CPAN/DBD-Oracle-1.23/Oracle.ex
32 ./Alepo/CPAN/DBD-Oracle-1.23/hints
192 ./Alepo/CPAN/DBD-Oracle-1.23/t
76 ./Alepo/CPAN/DBD-Oracle-1.23/README-files/hpux
80 ./Alepo/CPAN/DBD-Oracle-1.23/README-files
12 ./Alepo/CPAN/DBD-Oracle-1.23/lib/DBD/Oracle
16 ./Alepo/CPAN/DBD-Oracle-1.23/lib/DBD
20 ./Alepo/CPAN/DBD-Oracle-1.23/lib
188 ./Alepo/CPAN/DBD-Oracle-1.23/blib/man3
596 ./Alepo/CPAN/DBD-Oracle-1.23/blib/arch/auto/DBD/Oracle
600 ./Alepo/CPAN/DBD-Oracle-1.23/blib/arch/auto/DBD
604 ./Alepo/CPAN/DBD-Oracle-1.23/blib/arch/auto
608 ./Alepo/CPAN/DBD-Oracle-1.23/blib/arch
4 ./Alepo/CPAN/DBD-Oracle-1.23/blib/lib/auto/DBD/Oracle
8 ./Alepo/CPAN/DBD-Oracle-1.23/blib/lib/auto/DBD
12 ./Alepo/CPAN/DBD-Oracle-1.23/blib/lib/auto
12 ./Alepo/CPAN/DBD-Oracle-1.23/blib/lib/DBD/Oracle
172 ./Alepo/CPAN/DBD-Oracle-1.23/blib/lib/DBD
220 ./Alepo/CPAN/DBD-Oracle-1.23/blib/lib
20 ./Alepo/CPAN/DBD-Oracle-1.23/blib/man1
72 ./Alepo/CPAN/DBD-Oracle-1.23/blib/script
1112 ./Alepo/CPAN/DBD-Oracle-1.23/blib
3292 ./Alepo/CPAN/DBD-Oracle-1.23
10256 ./Alepo/CPAN
58484 ./Alepo
4 ./.Trash/untitled folder
12 ./.Trash
344636 .

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

/ directory 92% full HELP

Post by gerald_clark » 2011/07/27 14:28:22

Welcome to CentOS.
New users need to read
http://www.centos.org/modules/newbb/viewforum.php?forum=47

Your problem is your use of cpan, and the disk space it is using.
Use the repos for your perl modules.
Package based systems do not get along well with cpan.

User avatar
TrevorH
Forum Moderator
Posts: 26884
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: / directory 92% full HELP

Post by TrevorH » 2011/08/11 23:41:30

That's a very long du output but no indication of what units it's using - if you neglected to specify then it's in KB so the total is ~350MB which is a drop in the bucket of your 92%. In addition it appears to be only for your home directory. Try running as root

[code]
du --max-depth=1 -m -x /
[/code]

which will show you how much space is used by each subdirectory of the root directory. From that you can see which subdir uses the majority of the space and then repeat the same command for each large one in turn and drill down to the actual culprit.

Post Reply

Return to “CentOS 4 - General Support”