LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-23-2010, 12:07 PM   #1
hkothari
Member
 
Registered: Jul 2009
Location: Lowell, Massachusetts
Distribution: Slackware
Posts: 70

Rep: Reputation: 17
2 Hard Drive Server Partition Layout


So I have two identical 160GB hard drives and I'm planning on setting up a server, probably ubuntu, for Glassfish, mysql and subversion. Since I'm using those applications I'm assuming I should have a large var partition for mysql, and /opt for glassfish and I'm not sure about subversion. Is there a good partition layout you can suggest for me for my 2 drives?
Thanks in advance.
 
Old 07-23-2010, 12:37 PM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Partitioning is as much art as is it science. I have faced this question a few times and have yet to find a definitive answer
One thing to consider is keeping the root and home partitions separated as this (is supposed to) make upgrading easier. 160Gb is quite a bit for a Linux system and unless you have A LOT of data that you want to make available, I doubt you will want for space. Since you have two identical drives, I would consider setting them up as a raid configuration with the drives mirroring each other. If you don't put /var and /opt in their own separate partitions, they will allocate the space as they need, up to your capacity. Unless you have a good idea in advance of how much each will require, I wouldn't assign fixed sizes.
 
  


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
Copying a partition from one hard drive to the same partition on another hard drive pylagan Linux - General 1 03-23-2010 12:02 PM
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 10:46 AM
How to partition the hard drive? kebabbert Solaris / OpenSolaris 24 08-03-2007 12:28 PM
New Hard Drive, How to partition Philbert Linux - Newbie 1 01-06-2004 01:16 AM
How do I partition a hard drive? yzrider210 Linux - Newbie 8 12-14-2003 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:32 AM.

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