Hello Suse people, Running 11.0 with KDE3.5. I keep getting constant warnings that my /home partition is 99% full. Of course it is not. But.......my / partition is,..... according to KDiskFree . That partition is 15GB. Almost impossible. My /home, /var. and /tmp are all on there own separate partitions and are a fraction of their usabe space. I have looked and looked. I cannot find anything that could possibly take up that much space on the / partition. This happened to me a few years ago, on 9.0 or 9.1 and it was eventually resolved, but darned if I can remember how or what it was or the commands the good folks on this list suggested that I use to solve the problem. Anyone for ideas on how to figure out what is going on? Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Bob S pecked at the keyboard and wrote:
Hello Suse people,
Running 11.0 with KDE3.5.
I keep getting constant warnings that my /home partition is 99% full. Of course it is not. But.......my / partition is,..... according to KDiskFree . That partition is 15GB. Almost impossible. My /home, /var. and /tmp are all on there own separate partitions and are a fraction of their usabe space.
I have looked and looked. I cannot find anything that could possibly take up that much space on the / partition.
This happened to me a few years ago, on 9.0 or 9.1 and it was eventually resolved, but darned if I can remember how or what it was or the commands the good folks on this list suggested that I use to solve the problem.
Anyone for ideas on how to figure out what is going on?
Bob S
I always cd to / and then use du -sk | sort -n to find the dir using the most space and then start drilling down till I find the culprit file. It might not be the best or fastest but it works for me. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On October 24, 2009, Ken Schneider - openSUSE wrote:
Bob S pecked at the keyboard and wrote:
Hello Suse people,
Running 11.0 with KDE3.5.
I keep getting constant warnings that my /home partition is 99% full. Of course it is not. But.......my / partition is,..... according to
Anyone for ideas on how to figure out what is going on?
Bob S
I always cd to / and then use du -sk | sort -n to find the dir using the
I use du -k --max-depth=2 | sort -n the -s gives you a total disk space used not by directory ran it today and found that a NFS mount failed during a backup and it was written to /mnt/Backup instead so I had an extra copy of /usr and /home there instead of the external device. -- Collector of vintage computers http://www.ncf.ca/~ba600 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 24 October 2009 14:23:58 Mike wrote:
On October 24, 2009, Ken Schneider - openSUSE wrote:
Bob S pecked at the keyboard and wrote:
Hello Suse people,
Running 11.0 with KDE3.5.
I keep getting constant warnings that my /home partition is 99% full. Of course it is not. But.......my / partition is,..... according to
Anyone for ideas on how to figure out what is going on?
Bob S
I always cd to / and then use du -sk | sort -n to find the dir using the
I use du -k --max-depth=2 | sort -n
the -s gives you a total disk space used not by directory
ran it today and found that a NFS mount failed during a backup and it was written to /mnt/Backup instead so I had an extra copy of /usr and /home there instead of the external device.
Ken and Mike. I ran the commands you each kindly provided me. The one Ken provided just returned an "8036". I ran the command Mike provided and got hundreds of lines which I don't understand. Boy, it took forever. Went and ate my supper while waiting. Is that first part of the line the size in bytes? Here are the last 20 lines and I will explain some about what is there: 2430176 ./10.2/usr 3247204 ./workspace 3333220 ./usr 3592832 ./10.3/10.2 3611508 ./10.2 4265584 ./datastorage/openSUSE-10.3-GM-DVD-x86_64-iso 4312556 ./home/bob 4397988 ./10.3home/bob 4547144 ./datastorage/openSUSE-11.0-DVD-x86_64-iso 4675400 ./10.3home 4798220 ./home 4871272 ./10.3usr 4987248 ./fat/usr 6607580 ./10.2home/bob 6625960 ./10.2home 6937992 ./fat 9374692 ./10.3/media 14131728 ./10.3 14512932 ./datastorage 75112312 . Easystreet:/ # We are seeing 3 different disks here. Any of those designated 10.2, 10.3. workspace, and datastorage are on different drives. The one that concerns me is the last entry the . partition. Somebody can tell me what I am looking at here, please, and is the problem evident? Another dumb thought just occured to me. Does dd and rsync make temporary files? Bob S PS to Dave Rankin. I looked at every one of those log files. PS to Anton. I also followed your advice to no avail. Nothing strange. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Bob S <911@sanctum.com> [10-25-09 22:29]:
75112312 .
We are seeing 3 different disks here. Any of those designated 10.2, 10.3. workspace, and datastorage are on different drives. The one that concerns me is the last entry the . partition.
the "." directory is the "present working directory, pwd". You can get it's location by issuing "pwd" w/o the quote marks from a command line.
Somebody can tell me what I am looking at here, please, and is the problem evident?
Another dumb thought just occured to me. Does dd and rsync make temporary files?
Bob S
PS to Dave Rankin. I looked at every one of those log files. PS to Anton. I also followed your advice to no avail. Nothing strange.
You will have more luck resolving your difficulties if you respond the the particular posts individually concisely answering the questions inline with the information requested rather than combining your answers and referencing other posts. You are asking for help, do not expect other to have to go out of their way to understand your problems. -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 25 October 2009 22:37:40 Patrick Shanahan wrote:
* Bob S <911@sanctum.com> [10-25-09 22:29]:
75112312 .
We are seeing 3 different disks here. Any of those designated 10.2, 10.3. workspace, and datastorage are on different drives. The one that concerns me is the last entry the . partition.
the "." directory is the "present working directory, pwd". You can get it's location by issuing "pwd" w/o the quote marks from a command line.
Yes, and that gives me the "/" or root/primary/basic directory that I know is the filled partition. How does that help me? What does that number 75112312 mean?
Somebody can tell me what I am looking at here, please, and is the problem evident?
Another dumb thought just occured to me. Does dd and rsync make temporary files?
Bob S
PS to Dave Rankin. I looked at every one of those log files. PS to Anton. I also followed your advice to no avail. Nothing strange.
You will have more luck resolving your difficulties if you respond the the particular posts individually concisely answering the questions inline with the information requested rather than combining your answers and referencing other posts. You are asking for help, do not expect other to have to go out of their way to understand your problems.
C'mon Patrick you are being obtuse again. I am trying very hard to present the info as it is asked for without 6 or 7 different replies. If you take notice I have made 3 different responses on this thread alone tonight. To Aaron, Carlos. and Mike.Trying not to get responders searching the whole thread but notifying them that I have listened to them rather than ignoring their offered helpful advice. Now, what can you contribute to my requests except for criticism of my style? Do those numbers mean anything to you? Is it any clue to you what the problem is? If so, I would like you to demonstrate your expertise and to hear about it. Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Bob S pecked at the keyboard and wrote:
On Sunday 25 October 2009 22:37:40 Patrick Shanahan wrote:
* Bob S <911@sanctum.com> [10-25-09 22:29]:
75112312 .
The number is the amount of space used on the "." partition which is the partition belonging to the directory you were in when you ran the command du -k | sort -n. What is the size of the "/" partition? -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 26 October 2009 07:28:52 Ken Schneider - openSUSE wrote:
Bob S pecked at the keyboard and wrote:
On Sunday 25 October 2009 22:37:40 Patrick Shanahan wrote:
* Bob S <911@sanctum.com> [10-25-09 22:29]:
75112312 .
The number is the amount of space used on the "." partition which is the partition belonging to the directory you were in when you ran the command du -k | sort -n. What is the size of the "/" partition?
ken, If I understand you correctly that is /dev/sdb1 (Label 11.0) and is 10GB Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Bob S pecked at the keyboard and wrote:
On Monday 26 October 2009 07:28:52 Ken Schneider - openSUSE wrote:
On Sunday 25 October 2009 22:37:40 Patrick Shanahan wrote:
* Bob S <911@sanctum.com> [10-25-09 22:29]:
75112312 . The number is the amount of space used on the "." partition which is the
Bob S pecked at the keyboard and wrote: partition belonging to the directory you were in when you ran the command du -k | sort -n. What is the size of the "/" partition?
ken,
If I understand you correctly that is /dev/sdb1 (Label 11.0) and is 10GB
Bob S
Bob, For complete clarity please send me the *full* results of the following: cd / && du -sk * | sort -n df If you want to send them to me in a private email that is fine and might be better to cut down on "noise" that other list members complain about. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Bob S said the following on 10/26/2009 03:45 AM:
Yes, and that gives me the "/" or root/primary/basic directory that I know is the filled partition. How does that help me? What does that number 75112312 mean?
I don't mean to be insulting, but have you read the manual page for du?
From the POSIX version ( :-) )
By default, the du utility shall write to standard output the size of the file space allocated to, and the size of the file space allocated to each subdirectory of, the file hierarchy rooted in each of the specified files. and -s Instead of the default output, report only the total sum for each of the specified files. Does that explain the numbers? -- "If you spend more on coffee than on IT security, then you will be hacked. What's more, you deserve to be hacked." - Richard Clarke, the special adviser to the president on cybersecurity -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 26 October 2009 07:39:44 Anton Aylward wrote:
Bob S said the following on 10/26/2009 03:45 AM:
Yes, and that gives me the "/" or root/primary/basic directory that I know is the filled partition. How does that help me? What does that number 75112312 mean?
I don't mean to be insulting, but have you read the manual page for du?
No, not insulting at all. Some things need to be clarified Yes I have read the man page but quite some time ago and recognized the du command and did not go back to verify the command. options I am not very good at understanding man pages though while getting senile at the same time.
From the POSIX version ( :-) )
By default, the du utility shall write to standard output the size of the file space allocated to, and the size of the file space allocated to each subdirectory of, the file hierarchy rooted in each of the specified files.
and
-s Instead of the default output, report only the total sum for each of the specified files.
Does that explain the numbers?
Well, I am not sure. When I use the -s option I get a single line with the number 8032. 8032 what? That number doesn't seem right to me. When I use the du -k --max-depth=2 | sort -n I get that huge long list of partitions and numbers which the last of is the . partition and the number is 75112312. I would just like to understand what I am looking at. Never mind though, I am about to go follow your advice from your next email giving me a procedure to follow. I do remember using the -x option in single user mode and seeing three very large hidden .thumbnail files though. Probably post the results of your advice tomorrow. Getting pretty late here now. Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Bob S said the following on 10/26/2009 11:47 PM:
Does that explain the numbers?
Well, I am not sure. When I use the -s option I get a single line with the number 8032.
If you use 'find / -type f -ls' it will list EVERY file. You OK with that? Well, no, its a long coffee break, so limit the depth and only list directories. Now take the date stamp off, the owner, group and type, leaving just the file size and file name. You can do that with 'sed' but why bother when you can find / -type f -print | xargs du -k You see how we got here now? Just as 'find' can limit depth and restrict to one file system, so can 'du'. See the manual pages.
8032 what? That number doesn't seem right to me. When I use the du -k --max-depth=2 | sort -n I get that huge long list of partitions and numbers which the last of is the . partition and the number is 75112312. I would just like to understand what I am looking at.
The implicit option you've been using is -B, --block-size=SIZE use SIZE-byte blocks but in KILObytes since -k like --block-size=1K So that number is the number of KILObytes of disk space used by files under that directory. See the manual page. See also -c, --total produce a grand total If you don't want the details along the way You do, since you want to find out where on the root FS the space is. You were asked for the plain number so that it could be numerically sorted. Its also available in human readable form but that isn't sortable -h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G) Try du -h --max-depth=2 and satisfy ourself that the numbers are meaningful. They may even look reasonable :-) Now see how that completely screws up with du -h --max-depth=2 | sort -n Human readable isn't sortable. This isn't anything world shaking. You really DO need to learn to read the manual pages. They may not be great literature, but as I've illustrated the key information is there and its not particularly obscured... One difference between using something like 'find' and the command line. The shell basic wildcard sorts the files POSIXly but doesn't include the hidden files. If you want the hidden files you have to use a specific pattern as per my previous post. 'find' does a treewalk and gets to look at everything its told and its wildcard is inclusive, so find . -type f -print **WILL* include hidden files and directories. This applies to 'du' as well. It walks the tree. Limits like '-mount' and '--max-depth' limit the treewalking. -- Every great advance in natural knowledge has involved the absolute rejection of authority. Thomas H. Huxley -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Bob S said the following on 10/25/2009 10:28 PM:
I ran the commands you each kindly provided me. The one Ken provided just returned an "8036". I ran the command Mike provided and got hundreds of lines which I don't understand. Boy, it took forever. Went and ate my supper while waiting.
Is that first part of the line the size in bytes?
That's what the manual page says. I'm inclined to believe it in the absence of other evidence. Here are the last 20 lines
and I will explain some about what is there:
... 3333220 ./usr ... 4312556 ./home/bob ... 4798220 ./home ... 6937992 ./fat ... .... 75112312 . Easystreet:/ #
We are seeing 3 different disks here. Any of those designated 10.2, 10.3. workspace, and datastorage are on different drives.
OK so we can ignore those. We can also ignore their contribution to the last line. However I need to be reminded as to what partitions are mounted. If /usr or /home is on the root FS (or have links that end up there!) then that could be a source of the size of the partition. It would have been easier if you had done this in single user mode with all the other partitions unmounted -- cd / init 1 login as root umount -a then run the du
PS to Dave Rankin. I looked at every one of those log files. PS to Anton. I also followed your advice to no avail. Nothing strange.
Ok, so nothing in the root's /tmp But my point about unmounting all the file systems and not running any processes that might be creating temporary files is part of the detective process. (I'm perfectly aware of the '-mount option in 'find' and the '-x' option in 'du') Next up, "Hidden Files" One again, do the cd / init 1 login as root umount -a Now cd / find / -name '.[a-z0-9]*' -print | du -s With a couple of exceptions such as .mozilla, .kde, .gnome and such like there should be nothing there above single digits. -- "Meanwhile, come what may, Colonel Moran will trouble us no more. The famous air-gun of Von Herder will embellish the Scotland Yard Museum, and once again Mr. Sherlock Holmes is free to devote his life to examining those interesting little problems which the complex life of London so plentifully presents." -- Sherlock Holmes, in "The Adventure of the Empty House" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2009-10-24 at 01:13 -0400, Bob S wrote:
Anyone for ideas on how to figure out what is going on?
There is kdirstat, baobab, filelight... - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkri+DoACgkQtTMYHG2NR9Va4ACePutZJ0wJSa394BmrVFggjzKE Nb8An05EseVKbIh9ra++w5ioo/PllCDP =FxOd -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On October 23, 2009 10:13:32 pm Bob S wrote:
Hello Suse people,
Running 11.0 with KDE3.5.
I keep getting constant warnings that my /home partition is 99% full. Of course it is not. But.......my / partition is,..... according to KDiskFree . That partition is 15GB. Almost impossible. My /home, /var. and /tmp are all on there own separate partitions and are a fraction of their usabe space.
I have looked and looked. I cannot find anything that could possibly take up that much space on the / partition.
This happened to me a few years ago, on 9.0 or 9.1 and it was eventually resolved, but darned if I can remember how or what it was or the commands the good folks on this list suggested that I use to solve the problem.
Anyone for ideas on how to figure out what is going on?
Bob S
What may be happening is that your trash may be filled and you need to clean out the trash. I don't use KDE4 but in KDE3 just right click on the trash can and empty it. -- Bob Smits, bob@rsmits.ca -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Robert Smits said the following on 10/24/2009 01:18 PM:
On October 23, 2009 10:13:32 pm Bob S wrote:
Hello Suse people,
Running 11.0 with KDE3.5.
I keep getting constant warnings that my /home partition is 99% full. Of course it is not. But.......my / partition is,..... according to KDiskFree . That partition is 15GB. Almost impossible. My /home, /var. and /tmp are all on there own separate partitions and are a fraction of their usabe space.
I have looked and looked. I cannot find anything that could possibly take up that much space on the / partition.
This happened to me a few years ago, on 9.0 or 9.1 and it was eventually resolved, but darned if I can remember how or what it was or the commands the good folks on this list suggested that I use to solve the problem.
Anyone for ideas on how to figure out what is going on?
Bob S
What may be happening is that your trash may be filled and you need to clean out the trash. I don't use KDE4 but in KDE3 just right click on the trash can and empty it.
Or /tmp. Its a good idea to have /tmp on a separate file system. Its also a good idea to clean out /tmp on reboot :-) However if you have /dev/TMP /tmp ext3 noacl 1 3 or similar in your /etc/fstab then you may have, for some reason, the /tmp on the root fs full of stuff that you can't see when the /dev/TMP is mounted over it. BTDT, lost the t-shirt. Heck,it didn't fit anyway. -- Tortoise: 'How many talking tortoises have you met?' Brutha: 'I don't know.' Tortoise: 'What d'you mean, you don't know?' Brutha: 'Well, they might all talk. They just might not say anything when I'm there.' -- "Small Gods", Terry Pratchett -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 24 October 2009 12:13:32 am Bob S wrote:
Hello Suse people,
Running 11.0 with KDE3.5.
I keep getting constant warnings that my /home partition is 99% full. Of course it is not. But.......my / partition is,..... according to KDiskFree . That partition is 15GB. Almost impossible. My /home, /var. and /tmp are all on there own separate partitions and are a fraction of their usabe space.
I have looked and looked. I cannot find anything that could possibly take up that much space on the / partition.
This happened to me a few years ago, on 9.0 or 9.1 and it was eventually resolved, but darned if I can remember how or what it was or the commands the good folks on this list suggested that I use to solve the problem.
Anyone for ideas on how to figure out what is going on?
Bob S
Check you /var/log directory. There was a log that wasn't getting rotated that was filling up root partitions quite a bit. I can't even remember which one it was. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (8)
-
Anton Aylward
-
Bob S
-
Carlos E. R.
-
David C. Rankin
-
Ken Schneider - openSUSE
-
Mike
-
Patrick Shanahan
-
Robert Smits