Re: [newbie] Can't login to X due to no room on root (/)
On Thursday 18 December 2003 08:10 pm, Trey Sizemore wrote: TS I have gotten rid of some large files in /var/log, /tmp is empty and I TS still have my 5.9G of / used up. Until I can track down where the TS excessively large file(s) is/are, I wanted to 'reallocate' some of my TS /home partition (currently using 14%) to give to / so I can boot into X TS (then KDE). Trey, how about doing this (go to / to get everything, and be root to see everything): du -h | grep [0-9]M this will show you all directories larger than 1 MB (but smaller than 1GB) or you can issue du -h | grep [0-9][0-9]M this will show you all directories larger than 9 MB and du -h | grep [0-9][0-9][0-9] for larger than 99MB etc. if you want only directories between 9MB and 99MB do this du -h | grep [0-9][0-9]M | grep -v [0-9][0-9][0-9]M Maybe this will help you locate where all your drive space is going? -- /\ DarkLord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
On Fri, Dec 19, 2003 at 09:19:21AM -0500, Ronald J. Hall wrote: On Thursday 18 December 2003 08:10 pm, Trey Sizemore wrote: TS I have gotten rid of some large files in /var/log, /tmp is empty and I TS still have my 5.9G of / used up. Until I can track down where the TS excessively large file(s) is/are, I wanted to 'reallocate' some of my TS /home partition (currently using 14%) to give to / so I can boot into X TS (then KDE). Trey, how about doing this (go to / to get everything, and be root to see everything): This won't help you since you can't get into X, but ... A while back I made a checkinstall rpm for dutree, a du visualization tool. It's pretty nifty. Screenshot: http://clevername.homeip.net/mdk/dutree.png Download from http://clevername.homeip.net/mdk/ It's ~ 60K so it doesn't take much space. Todd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
On Friday 19 December 2003 09:28 am, Todd Slater wrote: TS This won't help you since you can't get into X, but ... Er...this was from a shell. X is irrelevant... :-) TS A while back I made a checkinstall rpm for dutree, a du visualization TS tool. It's pretty nifty. Screenshot: TS http://clevername.homeip.net/mdk/dutree.png TS Download from http://clevername.homeip.net/mdk/ TS TS It's ~ 60K so it doesn't take much space. TS TS Todd TS TS Thanks for the link! -- /\ DarkLord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
On Fri, Dec 19, 2003 at 10:14:06AM -0500, Ronald J. Hall wrote: On Friday 19 December 2003 09:28 am, Todd Slater wrote: TS This won't help you since you can't get into X, but ... Er...this was from a shell. X is irrelevant... :-) Right, which is why I prefaced my response with This won't help you since you can't get into X, but ... (see above) :) t Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
On Friday 19 December 2003 11:18 am, Todd Slater wrote: TS On Fri, Dec 19, 2003 at 10:14:06AM -0500, Ronald J. Hall wrote: TS On Friday 19 December 2003 09:28 am, Todd Slater wrote: TS TS TS This won't help you since you can't get into X, but ... TS TS Er...this was from a shell. X is irrelevant... :-) TS TS Right, which is why I prefaced my response with TS TS This won't help you since you can't get into X, but ... TS TS (see above) :) TS TS t TS TS Thats funny Todd - I misread what you meant - totally. I thought you were saying since we couldn't get into X, that du wouldn't work. Oh well, tis what I get for reading my mail after working 12 hour nightshifts. grin Later... (after some sleep):-) -- /\ DarkLord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
On Fri, Dec 19, 2003 at 11:47:28AM -0500, Ronald J. Hall wrote: On Friday 19 December 2003 11:18 am, Todd Slater wrote: TS On Fri, Dec 19, 2003 at 10:14:06AM -0500, Ronald J. Hall wrote: TS On Friday 19 December 2003 09:28 am, Todd Slater wrote: TS TS TS This won't help you since you can't get into X, but ... TS TS Er...this was from a shell. X is irrelevant... :-) TS TS Right, which is why I prefaced my response with TS TS This won't help you since you can't get into X, but ... TS TS (see above) :) Thats funny Todd - I misread what you meant - totally. I thought you were saying since we couldn't get into X, that du wouldn't work. Oh well, tis what I get for reading my mail after working 12 hour nightshifts. grin Later... (after some sleep):-) No prob--I figured it was just a misunderstanding--same happens to me. Heck, most folks don't understand anything I say anyway! (I have the unique ability not only to be uncomfortable in social settings but online as well! There a pill for that?) Todd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
On Friday 19 December 2003 03:11 pm, Todd Slater wrote: TS No prob--I figured it was just a misunderstanding--same happens to me. TS Heck, most folks don't understand anything I say anyway! (I have the TS unique ability not only to be uncomfortable in social settings but TS online as well! There a pill for that?) TS TS Todd Just gotta ask, do you feel more comfortable *here* (the Mandrake community) than anywhere else? I do... Sad I know, but true... :-) PS well...except when I'm holding my 22 month old baby girl! :- -- /\ DarkLord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
On Sat, 20 Dec 2003 03:47 am, many eyes noted that Ronald J. Hall wrote: On Friday 19 December 2003 11:18 am, Todd Slater wrote: TS On Fri, Dec 19, 2003 at 10:14:06AM -0500, Ronald J. Hall wrote: TS On Friday 19 December 2003 09:28 am, Todd Slater wrote: TS TS TS This won't help you since you can't get into X, but ... TS TS Er...this was from a shell. X is irrelevant... :-) TS TS Right, which is why I prefaced my response with TS TS This won't help you since you can't get into X, but ... TS TS (see above) :) TS TS t TS TS Thats funny Todd - I misread what you meant - totally. I thought you were saying since we couldn't get into X, that du wouldn't work. Oh well, tis what I get for reading my mail after working 12 hour nightshifts. grin Later... (after some sleep):-) I must also be tired because I read it the same way and couldn't figure out what it meant, thinking this was for the above, This won't help you since you can't get into X, but ... and the following link was so that du could be run and viewed. Charlie -- I must create a system or be enslaved by another man's. I will not reason and compare; My business is to create. - William Blake This email is guaranteed to be wholly Linux Mandrake 9.1, Kmail v1.5 and OpenOffice.org1.1.0 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
Lee Wiggers wrote: On Wed, 17 Dec 2003 11:19:59 +0200 robin [EMAIL PROTECTED] wrote: Derek Jennings wrote: On Tuesday 16 Dec 2003 4:24 pm, Trey Sizemore wrote: Computer was working like a champ a few days ago. Tried to start backup yesterday and saw one of the messages during boot up say something tothe effect of (sorry not in front of the machine now): No room on / [0] expecting [2] I haven't done anything new to the setup or installed/upgraded anythingnew. Something I thought was weird (and I'm sure it's just my understanding),but when I did an 'ls -al' on my /home directory, I remembered that Istill have a couple of .iso images taking up some space (this is a 25GBdrive). So just out of curiosity I deleted them freeing up a couple ofgigs. But when I restarted the machine I got the same message aboutroot (/) being full then taking me to the CLI login after some failedattempts to start X. Just looking for some next steps and ultimately finding out why thishappened. Thanks. If those iso images were on a different partition that could explain why deleting them did not help. There could be a few things using up your / partition. You may have some core dumps. Look in /root, / , or /home for any file beginning with 'core' They may be safely deleted. It could also be your logs have reached a vast size. Look in /var/log for huge log files. To stop your log files becoming huge install the anacron package. It will make the 'logrotate' job run daily to compress and delete old logs. It's worth checking /tmp as well. Running tmpwatch (as root) will clean up files in /tmp that are older than a time you specify e.g. tmpwatch -vs 5 /tmp will clean up any files older than five hours which aren't currently open and print a list of deleted files. Sir Robin -- Certitude is possible for those who only own one encyclopedia. - Robert Anton Wilson Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin For future ref try kdirstat. I run it now and then to get an idea how the file system is shaping up. I just ran it and noticed that OpenOffice is a little piggy. Lee I have gotten rid of some large files in /var/log, /tmp is empty and I still have my 5.9G of / used up. Until I can track down where the excessively large file(s) is/are, I wanted to 'reallocate' some of my /home partition (currently using 14%) to give to / so I can boot into X (then KDE). I understand from some research that parted can be used for this, but was unsure of the command(s) to essentially give 2G to the / partition. Would anyone be able to help? Thanks a lot. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/) - FIXED
Trey Sizemore wrote: Lee Wiggers wrote: On Wed, 17 Dec 2003 11:19:59 +0200 robin [EMAIL PROTECTED] wrote: Derek Jennings wrote: On Tuesday 16 Dec 2003 4:24 pm, Trey Sizemore wrote: Computer was working like a champ a few days ago. Tried to start backup yesterday and saw one of the messages during boot up say something tothe effect of (sorry not in front of the machine now): No room on / [0] expecting [2] I haven't done anything new to the setup or installed/upgraded anythingnew. Something I thought was weird (and I'm sure it's just my understanding),but when I did an 'ls -al' on my /home directory, I remembered that Istill have a couple of .iso images taking up some space (this is a 25GBdrive). So just out of curiosity I deleted them freeing up a couple ofgigs. But when I restarted the machine I got the same message aboutroot (/) being full then taking me to the CLI login after some failedattempts to start X. Just looking for some next steps and ultimately finding out why thishappened. Thanks. If those iso images were on a different partition that could explain why deleting them did not help. There could be a few things using up your / partition. You may have some core dumps. Look in /root, / , or /home for any file beginning with 'core' They may be safely deleted. It could also be your logs have reached a vast size. Look in /var/log for huge log files. To stop your log files becoming huge install the anacron package. It will make the 'logrotate' job run daily to compress and delete old logs. It's worth checking /tmp as well. Running tmpwatch (as root) will clean up files in /tmp that are older than a time you specify e.g. tmpwatch -vs 5 /tmp will clean up any files older than five hours which aren't currently open and print a list of deleted files. Sir Robin -- Certitude is possible for those who only own one encyclopedia. - Robert Anton Wilson Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin For future ref try kdirstat. I run it now and then to get an idea how the file system is shaping up. I just ran it and noticed that OpenOffice is a little piggy. Lee I have gotten rid of some large files in /var/log, /tmp is empty and I still have my 5.9G of / used up. Until I can track down where the excessively large file(s) is/are, I wanted to 'reallocate' some of my /home partition (currently using 14%) to give to / so I can boot into X (then KDE). I understand from some research that parted can be used for this, but was unsure of the command(s) to essentially give 2G to the / partition. Would anyone be able to help? Thanks a lot. After doing a 'find / -mount -size +50k -print' I found a /backup directory that contained the Mandrake 9.2 3-disk set. I moved them to my home partition and now all seems well. With the freely allocated space available, I am now able to start the X server. Thanks to everyone for their helpful suggestions! Yippee! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
Derek Jennings wrote: On Tuesday 16 Dec 2003 4:24 pm, Trey Sizemore wrote: Computer was working like a champ a few days ago. Tried to start back up yesterday and saw one of the messages during boot up say something to the effect of (sorry not in front of the machine now): No room on / [0] expecting [2] I haven't done anything new to the setup or installed/upgraded anything new. Something I thought was weird (and I'm sure it's just my understanding), but when I did an 'ls -al' on my /home directory, I remembered that I still have a couple of .iso images taking up some space (this is a 25GB drive). So just out of curiosity I deleted them freeing up a couple of gigs. But when I restarted the machine I got the same message about root (/) being full then taking me to the CLI login after some failed attempts to start X. Just looking for some next steps and ultimately finding out why this happened. Thanks. If those iso images were on a different partition that could explain why deleting them did not help. There could be a few things using up your / partition. You may have some core dumps. Look in /root, / , or /home for any file beginning with 'core' They may be safely deleted. It could also be your logs have reached a vast size. Look in /var/log for huge log files. To stop your log files becoming huge install the anacron package. It will make the 'logrotate' job run daily to compress and delete old logs. It's worth checking /tmp as well. Running tmpwatch (as root) will clean up files in /tmp that are older than a time you specify e.g. tmpwatch -vs 5 /tmp will clean up any files older than five hours which aren't currently open and print a list of deleted files. Sir Robin -- Certitude is possible for those who only own one encyclopedia. - Robert Anton Wilson Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
On Wed, 17 Dec 2003 11:19:59 +0200 robin [EMAIL PROTECTED] wrote: Derek Jennings wrote: On Tuesday 16 Dec 2003 4:24 pm, Trey Sizemore wrote: Computer was working like a champ a few days ago. Tried to start backup yesterday and saw one of the messages during boot up say something tothe effect of (sorry not in front of the machine now): No room on / [0] expecting [2] I haven't done anything new to the setup or installed/upgraded anythingnew. Something I thought was weird (and I'm sure it's just my understanding),but when I did an 'ls -al' on my /home directory, I remembered that Istill have a couple of .iso images taking up some space (this is a 25GBdrive). So just out of curiosity I deleted them freeing up a couple ofgigs. But when I restarted the machine I got the same message aboutroot (/) being full then taking me to the CLI login after some failedattempts to start X. Just looking for some next steps and ultimately finding out why thishappened. Thanks. If those iso images were on a different partition that could explain why deleting them did not help. There could be a few things using up your / partition. You may have some core dumps. Look in /root, / , or /home for any file beginning with 'core' They may be safely deleted. It could also be your logs have reached a vast size. Look in /var/log for huge log files. To stop your log files becoming huge install the anacron package. It will make the 'logrotate' job run daily to compress and delete old logs. It's worth checking /tmp as well. Running tmpwatch (as root) will clean up files in /tmp that are older than a time you specify e.g. tmpwatch -vs 5 /tmp will clean up any files older than five hours which aren't currently open and print a list of deleted files. Sir Robin -- Certitude is possible for those who only own one encyclopedia. - Robert Anton Wilson Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin For future ref try kdirstat. I run it now and then to get an idea how the file system is shaping up. I just ran it and noticed that OpenOffice is a little piggy. Lee -- User #223705 Linux Counter, http://counter.li.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Can't login to X due to no room on root (/)
Computer was working like a champ a few days ago. Tried to start back up yesterday and saw one of the messages during boot up say something to the effect of (sorry not in front of the machine now): No room on / [0] expecting [2] I haven't done anything new to the setup or installed/upgraded anything new. Something I thought was weird (and I'm sure it's just my understanding), but when I did an 'ls -al' on my /home directory, I remembered that I still have a couple of .iso images taking up some space (this is a 25GB drive). So just out of curiosity I deleted them freeing up a couple of gigs. But when I restarted the machine I got the same message about root (/) being full then taking me to the CLI login after some failed attempts to start X. Just looking for some next steps and ultimately finding out why this happened. Thanks. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
On Tuesday 16 Dec 2003 4:24 pm, Trey Sizemore wrote: Computer was working like a champ a few days ago. Tried to start back up yesterday and saw one of the messages during boot up say something to the effect of (sorry not in front of the machine now): No room on / [0] expecting [2] I haven't done anything new to the setup or installed/upgraded anything new. Something I thought was weird (and I'm sure it's just my understanding), but when I did an 'ls -al' on my /home directory, I remembered that I still have a couple of .iso images taking up some space (this is a 25GB drive). So just out of curiosity I deleted them freeing up a couple of gigs. But when I restarted the machine I got the same message about root (/) being full then taking me to the CLI login after some failed attempts to start X. Just looking for some next steps and ultimately finding out why this happened. Thanks. If those iso images were on a different partition that could explain why deleting them did not help. There could be a few things using up your / partition. You may have some core dumps. Look in /root, / , or /home for any file beginning with 'core' They may be safely deleted. It could also be your logs have reached a vast size. Look in /var/log for huge log files. To stop your log files becoming huge install the anacron package. It will make the 'logrotate' job run daily to compress and delete old logs. derek -- -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
you can check the free space of youre partitions with the df conmmand so you can have an idea if there is a space problem Cdrack. --- Trey Sizemore [EMAIL PROTECTED] wrote: Computer was working like a champ a few days ago. Tried to start back up yesterday and saw one of the messages during boot up say something to the effect of (sorry not in front of the machine now): No room on / [0] expecting [2] I haven't done anything new to the setup or installed/upgraded anything new. Something I thought was weird (and I'm sure it's just my understanding), but when I did an 'ls -al' on my /home directory, I remembered that I still have a couple of .iso images taking up some space (this is a 25GB drive). So just out of curiosity I deleted them freeing up a couple of gigs. But when I restarted the machine I got the same message about root (/) being full then taking me to the CLI login after some failed attempts to start X. Just looking for some next steps and ultimately finding out why this happened. Thanks. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
Derek Jennings wrote: On Tuesday 16 Dec 2003 4:24 pm, Trey Sizemore wrote: Computer was working like a champ a few days ago. Tried to start back up yesterday and saw one of the messages during boot up say something to the effect of (sorry not in front of the machine now): No room on / [0] expecting [2] I haven't done anything new to the setup or installed/upgraded anything new. Something I thought was weird (and I'm sure it's just my understanding), but when I did an 'ls -al' on my /home directory, I remembered that I still have a couple of .iso images taking up some space (this is a 25GB drive). So just out of curiosity I deleted them freeing up a couple of gigs. But when I restarted the machine I got the same message about root (/) being full then taking me to the CLI login after some failed attempts to start X. Just looking for some next steps and ultimately finding out why this happened. Thanks. If those iso images were on a different partition that could explain why deleting them did not help. There could be a few things using up your / partition. You may have some core dumps. Look in /root, / , or /home for any file beginning with 'core' They may be safely deleted. It could also be your logs have reached a vast size. Look in /var/log for huge log files. To stop your log files becoming huge install the anacron package. It will make the 'logrotate' job run daily to compress and delete old logs. derek It says that root (/) is full, and the iso images were in /home/trey so doesn't that count against root or am I having a conceptual error here. When I get back I'll try to isolate where the space hogs are using df and du again. I think it was the du command that showed file sizes but if there was a directory I would no see the sizes of files within the directory. It may be log files and I'll check into that as well. Thanks. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
Trey Sizemore wrote: SNIP It says that root (/) is full, and the iso images were in /home/trey so doesn't that count against root or am I having a conceptual error here. When I get back I'll try to isolate where the space hogs are using df and du again. I think it was the du command that showed file sizes but if there was a directory I would no see the sizes of files within the directory. It may be log files and I'll check into that as well. Thanks. It would if you had only 1 linux partition. But most people (and the default Mandrake install) use more than 1 HD partition. /home usually gets a partition to itself. That makes life easier when you come to upgrade your Linux. derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
SNIP It says that root (/) is full, and the iso images were in /home/trey so doesn't that count against root or am I having a conceptual error here. When I get back I'll try to isolate where the space hogs are using df and du again. I think it was the du command that showed file sizes but if there was a directory I would no see the sizes of files within the directory. It may be log files and I'll check into that as well. Thanks. I should have added on my last post :- If you install fsv (from contrib) it will show your file system as a 3 dimensional map. It is easy to see where disc space is being used up. Of course it will not help you just at the moment because you do not have enough space to install fsv in ;-) derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Can't login to X due to no room on root (/)
On Tuesday 16 December 2003 08:35 am, Derek Jennings wrote: On Tuesday 16 Dec 2003 4:24 pm, Trey Sizemore wrote: Computer was working like a champ a few days ago. Tried to start back up yesterday and saw one of the messages during boot up say something to the effect of (sorry not in front of the machine now): No room on / [0] expecting [2] Derek wrote: It could also be your logs have reached a vast size. Look in /var/log for huge log files. To stop your log files becoming huge install the anacron package. It will make the 'logrotate' job run daily to compress and delete old logs. derek This is how I solved my log problem back in the old days, with a really small HD. As root, I edited my /etc/logrotate.conf I changed anything monthly to weekly I changed anything weekly to daily If it says rotate 4 I changed it to rotate 1 Who needs all that log info anyway--you ain't administering a server, are you? e. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com