Re: 100% used / file system. Doh!
On Friday 23 September 2011 00:01:49 Bob Proulx wrote: > Since you seem to have disk space now you should take a quick moment > and install xdu. Have already done so following your earlier advice - immediately I had a functioning machine! Thanks again, Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201109230852.24237.lisi.re...@gmail.com
Re: 100% used / file system. Doh!
Lisi wrote: > Bob Proulx wrote: > > After you clean up your disk space I would install xdu as a package. > > Then clean up your ~/bin/xdu version as a final step since you won't > > need it anymore. > > Thank you, Bob, for going to so much trouble to help me. As I keep saying - > possibly to the point of tedium? - I really appreciate all the help I'm > getting. Since you seem to have disk space now you should take a quick moment and install xdu. # apt-get install xdu Then it will be available for next time. Visualization of disk space usage is really useful! # du -xk / | tee /var/log/du-xk.out $ xdu /var/log/du-xk.out Bob signature.asc Description: Digital signature
Re: 100% used / file system. Doh!
On Tuesday 20 September 2011 22:00:24 Bob Proulx wrote: > Lisi wrote: > > Have just realised that I can't do this yet because I haven't yet solved > > the problem of installing it!! > > I am not sure how important this particular program is but I think it > will help. > > Since it is really just a single binary program you can go through and > grab a copy of it manually. It has a few manual steps but isn't that > hard. Since you have space in /home you can do this. You very likely > have the things needed such as 'ar', 'tar', and the libx11-6, libxaw7, > libxt6 libraries already installed. > > Go to this URL: > > http://packages.debian.org/squeeze/xdu > > Download the package to your home directory for your architecture. I > will assume i386 for now. You will have this file: > > -rw-rw-r-- 1 15908 Sep 20 14:48 xdu_3.0-17_i386.deb > > You can unpack that using dpkg-source but that is in the dpkg-dev > package and you might not have it. However debs are simply 'ar' > achive files and you almost certainly already have ar available since > it is required by many, many other packages. > > $ ar t xdu_3.0-17_i386.deb > debian-binary > control.tar.gz > data.tar.gz > > There are three files in the archive. You want the data.tar.gz file > from it. > > $ ar xv xdu_3.0-17_i386.deb data.tar.gz > x - data.tar.gz > > $ tar tvzf data.tar.gz | grep bin/xdu > -rwxr-xr-x root/root 15996 2006-10-08 04:27 ./usr/bin/xdu > > $ tar xzvf data.tar.gz ./usr/bin/xdu > ./usr/bin/xdu > > That extracted the program to the current directory and created the > usr and bin directories under it. Those are extra for our purposes so > lets clean those up. Let's put this in your $HOME/bin directory. I > assume you already have one of those. If not then make it. > > $ mkdir ~/bin > $ mv usr/bin/xdu ~/bin/ > > Then clean up. > > $ rmdir usr/bin usr > $ rm data.tar.gz > > At this point the program should run for you. (Unless you are missing > a library.) If ~/bin is already in your PATH then you don't need to > do anything special. If not then for the moment just call it from > there. > > $ ~/bin/xdu /home/du-xk.out > > Also, I should note that it is important to run the du as root so that > it actually has access to all of the directories. > > # du -xk / | tee /home/du-xk.out > > After you clean up your disk space I would install xdu as a package. > Then clean up your ~/bin/xdu version as a final step since you won't > need it anymore. > > Good luck! > Bob Thank you, Bob, for going to so much trouble to help me. As I keep saying - possibly to the point of tedium? - I really appreciate all the help I'm getting. Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110949.22838.lisi.re...@gmail.com
Re: 100% used / file system. Doh!
On 9/20/2011 4:00 PM, Bob Proulx wrote: Lisi wrote: Have just realised that I can't do this yet because I haven't yet solved the problem of installing it!! I am not sure how important this particular program is but I think it will help. Following this tangent is taking Lisi further away from a solution, not closer to it, and simply wasting her time. With all due respect to my colleagues who have responded, it seems you've all given her your pet favorite ways of dealing with this type of problem, instead of giving her short concise instructions on how to identify and then fix the actual problem. To this point we still don't know what the problem actually is. You have (unless I missed a post) all assumed she's out of disk space. She could very well be out of inodes. She needs to determine that BEFORE attempting a fix, and before laboriously trying to hunt down files that are apparently filling the filesystem, when that may not be the problem at all. To use an applicable old carpentry meme, "Measure twice, cut once." -- Stan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e79dd25.5040...@hardwarefreak.com
Re: 100% used / file system. Doh!
Lisi wrote: > Have just realised that I can't do this yet because I haven't yet solved the > problem of installing it!! I am not sure how important this particular program is but I think it will help. Since it is really just a single binary program you can go through and grab a copy of it manually. It has a few manual steps but isn't that hard. Since you have space in /home you can do this. You very likely have the things needed such as 'ar', 'tar', and the libx11-6, libxaw7, libxt6 libraries already installed. Go to this URL: http://packages.debian.org/squeeze/xdu Download the package to your home directory for your architecture. I will assume i386 for now. You will have this file: -rw-rw-r-- 1 15908 Sep 20 14:48 xdu_3.0-17_i386.deb You can unpack that using dpkg-source but that is in the dpkg-dev package and you might not have it. However debs are simply 'ar' achive files and you almost certainly already have ar available since it is required by many, many other packages. $ ar t xdu_3.0-17_i386.deb debian-binary control.tar.gz data.tar.gz There are three files in the archive. You want the data.tar.gz file from it. $ ar xv xdu_3.0-17_i386.deb data.tar.gz x - data.tar.gz $ tar tvzf data.tar.gz | grep bin/xdu -rwxr-xr-x root/root 15996 2006-10-08 04:27 ./usr/bin/xdu $ tar xzvf data.tar.gz ./usr/bin/xdu ./usr/bin/xdu That extracted the program to the current directory and created the usr and bin directories under it. Those are extra for our purposes so lets clean those up. Let's put this in your $HOME/bin directory. I assume you already have one of those. If not then make it. $ mkdir ~/bin $ mv usr/bin/xdu ~/bin/ Then clean up. $ rmdir usr/bin usr $ rm data.tar.gz At this point the program should run for you. (Unless you are missing a library.) If ~/bin is already in your PATH then you don't need to do anything special. If not then for the moment just call it from there. $ ~/bin/xdu /home/du-xk.out Also, I should note that it is important to run the du as root so that it actually has access to all of the directories. # du -xk / | tee /home/du-xk.out After you clean up your disk space I would install xdu as a package. Then clean up your ~/bin/xdu version as a final step since you won't need it anymore. Good luck! Bob signature.asc Description: Digital signature
Re: 100% used / file system. Doh!
On Tuesday 20 September 2011 21:38:41 Lisi wrote: > Thanks, Bob. I am about to try this - but before pressing enter and > putting my box out of commission for the night as a result, I wanted to > thank you for yet another constructive reply from this amazing list. :-) Have just realised that I can't do this yet because I haven't yet solved the problem of installing it!! Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201109202143.54235.lisi.re...@gmail.com