Click to See Complete Forum and Search --> : Partitioning a server ( I NEED HELP FAST!!!)
piotrdesign
08-10-2002, 12:53 PM
The automatic partitoning wont work and i want my linux machine to be a server. Here are the specs of it
Pentium Pro 180Mhz
98mb ram
2.5gig HD
8mb video
---------------------------------
I know that i need 50 for the boot, and 200mb for the SWAP. But how much space should i put for HOME,TMP,VAR,USR, But i know that i need 1200mb for the programs **** and to install linux within this space (I dont know under which partition that belongs under).
I need help today please.....
Sastraxi
08-10-2002, 01:49 PM
Then, just have all of your mount points share a partition. Then, you're not stuck if end up never using a partition's space and use up all of another partition's. I would put 2000 at mount point / and 300 for the swap. That should add up to how big a '2.5' gb hard drive is :)
piotrdesign
08-10-2002, 02:28 PM
those partitions are good for the people who dont want to have a server on their PC, if u want a server u need a the following partitions: TMP,USR,VAR, and BOOT. andi dont know how much space should i use for those
Sastraxi
08-10-2002, 04:11 PM
Well, okay, I didn't know that, but in any case I don't see the reason why (though I am 2 weeks fresh into Linux myself). However, I would then dedicate 150 mb to each, except for USR, which I would allocate all the rest of the space (minus swap, of course).
piotrdesign
08-10-2002, 04:23 PM
i figured it myself by now. thanks everyone for the help.
/BOOT - 50mb
/ (ROOT) - 250mb
/VAR - 150mb
/TMP - 100mb
/USR - 1400mb
SWAP - 200mb
vmantunes
08-10-2002, 05:06 PM
You said:
Originally posted by piotrdesign
i figured it myself by now. thanks everyone for the help.
/BOOT - 50mb
/ (ROOT) - 250mb
/VAR - 150mb
/TMP - 100mb
/USR - 1400mb
SWAP - 200mb
But, can you please share with the rest of the newbies where you found this info by providing a hyperlink to the info. Is there a reason behind these numbers??
Thanks
Sastraxi
08-10-2002, 05:19 PM
I'll give you a bit of background:
/BOOT - The core kernel. Kernels are small usually, and this is merely required so you can get into Linux. Therefore, it doesn't have to be big.
/VAR - I have no clue. Like I said, I'm a newbie, but I do learn quickly :)
/TMP - Rhymes with GEMP. (I think it's for temporary files used during init/page creation)
/USR - Program files, libraries, drivers, everything. Lots of space needed :)
/ - The root directory holds everything else... though it's usually quite small for a server.
SWAP - If you don't have enough memory for a task, it uses this space for the excess.T his is the equivalent of Windows' virtual memory.
vmantunes
08-10-2002, 05:49 PM
I know what each file is, has or does.
I want to know why each of those partitions are allocated a specific amount of space and what the "standard" should be for each partition and why?
A hyperlink would help.
Thanks
The Whizzard
08-10-2002, 05:53 PM
/VAR - I have no clue. Like I said, I'm a newbie, but I do learn quickly This is where logs, etc. go.
BTW, if you have a small hard drive, like you do, it'll probably be easier to only have a SWAP, /boot and a /. I've ran many servers with only those three partitions without any problems. If you didn't know already, /var, /usr, /tmp, etc. will automaticaly be created under /.
saithan
08-10-2002, 06:02 PM
depending on the distro used for the server having /var as a partition is a good idea becuase you dont want to dos the server due to lack of space cuased by the ever growing logfiles.
If you are using the redhat defaults for websering you want /var to be very very large becuase not only are the logs growing in there but /var is used for the web servers document root.
/var/www/html = web root
/var/www/cgi-bin = global webserver cgi scipt directory
if you are going to include mysql (keep in mind I am using redhat as example). mysql keeps the databases in var as well. these will also grow over time.