LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-09-2004, 10:16 AM   #1
vandyk
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
NoobS: Partition Enquiry. Pls advice


Hi there,

This is the first time i'm visiting a linux forum. kinda lost.. haha. Anyway, i have got some question to ask you experienced linux users out there. Thanks in advance!!

Here my question:

Suggest a partitioning scheme for a stand-alone unix/linux server
with two 40GB discs supporting 100 users. This server will also provide services like web and email on top of the basic services. Need to include the following too,

1. The partition name (either a mount point or swap).
2. The partition size.
3. The partition location (disk and order on disk).


I have read some articles online but it just serve to make me more confused since i have only very limited hand-on and exposure to Linux. This is actually an report i need to write. I have no idea what is the principles when it come to partitioning of the HD on Linux. I hope to gather a clearer picture here, probably more on the server management and disk partition aspect. How you guys actully determine how much space to allocate to specific usage? Thanks alot!!


Regards,
cephas
digit_7@hotmail.com
 
Old 10-09-2004, 10:39 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
two discs?? you could do this:

disc 1 = one linux partition...

disc 2 = one swap partition and one linux partition...


the size of the swap partition should be about 2 or 3 times the amount of ram you have, but your requirements will vary depending on what kinda stuff the box will be doing...

also, for the linux partitions i recommend the reiser filesystem...

here's what the partition names would look like for primary master (/dev/hda) and slave (/dev/hdb) ide discs:

/dev/hda1 = /

/dev/hdb1 = swap

/dev/hdb2 = /whatever



you could put the swap partition in disc 1 instead (or on both), it's all up to you really...

also, i'm sure you'll get or have gotten lots of suggestions about how you need to make partitions for certain directories (such as /home, /var, /boot, etc...)... remember that is totally optional...

a really simple partition setup can be much more flexible a lot of the time...

the only partition you "need" is the one for "/" (the root directory)...

=)


Last edited by win32sux; 10-09-2004 at 10:52 AM.
 
Old 10-10-2004, 04:15 AM   #3
vandyk
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Hi win32sux,

Thanks for the advice and you are very correct about those suggestion of having specific directories/partition for different usage. Thats where i got lost, what would be a sensible allocation for those stuff.

Btw, what is the usual normal for disk space for the root directory, "/"? I'm actually thinking of having swap partition for both disc, 1GB. Primary will probably focus on core applications while the slave will be a backup, do i need another root for the backup too? Is is advisable to have /var (news, mail, website or /home (user diectory) directories togather will be core applications?, i'm thinking it might take up too much resources and thus slowing everything down. And they also tends to be variable.

/dev/hda1 = /
/dev/hda2 = /usr (watever applications)
/dev/hda3 = swap

/dev/hdb1 = /backup (mind if i ask, what is the correct syntax for backup of hda?)
/dev/hdb2 = /watever other stuff
/dev/hdb3 = swap

Million thanks
cephas
 
Old 10-10-2004, 11:52 AM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally posted by vandyk
Btw, what is the usual normal for disk space for the root directory, "/"?
there's no "normal", it depends on what you have... a full slackware install will need at least 2.5gb of space, for example...

Quote:
I'm actually thinking of having swap partition for both disc, 1GB.
well, you can do that, but keep in mind that ONE swap partition will be more than enough...

Quote:
Primary will probably focus on core applications while the slave will be a backup, do i need another root for the backup too?
the backup doesn't need any root directory, it can have whatever directory or directories you want...

Quote:
Is is advisable to have /var (news, mail, website or /home (user diectory) directories togather will be core applications?
even though those directories will be in your root directory (on disc 1), you don't need to make special partitions for them, they are already separate...


Last edited by win32sux; 10-10-2004 at 11:53 AM.
 
Old 10-11-2004, 09:51 AM   #5
vandyk
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Original Poster
Rep: Reputation: 0
hey,

thanks alot!! i'm done with my report and hopefully it will goes well...

You're the MAN!!


cheers
cephas
 
  


Reply



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
Basic install for child users - advice pls davidcthursby Linux - General 6 07-02-2004 06:02 PM
pls,advice me good website to learn Java vanhelsing Linux - Software 1 06-09-2004 01:24 PM
iroessle, pls advice, i have an AIW7500 too. damienduff Linux - Hardware 1 05-04-2004 05:19 AM
Everything works fine but video..Pls Advice Crash Venom Linux - Newbie 7 07-17-2002 03:49 AM
RE: NNetworking question advice pls Radio Linux - Software 2 05-16-2002 04:49 PM

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

All times are GMT -5. The time now is 07:56 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
Open Source Consulting | Domain Registration