Link to home
Start Free TrialLog in
Avatar of mshaikh22
mshaikh22

asked on

Partition Suggestions Needed

I have a server with 2 x 72 anf 2 x 146 gb sas 15k drives in a hardware RAID1 setup.  System is to run RHEL 5.6, and has 16GB of RAM.  The system is to be used to run a trading application.  Looking for suggestions on the best partitioning for this system

so far i configured the following,

72 gb

101 mb /boot
20 gb /home
6 gb /
7.6 gb tmpfs
32 gb swap

146 gb partition
/data 133 gb

Would like to know if I would be need /usr /var /opt /tmp  and the application will be sitting on the 146 gb partition.

ASKER CERTIFIED SOLUTION
Avatar of Julian Parker
Julian Parker
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mshaikh22
mshaikh22

ASKER

Thank you Jools.  

i think i have also a seprate partition for /root too. do I need that. what does the /usr, /opt, /tmp and /tmpfs  partition do.

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I am fixing to install a 3rd party app. So as i got \ partition only which is 10 gb. Should I increase the partition size.

How much should i increase it to.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Also, how much disk I/O is there on the system?  Would it be better to build a RAID10 out of the two RAID1 drives?

Similar to the above, I usually put at the very least, a 8-12G / partition, a 4-5G /var partition (to separate the logs out).  /usr/local, /opt, and /home are a lot of times separate partitions for locally installed apps, 3rd party apps, and home directories respectively.  The advantage is that if you are going to reinstall the OS, you can leave these partitions as is and just mount them again in the new install.

What recommendations does the application you will be installing have?  I would guess that it would be in /opt, but you have to check.  That might be a reason to have a separate /opt partition.

There is really no hard and fast rules.  It is part of the "art" of managing linux servers.  Each will have their preferences.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you, Bitfreeze.

I am thinking about doing the following

Disk 1

72 gb raid 1

100 mb - 150 mb - /boot
10  gb - /
32 - swap
10 gb /home
10 gb /var
should i put the remaining 8 gb to /tmp or tmpfs /dev/shm


146 gb raid 1
 
/opt - 20 gb  - thats a requirement
/data - 126

Thats whats I am thinking of

any suggestions
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you, Big Freeze. The server is going to be running a financial application its going accepting message send from the cluster server.

They company im working with, want a 20 gb opt and 120 gb data partition on the 146 drive.

Question

If I have a /tmp drive

do I really need the tmpfs drive

how do i go about creating that from the red hat setup when creating partition layouts

So I have 72 gb to play around with. which has 16 gb of ram

so I am allocating swap 32 gb
/boot - 150 mb
/ - 10 gb
/var - 10 gb
/home - 10 gb
/tmp or tmpfs - 6gb

left 4 gb out

There is absolutely no reason to have that big a swap partition.  At most you would need something like 4GB.  If you get into swapping that much, your server performance is going to crawl.  Swap is used mostly for a desktop machine and only for reliability on a server.  On a server you don't really want to hit the swap partition at all (and some don't even put one on the server).
What configuration, you recommend.
The recommended size of the swap partition, is double the size of your memory.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial