Re: [newbie] Disk filling up
Now THAT is awesome! I love this OS. It seems there are more ways to skin this cat then you can shake a stick at and they just keep coming! Thanks, I'll give that a try and let you know how I make out. Mark On Friday 22 December 2000 22:24, you wrote: > Mark, > > In the event that you have one or more large files eating > this space, you could use the find command to locate them. > Start high, and keep doing it, dropping the size by a couple > meg each time. The syntax would be like this: > >find / -size x -print > > or to look in your /home directories, use > >find /home -size x -print > > where "x" is the size of the file in blocks (512-byte > blocks, that is). It would be nice to search for files of a > certain size _and_ modification date, but find can't do > that. Maybe locate can? > > Miark > Registered Linux user #197870 > > > > > - Original Message - > From: "Mark Weaver" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, December 21, 2000 2:25 PM > Subject: [newbie] Disk filling up > > > Hi list. > > > > Something strange happened to me today here at work. I > > had received an > > > attachment from someone. It was an MS Powerpoint file. On > > a lark I decided to > > > attempt and open the file with Star Office. I was curious, > > so sue me! > > > Anyway, things didn't go well. X crashed and "something" > > happened that ate up > > > ALL the remaining available space on my /home partition. > > I've checked and > > > rechecked and checked again and for the life of me I can't > > find or figure out > > > what in the world is going on or what is being written to > > that is causeing > > > this. It's very bizzare. What in the world could have > > happened and what can I > > > do to regain the space on my HDD? Before this happened the > > partition was only > > > at 26% used. It is now at 86% and that is after I got rid > > of a bunch of junk > > > files that I know I didn't need. > > > > Thanks in advance, > > -- > > Mark > > > > ..Wisdom begins when the mouth is closed and > > the palms are turned upward.
Re: [newbie] Disk filling up
Mark, In the event that you have one or more large files eating this space, you could use the find command to locate them. Start high, and keep doing it, dropping the size by a couple meg each time. The syntax would be like this: find / -size x -print or to look in your /home directories, use find /home -size x -print where "x" is the size of the file in blocks (512-byte blocks, that is). It would be nice to search for files of a certain size _and_ modification date, but find can't do that. Maybe locate can? Miark Registered Linux user #197870 - Original Message - From: "Mark Weaver" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 21, 2000 2:25 PM Subject: [newbie] Disk filling up > Hi list. > > Something strange happened to me today here at work. I had received an > attachment from someone. It was an MS Powerpoint file. On a lark I decided to > attempt and open the file with Star Office. I was curious, so sue me! > > Anyway, things didn't go well. X crashed and "something" happened that ate up > ALL the remaining available space on my /home partition. I've checked and > rechecked and checked again and for the life of me I can't find or figure out > what in the world is going on or what is being written to that is causeing > this. It's very bizzare. What in the world could have happened and what can I > do to regain the space on my HDD? Before this happened the partition was only > at 26% used. It is now at 86% and that is after I got rid of a bunch of junk > files that I know I didn't need. > > Thanks in advance, > -- > Mark > > ..Wisdom begins when the mouth is closed and > the palms are turned upward. >
Re: [newbie] Disk filling up
Thanks Alex, but that wasn't it either. But we've got to be getting close. This is very weird! Mark On Friday 22 December 2000 11:10, you wrote: > On Friday 22 December 2000 04:29, you wrote: > > Anthony, > > > > Thank you for responding and I really got gassed by doing what you > > suggested. That was pretty awesome except it didn't help me find what > > the cause of filled disk was. It remains a mystery. And I checked > > everything very thoroughly too. I seearched down thru the list twice to > > make sure I didn't skip over anything. > > Just guessing, but since the problem occured while running in X, take a > look at the size of your .xsession-errors file. Everytime that my /home > partition has mysteriously gotten full it was the culprit.
Re: [newbie] Disk filling up
When was the last time you did a fsck on your partition (either automatically or manually) ? Linux should maintain your drive well by itself without any user interaction, but occasionally something can go wrong that Linux misses. Just remember to unmount your partition before fscking it, otherwise you could corrupt the data (fsck has a warning for this), and of course run fsck as root without X running (just in case). On Sat, 23 Dec 2000 02:54, Mark Weaver wrote: > That is some really interesting information, and I've used it, however, I'm > still stuck with the same mystery. "How did this happen; why did it happen; > what was it that happened; and most importantly how do I fix it?" The last > question of course depends very much on "what" happened. I have a feeling > that once I find out the "what" the rest of the questions will quickly be > answered. > > On Friday 22 December 2000 10:32, Sridhar Dhanapalan wrote: > > This is a good method, but it'd be a bit better to use "du -h" (notice > > the lower case 'h'). The difference is that "-H" shows file sizes in > > binary format (1000 bytes = 1 KB, etc.) while "-h" gives binary figures > > (1024 bytes = 1KB). File sizes are supposed to be measured in binary form > > (even Windos does that). Only storage manufacturers use decimal format so > > their devices look bigger. For example, a 20GB drive is always smaller > > than 20GB when you look at the size in your OS. > > > > You may even wish to put "du -h --max-depth=1". The second switch only > > goes one (denoted by the '1', so you can set it to whatever you want) > > level into the directory structure. That way things can be more readable. > > The best thing to do is to start using this line in / (or in your home > > directory if the problem occurred as a user) and then work your way down > > through the directory structure until you find the culprit file(s). > > > > On Sat, 23 Dec 2000 01:18, Chris Cioffi wrote: > > > Actually I think 'du -H' might be more usefull as a first step. This > > > will give you the sizes of each directory. It'll be long, but finding > > > the offending directory will let you find the offending files much > > > quicker. > > > > > > Just my $.02. > > > > > > Chris > > > > > > - Original Message - > > > From: "Anthony" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > > > Sent: Thursday, December 21, 2000 11:58 PM > > > Subject: Re: [newbie] Disk filling up > > > > > > > I know there is a better command than this, but I can't seem to find > > > > it at the moment. Anyways, type "ls -SalR | more" and it'll list all > > > > the files sorted by size in each directory. So you can look and see > > > > which files are taking up the most space. It's seperated by directory > > > > however, so if you > > > > > > have > > > > > > > a lot of directories, then you'll have to read through each one of > > > > them trying to find the biggest files. Perhaps someone else on this > > > > list has > > > > > > the > > > > > > > "real" command that sorts through all the files and picks out the > > > > biggest ones? > > > > > > > > > Hi list. > > > > > > > > > > Something strange happened to me today here at work. I had > > > > > received an attachment from someone. It was an MS Powerpoint file. > > > > > On a lark I > > > > > > decided > > > > > > > > to attempt and open the file with Star Office. I was curious, so > > > > > sue me! > > > > > > > > > > Anyway, things didn't go well. X crashed and "something" happened > > > > > that > > > > > > ate > > > > > > > > up ALL the remaining available space on my /home partition. I've > > > > > checked and rechecked and checked again and for the life of me I > > > > > can't find or figure out what in the world is going on or what is > > > > > being written to > > > > > > that > > > > > > > > is causeing this. It's very bizzare. What in the world could have > > > > > > happened > > > > > > > > and what can I do to regain the space on my HDD? Before this > > > > > happened > > > > > > the > > > > > > > > partition was only at 26% used. It is now at 86% and that is after > > > > > I got rid of a bunch of junk files that I know I didn't need. > > > > > > > > > > Thanks in advance, > > > > > > > > -- > > > > Anthony > > > > http://binaryfusion.net > > > > Press any key to continue, or any other key to quit. -- Sridhar Dhanapalan. Your mouse has moved. Windows must be rebooted to acknowledge this change.
Re: [newbie] Disk filling up
On Friday 22 December 2000 04:29, you wrote: > Anthony, > > Thank you for responding and I really got gassed by doing what you > suggested. That was pretty awesome except it didn't help me find what > the cause of filled disk was. It remains a mystery. And I checked > everything very thoroughly too. I seearched down thru the list twice to > make sure I didn't skip over anything. Just guessing, but since the problem occured while running in X, take a look at the size of your .xsession-errors file. Everytime that my /home partition has mysteriously gotten full it was the culprit. -- Alex (Go easy on me, I'm a COBOL programmer in real life)
Re: [newbie] Disk filling up
This is a good method, but it'd be a bit better to use "du -h" (notice the lower case 'h'). The difference is that "-H" shows file sizes in binary format (1000 bytes = 1 KB, etc.) while "-h" gives binary figures (1024 bytes = 1KB). File sizes are supposed to be measured in binary form (even Windos does that). Only storage manufacturers use decimal format so their devices look bigger. For example, a 20GB drive is always smaller than 20GB when you look at the size in your OS. You may even wish to put "du -h --max-depth=1". The second switch only goes one (denoted by the '1', so you can set it to whatever you want) level into the directory structure. That way things can be more readable. The best thing to do is to start using this line in / (or in your home directory if the problem occurred as a user) and then work your way down through the directory structure until you find the culprit file(s). On Sat, 23 Dec 2000 01:18, Chris Cioffi wrote: > Actually I think 'du -H' might be more usefull as a first step. This will > give you the sizes of each directory. It'll be long, but finding the > offending directory will let you find the offending files much quicker. > > Just my $.02. > > Chris > > - Original Message - > From: "Anthony" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Thursday, December 21, 2000 11:58 PM > Subject: Re: [newbie] Disk filling up > > > I know there is a better command than this, but I can't seem to find it > > at the moment. Anyways, type "ls -SalR | more" and it'll list all the > > files sorted by size in each directory. So you can look and see which > > files are taking up the most space. It's seperated by directory however, > > so if you > > have > > > a lot of directories, then you'll have to read through each one of them > > trying to find the biggest files. Perhaps someone else on this list has > > the > > > "real" command that sorts through all the files and picks out the biggest > > ones? > > > > > Hi list. > > > > > > Something strange happened to me today here at work. I had received an > > > attachment from someone. It was an MS Powerpoint file. On a lark I > > decided > > > > to attempt and open the file with Star Office. I was curious, so sue > > > me! > > > > > > Anyway, things didn't go well. X crashed and "something" happened that > > ate > > > > up ALL the remaining available space on my /home partition. I've > > > checked and rechecked and checked again and for the life of me I can't > > > find or figure out what in the world is going on or what is being > > > written to > > that > > > > is causeing this. It's very bizzare. What in the world could have > > happened > > > > and what can I do to regain the space on my HDD? Before this happened > > the > > > > partition was only at 26% used. It is now at 86% and that is after I > > > got rid of a bunch of junk files that I know I didn't need. > > > > > > Thanks in advance, > > > > -- > > Anthony > > http://binaryfusion.net > > Press any key to continue, or any other key to quit. -- Sridhar Dhanapalan. Your mouse has moved. Windows must be rebooted to acknowledge this change.
Re: [newbie] Disk filling up
That is some really interesting information, and I've used it, however, I'm still stuck with the same mystery. "How did this happen; why did it happen; what was it that happened; and most importantly how do I fix it?" The last question of course depends very much on "what" happened. I have a feeling that once I find out the "what" the rest of the questions will quickly be answered. On Friday 22 December 2000 10:32, Sridhar Dhanapalan wrote: > This is a good method, but it'd be a bit better to use "du -h" (notice the > lower case 'h'). The difference is that "-H" shows file sizes in binary > format (1000 bytes = 1 KB, etc.) while "-h" gives binary figures (1024 > bytes = 1KB). File sizes are supposed to be measured in binary form (even > Windos does that). Only storage manufacturers use decimal format so their > devices look bigger. For example, a 20GB drive is always smaller than 20GB > when you look at the size in your OS. > > You may even wish to put "du -h --max-depth=1". The second switch only goes > one (denoted by the '1', so you can set it to whatever you want) level into > the directory structure. That way things can be more readable. The best > thing to do is to start using this line in / (or in your home directory if > the problem occurred as a user) and then work your way down through the > directory structure until you find the culprit file(s). > > On Sat, 23 Dec 2000 01:18, Chris Cioffi wrote: > > Actually I think 'du -H' might be more usefull as a first step. This > > will give you the sizes of each directory. It'll be long, but finding > > the offending directory will let you find the offending files much > > quicker. > > > > Just my $.02. > > > > Chris > > > > - Original Message - > > From: "Anthony" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > > Sent: Thursday, December 21, 2000 11:58 PM > > Subject: Re: [newbie] Disk filling up > > > > > I know there is a better command than this, but I can't seem to find it > > > at the moment. Anyways, type "ls -SalR | more" and it'll list all the > > > files sorted by size in each directory. So you can look and see which > > > files are taking up the most space. It's seperated by directory > > > however, so if you > > > > have > > > > > a lot of directories, then you'll have to read through each one of them > > > trying to find the biggest files. Perhaps someone else on this list has > > > > the > > > > > "real" command that sorts through all the files and picks out the > > > biggest ones? > > > > > > > Hi list. > > > > > > > > Something strange happened to me today here at work. I had received > > > > an attachment from someone. It was an MS Powerpoint file. On a lark I > > > > decided > > > > > > to attempt and open the file with Star Office. I was curious, so sue > > > > me! > > > > > > > > Anyway, things didn't go well. X crashed and "something" happened > > > > that > > > > ate > > > > > > up ALL the remaining available space on my /home partition. I've > > > > checked and rechecked and checked again and for the life of me I > > > > can't find or figure out what in the world is going on or what is > > > > being written to > > > > that > > > > > > is causeing this. It's very bizzare. What in the world could have > > > > happened > > > > > > and what can I do to regain the space on my HDD? Before this happened > > > > the > > > > > > partition was only at 26% used. It is now at 86% and that is after I > > > > got rid of a bunch of junk files that I know I didn't need. > > > > > > > > Thanks in advance, > > > > > > -- > > > Anthony > > > http://binaryfusion.net > > > Press any key to continue, or any other key to quit. -- Mark ..Wisdom begins when the mouth is closed and the palms are turned upward.
Re: [newbie] Disk filling up
Anthony, Thank you for responding and I really got gassed by doing what you suggested. That was pretty awesome except it didn't help me find what the cause of filled disk was. It remains a mystery. And I checked everything very thoroughly too. I seearched down thru the list twice to make sure I didn't skip over anything. -- Mark ### ## ...it's not a bug, it's a feature ## Registered Linux User # 182496 ## # On Thu, 21 Dec 2000 Anthony spake passionately saying: > I know there is a better command than this, but I can't seem to find it at > the moment. Anyways, type "ls -SalR | more" and it'll list all the files > sorted by size in each directory. So you can look and see which files are > taking up the most space. It's seperated by directory however, so if you have > a lot of directories, then you'll have to read through each one of them > trying to find the biggest files. Perhaps someone else on this list has the > "real" command that sorts through all the files and picks out the biggest > ones? > > > Hi list. > > > > Something strange happened to me today here at work. I had received an > > attachment from someone. It was an MS Powerpoint file. On a lark I decided > > to attempt and open the file with Star Office. I was curious, so sue me! > > > > Anyway, things didn't go well. X crashed and "something" happened that ate > > up ALL the remaining available space on my /home partition. I've checked > > and rechecked and checked again and for the life of me I can't find or > > figure out what in the world is going on or what is being written to that > > is causeing this. It's very bizzare. What in the world could have happened > > and what can I do to regain the space on my HDD? Before this happened the > > partition was only at 26% used. It is now at 86% and that is after I got > > rid of a bunch of junk files that I know I didn't need. > > > > Thanks in advance, > >
Re: [newbie] Disk filling up
Actually I think 'du -H' might be more usefull as a first step. This will give you the sizes of each directory. It'll be long, but finding the offending directory will let you find the offending files much quicker. Just my $.02. Chris - Original Message - From: "Anthony" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, December 21, 2000 11:58 PM Subject: Re: [newbie] Disk filling up > I know there is a better command than this, but I can't seem to find it at > the moment. Anyways, type "ls -SalR | more" and it'll list all the files > sorted by size in each directory. So you can look and see which files are > taking up the most space. It's seperated by directory however, so if you have > a lot of directories, then you'll have to read through each one of them > trying to find the biggest files. Perhaps someone else on this list has the > "real" command that sorts through all the files and picks out the biggest > ones? > > > Hi list. > > > > Something strange happened to me today here at work. I had received an > > attachment from someone. It was an MS Powerpoint file. On a lark I decided > > to attempt and open the file with Star Office. I was curious, so sue me! > > > > Anyway, things didn't go well. X crashed and "something" happened that ate > > up ALL the remaining available space on my /home partition. I've checked > > and rechecked and checked again and for the life of me I can't find or > > figure out what in the world is going on or what is being written to that > > is causeing this. It's very bizzare. What in the world could have happened > > and what can I do to regain the space on my HDD? Before this happened the > > partition was only at 26% used. It is now at 86% and that is after I got > > rid of a bunch of junk files that I know I didn't need. > > > > Thanks in advance, > > -- > Anthony > http://binaryfusion.net > Press any key to continue, or any other key to quit. > >
Re: [newbie] Disk filling up
Mark Weaver wrote: > > Hi list. > > Something strange happened to me today here at work. I had received an > attachment from someone. It was an MS Powerpoint file. On a lark I decided to > attempt and open the file with Star Office. I was curious, so sue me! > > Anyway, things didn't go well. X crashed and "something" happened that ate up > ALL the remaining available space on my /home partition. I've checked and > rechecked and checked again and for the life of me I can't find or figure out > what in the world is going on or what is being written to that is causeing > this. It's very bizzare. What in the world could have happened and what can I > do to regain the space on my HDD? Before this happened the partition was only > at 26% used. It is now at 86% and that is after I got rid of a bunch of junk > files that I know I didn't need. > > Thanks in advance, > -- > Mark > > ..Wisdom begins when the mouth is closed and > the palms are turned upward. ext2 bug It doesn't resize well. So a directory will bloat gut not beacome small again! So copy all your files from /home/yourhome i.e cp /home/yourhome/* /bakup I create a directory in / called backup (mkdir /backup) now recreate all your directories in home and selectively copy the files back Plz let me know how it went Just remember to delete /backup afterwards or /partition will run uot of space!!! Cheers Stefaans
Re: [newbie] Disk filling up
I know there is a better command than this, but I can't seem to find it at the moment. Anyways, type "ls -SalR | more" and it'll list all the files sorted by size in each directory. So you can look and see which files are taking up the most space. It's seperated by directory however, so if you have a lot of directories, then you'll have to read through each one of them trying to find the biggest files. Perhaps someone else on this list has the "real" command that sorts through all the files and picks out the biggest ones? > Hi list. > > Something strange happened to me today here at work. I had received an > attachment from someone. It was an MS Powerpoint file. On a lark I decided > to attempt and open the file with Star Office. I was curious, so sue me! > > Anyway, things didn't go well. X crashed and "something" happened that ate > up ALL the remaining available space on my /home partition. I've checked > and rechecked and checked again and for the life of me I can't find or > figure out what in the world is going on or what is being written to that > is causeing this. It's very bizzare. What in the world could have happened > and what can I do to regain the space on my HDD? Before this happened the > partition was only at 26% used. It is now at 86% and that is after I got > rid of a bunch of junk files that I know I didn't need. > > Thanks in advance, -- Anthony http://binaryfusion.net Press any key to continue, or any other key to quit.
Re: [newbie] Disk filling up
Look for a file named "core" or one that begins with "core". These are core dumps, left for debugging purposes but are of little use to us. They are most often left in your user directory. They can be safely deleted. On Fri, 22 Dec 2000 08:25, Mark Weaver wrote: > Hi list. > > Something strange happened to me today here at work. I had received an > attachment from someone. It was an MS Powerpoint file. On a lark I decided > to attempt and open the file with Star Office. I was curious, so sue me! > > Anyway, things didn't go well. X crashed and "something" happened that ate > up ALL the remaining available space on my /home partition. I've checked > and rechecked and checked again and for the life of me I can't find or > figure out what in the world is going on or what is being written to that > is causeing this. It's very bizzare. What in the world could have happened > and what can I do to regain the space on my HDD? Before this happened the > partition was only at 26% used. It is now at 86% and that is after I got > rid of a bunch of junk files that I know I didn't need. > > Thanks in advance, -- Sridhar Dhanapalan. Your mouse has moved. Windows must be rebooted to acknowledge this change.