Nooob Posted July 30, 2010 Report Share Posted July 30, 2010 Good morning... afternoon... evening...! I have the following partitions: /home 85GB / 7.8GB swap 3.8 GB /media/hd 135 GB I ran the upgrade for 2010.1 and IIRC the install failed due to not enough space in /usr/bin I took the default URPMI folder to save the install files. New update packages now also fail. Apparently not enough space on /. Where did I go wrong, and how can I fix it.................? As always, thanks for the help. Noooob Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted July 30, 2010 Report Share Posted July 30, 2010 Can you tell us how much free space you have on / and also if you attempted to copy the CD/DVD contents to the hard disk during the installation/upgrade process? If so, maybe don't copy it so that you have the free space. If not, then please explain a little more. I would expect though if your / is full, you'll have to move your data off the machine and then recreate your partitions from scratch making / bigger this time, and then copy your data back later - this will be everything you have under /home or anywhere else you store stuff. Quote Link to comment Share on other sites More sharing options...
Nooob Posted July 30, 2010 Author Report Share Posted July 30, 2010 More info: AFIK did not copy CD/DVD to disk, just ran the update from "New Updates Are Available" pop up. It suggested some install files be copied to URPMI folder. / Size: 7.8GB Used: 7.1 GB Open: 382m Use: 95% /home Size: 85GB Used: 2.4GB Open: 83GB Use: 3% /media/hd Size: 136GB Used: 97GB Open: 39GB Use: 72% Yes / is full. Not sure how it got that way. I really don't have much data on the machine. Since I am as my username suggests, I'm a little lost on the solution. sda5 = / 7.7GB sda7 = /home 85GB Resize sda7 smaller and resize sda5 larger from MCC Manage Disk Partitions, after having move the folders under /home to network storage I have available. ? Thanks. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted July 30, 2010 Report Share Posted July 30, 2010 Open a terminal and (as root) run this command and post the output here cd /; du -ks * | sort -nr | cut -f2 | head -15 | xargs -d '\n' du -sh that should tell us where and why it is full. Quote Link to comment Share on other sites More sharing options...
Nooob Posted July 31, 2010 Author Report Share Posted July 31, 2010 OK thanks Greg2. Will not be able to get back until Monday. Will post when done. Thx for the help. Nooob Quote Link to comment Share on other sites More sharing options...
Nooob Posted August 2, 2010 Author Report Share Posted August 2, 2010 I'm back! Output follows: [bclark@localhost ~]$ su Password: [root@localhost bclark]# cd /; du -ks * | sort -nr | cut -f2 | head -15 | xargs -d '\n' du -sh du: cannot access `home/bclark/.gvfs': Permission denied du: cannot access `proc/6986/task/6986/fd/4': No such file or directory du: cannot access `proc/6986/task/6986/fdinfo/4': No such file or directory du: cannot access `proc/6986/fd/4': No such file or directory du: cannot access `proc/6986/fdinfo/4': No such file or directory 96G media 4.0G usr du: cannot access `home/bclark/.gvfs': Permission denied 2.2G home 1.6G var 670M lib 434M opt 148M boot 57M etc 20M sbin 12M bin 4.5M root 788K dev 180K dead.letter 44K mnt 16K tmp [root@localhost /]# [root@localhost /]# Thanks! Nooob Quote Link to comment Share on other sites More sharing options...
Greg2 Posted August 2, 2010 Report Share Posted August 2, 2010 It appears to be all of the rpms you have saved while upgrading. You don't need to keep them, unless you want to install them on another system without downloading them again. You can check with (as root) du /var/cache/urpmi and you can remove them with (as root) urpmi --clean Now you can check all of /var including the logs with (as root) cd /var; du -ks * | sort -nr | cut -f2 | head -10 | xargs -d '\n' du -sh Please let us know if that helps. Quote Link to comment Share on other sites More sharing options...
Nooob Posted August 2, 2010 Author Report Share Posted August 2, 2010 Looking good! Thanks Greg2 and Ianw1974, very much appreciated. Nooob [bclark@localhost ~]$ su Password: [root@localhost bclark]# df Filesystem Size Used Avail Use% Mounted on /dev/sda5 7.7G 5.7G 1.7G 78% / /dev/sda7 85G 2.4G 83G 3% /home none 1013M 80K 1013M 1% /tmp /dev/sda1 136G 97G 40G 72% /media/hd [root@localhost bclark]# [root@localhost /]# du /var/cache/urpmi 4.0K /var/cache/urpmi/partial 4.0K /var/cache/urpmi/rpms 4.0K /var/cache/urpmi/headers 180K /var/cache/urpmi [root@localhost /]# [root@localhost /]# cd /var; du -ks * | sort -nr | cut -f2 | head -10 | xargs -d '\n' du -sh 187M lib 27M cache 7.6M log 3.8M tmp 280K spool 232K run 16K lock 8.0K state 4.0K yp 4.0K preserve [root@localhost var]# Quote Link to comment Share on other sites More sharing options...
Greg2 Posted August 2, 2010 Report Share Posted August 2, 2010 OK, you can go click on your Menu button > Install and Remove Software > Options > and check the 'Clear download cache after successful install'. This will prevent it from happening again. I would also suggest that the next time you install a system that you make your / partition at least 9.5 to 10 GBs. :) I'll mark this as solved. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.