[SLE] Suse 10 Root nearly full
Why is root full?? All I have done is periodic online updates when I installed only about 7gig was taken up. linux:/home/cwsiv # df -h Filesystem Size Used Avail Use% Mounted on /dev/hda5 14G 12G 1.5G 90% / tmpfs 220M 12K 220M 1% /dev/shm /dev/hda3 25G 24G 1.9G 93% /Storage0 /dev/hda4 20G 15G 4.9G 75% /Storage1 /dev/hda1 61M 11M 48M 18% /boot /dev/hda7 16G 15G 920M 95% /home linux:/home/cwsiv # ls / . boot home media proc srv subdomain usr .. dev lib mnt root Storage0 sys var bin etc lost+found opt sbin Storage1 tmp Win32 linux:/home/cwsiv # du -sh /boot 6.3M /boot linux:/home/cwsiv # du -sh /proc/ 450M /proc/ linux:/home/cwsiv # du -sh /srv 1.4M /srv linux:/home/cwsiv # du -sh /subdomain/ 4.0K /subdomain/ linux:/home/cwsiv # du -sh /usr 3.3G /usr linux:/home/cwsiv # du -sh /dev 152K /dev linux:/home/cwsiv # du -sh /lib 92M /lib linux:/home/cwsiv # du -sh /mnt 4.0K /mnt linux:/home/cwsiv # du -sh /root 3.6M /root linux:/home/cwsiv # du -sh /sys 0 /sys linux:/home/cwsiv # du -sh /var 607M /var linux:/home/cwsiv # du -sh /bin 6.5M /bin linux:/home/cwsiv # du -sh /etc 66M /etc linux:/home/cwsiv # du -sh /lost+found/ 16K /lost+found/ linux:/home/cwsiv # du -sh /opt/ 2.1G /opt/ linux:/home/cwsiv # du -sh /sbin/ 11M /sbin/ linux:/home/cwsiv # du -sh /tmp/ 1.4G /tmp/ linux:/home/cwsiv # du -sh /Win32/ 4.2G /Win32/ linux:/home/cwsiv # -- ___ _ _ _ ____ _ _ _ | | | | [__ | | | |___ |_|_| ___] | \/ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sunday 23 July 2006 4:17 pm, Carl William Spitzer IV wrote:
Why is root full?? All I have done is periodic online updates when I installed only about 7gig was taken up.
Well, you have 1.4 gig tied up in /tmp ...
linux:/home/cwsiv # du -sh /tmp/ 1.4G /tmp/
Scott -- Ex post facto POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.13-default x86_64 SuSE Linux 9.3 (x86-64) -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sun, 2006-07-23 at 20:36 -0700, Scott Leighton wrote:
On Sunday 23 July 2006 4:17 pm, Carl William Spitzer IV wrote:
Why is root full?? All I have done is periodic online updates when I installed only about 7gig was taken up.
Well, you have 1.4 gig tied up in /tmp ...
linux:/home/cwsiv # du -sh /tmp/ 1.4G /tmp/
would that be in temp rm -f * while in tmp? -- ___ _ _ _ ____ _ _ _ | | | | [__ | | | |___ |_|_| ___] | \/ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
I have 2.6.5-7.244 with SuSE enterprise 9.0. I would like to get some tools to check hardware memory, hardware cpu,etc --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail.
On Sun, 2006-07-23 at 19:41 -0800, John Andersen wrote:
On Sunday 23 July 2006 15:17, Carl William Spitzer IV wrote:
It would seem you answered your own question right there:
linux:/home/cwsiv # du -sh /Win32/ 4.2G /Win32/
Those are mount points the actual files are on hdb. -- ___ _ _ _ ____ _ _ _ | | | | [__ | | | |___ |_|_| ___] | \/ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Carl William Spitzer IV wrote:
On Sun, 2006-07-23 at 19:41 -0800, John Andersen wrote:
On Sunday 23 July 2006 15:17, Carl William Spitzer IV wrote:
It would seem you answered your own question right there:
linux:/home/cwsiv # du -sh /Win32/ 4.2G /Win32/
Those are mount points the actual files are on hdb.
Are you sure? The df output that you posted didn't contain any reference to hdb information. Maybe the mount at boot went missing? Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Monday 24 July 2006 09:05, Carl William Spitzer IV wrote:
On Sun, 2006-07-23 at 19:41 -0800, John Andersen wrote:
On Sunday 23 July 2006 15:17, Carl William Spitzer IV wrote:
It would seem you answered your own question right there:
linux:/home/cwsiv # du -sh /Win32/ 4.2G /Win32/
Those are mount points the actual files are on hdb.
If so, why did you give us that info, and how can you get the numbers to add up without considering these values? Umount /Win32 as root and try ANY ONE OF THE THREE HUNDRED examples of a du command posted by those more interested in pedantry than helping. Another poster suggested that maybe the mount failed at some point and you have a bunch of (possibly redundant) data hidden by the mount. So, that's why I suggest doing a umount and running du -h --max-depth=1 / again with as little as possible mounted. (Note: the -x argument tells du not to include those directories that actually reside on different file systems, but its not clear if in doing so, it would reveal large chunks of data hidden by mounting something over the directory in which said data resides). _____________________________________ John Andersen
On Mon, 2006-07-24 at 22:07 -0800, John Andersen
Umount /Win32 as root and try ANY ONE OF THE THREE HUNDRED examples of a du command posted by those more interested in pedantry than helping.
Another poster suggested that maybe the mount failed at some point and you have a bunch of (possibly redundant) data hidden by the mount. So, that's why I suggest doing a umount and running du -h --max-depth=1 / again with as little as possible mounted.
(Note: the -x argument tells du not to include those directories that actually reside on different file systems, but its not clear if in doing so, it would reveal large chunks of data hidden by mounting something over the directory in which said data resides).
linux:/home/cwsiv # du -hx --max-depth=1 / 16K /lost+found 66M /etc 1.0K /boot 0 /home 0 /proc 0 /sys 0 /dev 12K /media 604M /var 88M /lib 6.5M /bin 4.0K /mnt 2.1G /opt 3.6M /root 11M /sbin 1.4M /srv 1.4G /tmp 3.3G /usr 4.0K /subdomain 11G / -- ___ _ _ _ ____ _ _ _ | | | | [__ | | | |___ |_|_| ___] | \/ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Carl William Spitzer IV wrote:
linux:/home/cwsiv # du -hx --max-depth=1 / 16K /lost+found 66M /etc 1.0K /boot 0 /home 0 /proc 0 /sys 0 /dev 12K /media 604M /var 88M /lib 6.5M /bin 4.0K /mnt 2.1G /opt 3.6M /root 11M /sbin 1.4M /srv 1.4G /tmp 3.3G /usr 4.0K /subdomain 11G /
This does not fit; the subdirectories add up only to 9G, not 11G. Clean up your /tmp (1.4 GB) and look for the missing 2GB. That leaves you with 8GB, which is not too uncommon for an installation with KDE and/or GNOME installed. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Joachim Schrod wrote:
Carl William Spitzer IV wrote:
linux:/home/cwsiv # du -hx --max-depth=1 / 16K /lost+found 66M /etc 1.0K /boot 0 /home 0 /proc 0 /sys 0 /dev 12K /media 604M /var 88M /lib 6.5M /bin 4.0K /mnt 2.1G /opt 3.6M /root 11M /sbin 1.4M /srv 1.4G /tmp 3.3G /usr 4.0K /subdomain 11G /
This does not fit; the subdirectories add up only to 9G, not 11G. Clean up your /tmp (1.4 GB) and look for the missing 2GB. That leaves you with 8GB, which is not too uncommon for an installation with KDE and/or GNOME installed.
Joachim
Well, we are both on the same track :-) but I made the total to be 7.6G and not 9G. For comparison, the stats for my setup is: 6.8M /bin 0 /dev 29M /etc 108M /lib 0 /mnt 1.2G /opt 1.3M /srv 39K /tmp 0 /sys 472M /var 3.4G /usr 14M /boot 1.0K /data 181M /home 0 /proc 14M /sbin 760K /root 0 /media 0 /subdomain 128K /windows 5.3G / Apart from /tmp where some too much 'rubbish' is being stored, somewhere there is a lot Gs being hidden. Don't know if this relevant but look at the /boot directory where the kernel (vmlinuz) etc is supposed to be residing which is showing only 1.0K but should be at least 14M now with 2 versions of the kernel in there. Cheers. -- This computer is environment-friendly and is running on OpenSuSE 10.1 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Tuesday 25 July 2006 23:41, Basil Chupin wrote:
Joachim Schrod wrote:
Carl William Spitzer IV wrote:
linux:/home/cwsiv # du -hx --max-depth=1 / 16K /lost+found 66M /etc 1.0K /boot 0 /home 0 /proc 0 /sys 0 /dev 12K /media 604M /var 88M /lib 6.5M /bin 4.0K /mnt 2.1G /opt 3.6M /root 11M /sbin 1.4M /srv 1.4G /tmp 3.3G /usr 4.0K /subdomain 11G /
This does not fit; the subdirectories add up only to 9G, not 11G. Clean up your /tmp (1.4 GB) and look for the missing 2GB. That leaves you with 8GB, which is not too uncommon for an installation with KDE and/or GNOME installed.
..<snip rest>............. Ummmm....Just two crazy off-the-wall things. Are you using Kdar? About a year ago I had the same problem. It turns out that Kdar was writing some kind of temp files to the root directory and were not visible. Don't remember now how I fixed it. There was a lot of discussion on this list. Maybe a . file??? Another time I was fiddling with a bunch of video files as root. (Yeah I know) and deleting files was filling up root's trash can. Just some crazy suggestions. Bob S. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Wed, 2006-07-26 at 00:30 +0200, Joachim Schrod wrote:
11G /
This does not fit; the subdirectories add up only to 9G, not 11G. Clean up your /tmp (1.4 GB) and look for the missing 2GB. That leaves you with 8GB, which is not too uncommon for an installation with KDE and/or GNOME installed.
Joachim
Well it looks lime /tmp was the problem when i did rm-rf /tmp/* linux:/ # du -hx --max-depth=1 / 16K /lost+found 66M /etc 512 /Storage0 512 /Storage1 1.0K /boot 0 /home 0 /proc 0 /sys 0 /dev 12K /media 604M /var 88M /lib 6.5M /bin 4.0K /mnt 2.1G /opt 3.6M /root 11M /sbin 1.4M /srv 32K /tmp 3.3G /usr 4.0K /subdomain 1.8G /Win32 7.9G / linux:/ # df -h Filesystem Size Used Avail Use% Mounted on /dev/hda5 14G 8.0G 5.1G 62% / tmpfs 220M 12K 220M 1% /dev/shm /dev/hda3 25G 25G 674M 98% /Storage0 /dev/hda4 20G 17G 3.4G 83% /Storage1 /dev/hda1 61M 11M 48M 18% /boot /dev/hda7 16G 15G 539M 97% /home -- _______ _______ _______ __ / ____\ \ / / ____|_ _\ \ / / | | \ \ /\ / / (___ | | \ \ / / | | \ \/ \/ / \___ \ | | \ \/ / | |____ \ /\ / ____) |_| |_ \ / \_____| \/ \/ |_____/|_____| \/ | \ /|\ || |\ / |~~\ /~~\ /~~| //~~\ | \ / | \ || | X |__/| || |( `--. |__ | | \| \_/ / \ | \ \__/ \__| \\__/ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Carl William Spitzer IV wrote:
Why is root full?? All I have done is periodic online updates when I installed only about 7gig was taken up.
linux:/home/cwsiv # df -h Filesystem Size Used Avail Use% Mounted on /dev/hda5 14G 12G 1.5G 90% / tmpfs 220M 12K 220M 1% /dev/shm /dev/hda3 25G 24G 1.9G 93% /Storage0 /dev/hda4 20G 15G 4.9G 75% /Storage1 /dev/hda1 61M 11M 48M 18% /boot /dev/hda7 16G 15G 920M 95% /home
linux:/home/cwsiv # ls / . boot home media proc srv subdomain usr .. dev lib mnt root Storage0 sys var bin etc lost+found opt sbin Storage1 tmp Win32 linux:/home/cwsiv # du -sh /boot 6.3M /boot
Carl, You may find this command useful in the future: du -h -x --max-depth=1 If run from / (cd / ) it will give the stats for everything under / . Cheers. -- This computer is environment-friendly and is running on OpenSuSE 10.1 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Monday 24 July 2006 05:01, Basil Chupin wrote:
Carl,
You may find this command useful in the future:
du -h -x --max-depth=1
If run from / (cd / ) it will give the stats for everything under / .
Or he could save some precious electrons: du -sxh * -- Steve Boddy -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Stephen Boddy wrote:
On Monday 24 July 2006 05:01, Basil Chupin wrote:
Carl,
You may find this command useful in the future:
du -h -x --max-depth=1
If run from / (cd / ) it will give the stats for everything under / .
Or he could save some precious electrons:
du -sxh *
Mmm, gives me a slightly different result but it is faster and I like it :-) . Thanks. Cheers. -- This computer is environment-friendly and is running on OpenSuSE 10.1 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Carl William Spitzer IV wrote:
Why is root full?? All I have done is periodic online updates when I installed only about 7gig was taken up.
Use du to see how much is used by /var and /tmp. Those are the most likely suspects. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Carl William Spitzer IV wrote:
Why is root full?? All I have done is periodic online updates when I installed only about 7gig was taken up.
see filelight or kdirstat jdd -- http://www.dodin.net http://dodin.org/galerie_photo_web/expo/index.html http://lucien.dodin.net http://fr.susewiki.org/index.php?title=Gérer_ses_photos -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Why is root full?? All I have done is periodic online updates when I installed only about 7gig was taken up.
Use du to see how much is used by /var and /tmp. Those are the most likely suspects.
And /usr/src/packages if you're into building. Jan Engelhardt -- -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Mon, 2006-07-24 at 18:15 +0200, Jan Engelhardt wrote:
Why is root full?? All I have done is periodic online updates when I installed only about 7gig was taken up.
Use du to see how much is used by /var and /tmp. Those are the most likely suspects.
And /usr/src/packages if you're into building.
I dont have the sources disk. So why is the root so full? I am tempted to reinstall saving only i386. -- ___ _ _ _ ____ _ _ _ | | | | [__ | | | |___ |_|_| ___] | \/ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Mon, 2006-07-24 at 06:59 -0400, James Knott wrote:
Carl William Spitzer IV wrote:
Why is root full?? All I have done is periodic online updates when I installed only about 7gig was taken up.
Use du to see how much is used by /var and /tmp. Those are the most likely suspects.
linux:/home/cwsiv # du -sh /var 607M /var linux:/home/cwsiv # du -sh /tmp/ 1.4G /tmp/ -- ___ _ _ _ ____ _ _ _ | | | | [__ | | | |___ |_|_| ___] | \/ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sun, 2006-07-23 at 16:17 -0700, Carl William Spitzer IV wrote:
Why is root full?? All I have done is periodic online updates when I installed only about 7gig was taken up.
linux:/home/cwsiv # df -h Filesystem Size Used Avail Use% Mounted on /dev/hda5 14G 12G 1.5G 90% / tmpfs 220M 12K 220M 1% /dev/shm /dev/hda3 25G 24G 1.9G 93% /Storage0 /dev/hda4 20G 15G 4.9G 75% /Storage1 /dev/hda1 61M 11M 48M 18% /boot /dev/hda7 16G 15G 920M 95% /home
<snip>
linux:/home/cwsiv # du -sh /usr 3.3G /usr linux:/home/cwsiv # du -sh /opt/ 2.1G /opt/ linux:/home/cwsiv # du -sh /tmp/ 1.4G /tmp/ linux:/home/cwsiv # du -sh /Win32/ 4.2G /Win32/ linux:/home/cwsiv #
Try running du -sk under /usr and /opt to see what is taking up the space. du -sk /usr/* | sort -n du -sk /opt/* | sort -n Under /usr you might find /usr/share/doc being large as most of the docs are stored there. And under /opt the /opt/kde3 might be somewhat big depending on how many kde apps are installed. The four areas you are showing above total 11G and are all on / so it has to be under one of those. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Mon, 2006-07-24 at 15:52 -0400, Ken Schneider wrote:
Try running du -sk under /usr and /opt to see what is taking up the space.
du -sk /usr/* | sort -n du -sk /opt/* | sort -n
linux:/home/cwsiv # du -sk /usr/* | sort -n 0 /usr/tmp 0 /usr/X11 16 /usr/i586-suse-linux 540 /usr/src 4732 /usr/games 22452 /usr/sbin 44580 /usr/local 77216 /usr/include 174812 /usr/bin 604828 /usr/X11R6 1118888 /usr/lib 1335332 /usr/share linux:/home/cwsiv # du -sk /opt/* | sort -n 1404 /opt/MozillaFirefox 2016 /opt/novell 13736 /opt/planmaker 20556 /opt/MainActor_V5 29548 /opt/mozilla 80304 /opt/picasa 284404 /opt/openoffice.org2.0 558564 /opt/gnome 1199716 /opt/kde3 linux:/home/cwsiv # -- _______ _______ _______ __ / ____\ \ / / ____|_ _\ \ / / | | \ \ /\ / / (___ | | \ \ / / | | \ \/ \/ / \___ \ | | \ \/ / | |____ \ /\ / ____) |_| |_ \ / \_____| \/ \/ |_____/|_____| \/ | \ /|\ || |\ / |~~\ /~~\ /~~| //~~\ | \ / | \ || | X |__/| || |( `--. |__ | | \| \_/ / \ | \ \__/ \__| \\__/ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Tue, 2006-07-25 at 10:44 -0700, Carl William Spitzer IV wrote:
On Mon, 2006-07-24 at 15:52 -0400, Ken Schneider wrote:
Try running du -sk under /usr and /opt to see what is taking up the space.
du -sk /usr/* | sort -n du -sk /opt/* | sort -n
linux:/home/cwsiv # du -sk /usr/* | sort -n 0 /usr/tmp 0 /usr/X11 16 /usr/i586-suse-linux 540 /usr/src 4732 /usr/games 22452 /usr/sbin 44580 /usr/local 77216 /usr/include 174812 /usr/bin 604828 /usr/X11R6 1118888 /usr/lib 1335332 /usr/share linux:/home/cwsiv # du -sk /opt/* | sort -n 1404 /opt/MozillaFirefox 2016 /opt/novell 13736 /opt/planmaker 20556 /opt/MainActor_V5 29548 /opt/mozilla 80304 /opt/picasa 284404 /opt/openoffice.org2.0 558564 /opt/gnome 1199716 /opt/kde3 linux:/home/cwsiv #
This looks all right, nothing unusual. The only thing that seems to be taking up a lot of space on your / is the dir you are using for your wine/windows stuff, it is over 3G if my memory isn't totally shot. I usually use du -sk / | sort to look for the dir using the most space, cd to that dir and run du -sk *|sort again looking for the culprit. It's just a matter of investigation. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (12)
-
Alex Hayes
-
Basil Chupin
-
Bob S
-
Carl William Spitzer IV
-
James Knott
-
Jan Engelhardt
-
jdd sur free
-
Joachim Schrod
-
John Andersen
-
Ken Schneider
-
Scott Leighton
-
Stephen Boddy