LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-29-2004, 10:12 AM   #1
lionelx
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Rep: Reputation: 0
Angry Linux S.O.S call from Singapore...Greatly appreciated Thank You !


Hello Guys,

Its me Lionel again, Just need a another piece of expertise advice from your guys if you dun mind.

My Company has decided to use an existing Old PC (Pentium 4 - 3.0Ghz,512 RAM,2 X 40GB HDD) and transform it to a Linux server for web and email services to support about 100 users.

Quesitons:

What are the partitions that you all recommend that i use for the server? how much space to allocate to each in order to support 100 users on 2 40GB HDD?

From what i understand is that we need : swap,/,/tmp,/boot,/usr,/var,/etc,/home and /ktnet

Are there any more i should add in?

And why do i need a ,/tmp,/boot,/usr,/var,/etc,/home and /ktnet parition? I mean i have been researching several sites but i cannot understand why i need these partitions..What are they used for?

/tmp - used to store temp files? but what if i have to support 100 users? which means i need 100 /tmp partitons?

/boot - is it used to store the Linux OS?

/usr - is this the private partition/space for each different user of the network for them to store their private files(eg like the network drive space allocated to different users of the windows network?)

/var - spool directory for my web and email services? is it true? which means i need 100 /var for the different 100 users ?

/etc /home /ktnet - for what?? *i am having such a headache man*

And this server has 2 HDD of 40GB each...Heard a friend did mention to me(although i have about 20% understanding about what he is trying to tell me =p)

He did mention that in order to improve the effiency of the server, serveral partitions should be placed on different HDD. For example, for partitions acessed locally by the server is put on 1 HDD. Whereas all the email,web and networking stuff on the other?

Is this true? If so, can i please have ur professional opnion about which partition to place on which HDD in order to achieve maximum utilization and efficiency?

I know its a tough load of questions up here but I SINCERELY appeal to the Linux Professionals out there in the forum to spare a bit of time to enlighten me
...I am desperate...

Be looking forward to all your greatly-appreciated advices again.

Yours Sincerely and Truly (and unfortunately quite desperately)
Lionel ...
SOS call from Singapore....
 
Old 09-29-2004, 10:27 AM   #2
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
/tmp = scratch pad space that is user writable but generally cleaned out pretty quickly
/boot = where the kernel and (possibly) initrd image are located (along with the bootloader config (grub or lilo)
/home = where all user files are stored
/usr = gernerally where the distro installs programs
/etc = config files for the distro
/var = what you said

You only need one each of these but size should be based on how much is going into them (/var should be large since you will be storing mail spools there for 100 users, I would imagine) and /home if each user will have there own home directory /home/llionel, /home/user1, /home/user2, etc). /boot can be about 250MB and you should be fine.
 
Old 09-29-2004, 10:33 AM   #3
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
You are talking about different top-level directories, not partitions. All this stuff doen't need to have different partitions. Basically, you could make just one big partition for the entire drive. There is, however, benefits with a few partitions.

o A small (50--100 MB) partition at the very beginning of the disk ver /boot lives. This is to avoid some possible errors with old hardware and the bootloader.

o You could have /home in a partition of its own. This may be good, since if the users fill their partition, the entire system doesn't suffer from a full disk. A full disk may hinder the machine from booting correctly. Put the web and mail server stuff in this partition too.

o A swap partition is a good idea.

o Everything else on a partition of its own.

As for using two hard disks. I think that you will get the best performance if you have one hard disk attached to each of the IDE channels (one on each cable). This way you can better utilize the IDE interfaces. Not sure about this though. Maybe you could have /home on one disk and all the other stuff on the other. For performance, a RAID controller for two disks would be good.

Does that answer your questions? Good luck!
Martin

P.S Next time, using a descriptive subject (like "Help with partitioning for a server") may give you more and better answers.
 
  


Reply


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
Newbie Bootloader woes... any help would be greatly appreciated. phidaux Linux - Software 3 11-13-2004 10:43 AM
A little help woulb be greatly appreciated clemcat Linux - Newbie 7 10-30-2004 07:08 AM
Windows XP is not booting! Kinda urgent, any help greatly appreciated orange400 Linux - General 15 08-28-2004 10:32 AM
Help ME!!!your little bit of info si greatly appreciated Geefthegreat Linux - Networking 1 03-31-2004 07:24 AM
MSN 6, links or tips greatly appreciated!!audio chat NATting problem pr0fess0r Linux - Security 1 01-26-2004 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:36 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration