Jump to content

2010.1 Upgrade: Not enough space? [solved]


Nooob
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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]#

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...