LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-02-2009, 12:52 AM   #1
ALi Nouman
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
insufficient disk space message while installation


Hello, I am using HP 520 notebook. i was previously using VISTA enterprise. I deleted one partition of 10 GB for installing Red Hat enterprise server 5 because it says that 7 GB space is enough to install all the packages of Red Hat. During the installation i used custom layout to assign the partitition size and selected the size of root as 7.5 GB, size of SWAP as 2 GB ( as RAM is of 1GB size) and to /home and /user, i assigned 250 MB each. After this step i selected all the packages present in the disk, but as i proceed it alway give me an error that " to install all the packages you require 35657 MB of extra space" which means i should assign 12 GB to root partition.

Can anyone tell me why this insufficient disk space msg is comming

Thanx and Regards
 
Old 06-02-2009, 05:38 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,965

Rep: Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672
Quote:
Originally Posted by ALi Nouman View Post
Hello, I am using HP 520 notebook. i was previously using VISTA enterprise. I deleted one partition of 10 GB for installing Red Hat enterprise server 5 because it says that 7 GB space is enough to install all the packages of Red Hat. During the installation i used custom layout to assign the partitition size and selected the size of root as 7.5 GB, size of SWAP as 2 GB ( as RAM is of 1GB size) and to /home and /user, i assigned 250 MB each. After this step i selected all the packages present in the disk, but as i proceed it alway give me an error that " to install all the packages you require 35657 MB of extra space" which means i should assign 12 GB to root partition.

Can anyone tell me why this insufficient disk space msg is comming

Thanx and Regards
Yes...you don't have enough disk space assigned, that's why you're getting the "insufficient disk space" message.

Do the math:

7.5 GB - Root
2.0 GB - swap
500 MB - /home and /usr

10GB...but there is overhead involved in formatting a disk, no matter what OS you're using, there's some loss. So 35MB more would be reasonable. Either delete some packages from your installation selection, or add more space.

And I don't know why you'd try RH Enterprise linux on a laptop. It's geared towards servers, so alot of 'consumer grade' hardware (graphics cards? Wireless? Laptop special keys?), probably won't work without a good bit of tweaking. If you're not paying for RHEL support, use CentOS or another free distro...
 
Old 06-03-2009, 12:50 AM   #3
ALi Nouman
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
TB0ne, thanx for reply. I gave 8.5 GB to /root but still it asks for more. when i gave 12 GB to /root then it started installation but when installation completed, i used df -h command and viewed the space. it told me that space used by /root is around 4 GB and available is 8 GB ...:-D why is the overhead is of 7 GB?

and i installed it on my laptop because i just started learning Linux/ doing RHCE, so i installed it on laptop to practice commands and being familier with it ...furthermore, we have an application which requires more memory and processor consumption so i installed it on linux ...would it give me some advantage in running on linux over windows??

Regards
 
Old 06-03-2009, 01:53 AM   #4
rikxik
Member
 
Registered: Dec 2007
Posts: 88

Rep: Reputation: 19
Why do you have to assign 7.5 to /root? What if you do this:

7.5 GB - /
1.0 GB - swap (the idea of swap=2xRAM is not written in stone)
1.0 GB - /home (you don't need to have a separate /usr partition)

This should work fine.
 
Old 06-04-2009, 04:01 AM   #5
ALi Nouman
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
I selected the option " delete all linux partitions and create default layout" and it instaled successfully with all packages but it was not happening with selecting "custom layout".

problem solved but did not get the problem.. i.e why it was asking for more space when selecting custom layout even when the assigned space to /root is 8 GB

thanx
 
Old 06-05-2009, 12:08 AM   #6
rikxik
Member
 
Registered: Dec 2007
Posts: 88

Rep: Reputation: 19
There is a difference between "/" (called root) and "/root" (home directory of root). If you assign all the space to "/root", where will the /usr/,/var etc. go? (I don't think 500MB is sufficient for a full fledged Redhat installation). As per my understanding, thats the problem.
 
Old 06-05-2009, 12:29 AM   #7
Marko Hyvärinen
LQ Newbie
 
Registered: May 2009
Posts: 24

Rep: Reputation: 15
I am confused about swap space reguirements. I haven't seen swap usage normally more than few tens of MB:s, why on earth allmost every distro allocate same amount than existing ram ?

You have 4G ram, then allocate 4G disk space? That's wasted space...
I normally use not more that 500MB swapspace on linux.

Of course, there are situations when swap might be needed more, but that is what i have seen while maintaining servers in 10 years period.

Today RAM amount is "normally" 1G ->
I'we seen "swapping" with 256 MB and less...

Marko
 
  


Reply

Tags
enterprise, server, space


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Insufficient disk space for netbeans install Ruffus77 Linux - Newbie 7 05-05-2008 08:03 PM
Strange Insufficient Disk Space Error in Firefox zzyzcx Linux - Software 3 04-20-2008 02:18 PM
linux failing to boot citing insufficient disk space samik Linux - Newbie 4 07-23-2005 12:47 AM
Insufficient disk space ecastedo Linux - Newbie 3 09-10-2004 09:12 AM
Red Hat 7.1 Install error - insufficient disk space KIRKR Linux - Software 5 01-09-2002 05:56 PM


All times are GMT -5. The time now is 04:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration