LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-14-2012, 12:33 PM   #1
ramsforums
Member
 
Registered: Jun 2007
Posts: 58

Rep: Reputation: 0
Smile Help with Linux Partition


Hello

I am setting up UBUNTU 12.04 desktop for sharing files with about 10 users in small office. It is HP Proliant ML 150 G6 server with 2 TB HDD.


Basically I share one directory where users will put shared contents.

The server has 2GB Memory. I have also plan to use this server for running a small CRM application which uses PostGresSQL.

I need help with the following.

Initially I thought I will partition as follows

Boot 300 MB
SWAP 6 GB
/ 300 GB
/HOME 1.5 TB


I had some hanging problem so I reformatted the drive and used default install.

Default install did not Partition drive with multiple partition.

What is the best size I should set for partition. Anything I missed while deciding partition? Do I need separate partition for /usr /bin etc?


Thank you in advance.
 
Old 06-14-2012, 12:39 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
You don't need separate partitions for anything----but the setup you described looks reasonable.

If the Ubuntu installer won't set up the partitions the way you want them**, you could try Gparted. This is a Live Linux CD that is pretty handy to have available.


**surprising----you might want to try again and tell us exactly what happens.
 
Old 06-14-2012, 02:50 PM   #3
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
300GB for the root partition seems like alot or did you mean to type 30GB
Perhaps 30GB for /
6 GB for swap and the rest for whatever else.

Good luck to you
 
Old 06-14-2012, 03:22 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You can manually partition in Ubuntu but as you're partitioning you have to label the partitions for there usage.
 
Old 06-14-2012, 07:21 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Quote:
I have also plan to use this server for running a small CRM application which uses PostGresSQL.
Check where this installs itself and puts its DB/files etc.
Best not to have them on the root partition.

As above, root=30GB is more reasonable, but you may want to put /var (logfiles, mail etc) on a larger non-root partition.

The point is that runaway processes can create a lot of data and logfiles, so keep them off the root partition, that way it shouldn't(?) hang if the data/log partition fills up.
 
Old 06-14-2012, 09:54 PM   #6
ramsforums
Member
 
Registered: Jun 2007
Posts: 58

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks everyone for help. Appreciated.



So in summary I will create as follows.


/Boot 100 MB

/ 100 GB
/var 100 GB
/Home 300 GB
/SWAP 6 GB

/Data 1 TB


All my shared files (file sharing among 10 users) will resides in /Data/Shared
All database files (CRM files ) /Data/CRM


If I missed anything or any changes required please let me know.


Thanks
 
Old 06-14-2012, 10:25 PM   #7
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,923

Rep: Reputation: 278Reputation: 278Reputation: 278
You'll want /var ~=10GB on a production server. / should be ~=17GB /boot ~=150MB.
 
  


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
tricky backup of Linux system to NTFS partition to increase partition size Pandarsson Linux - General 5 07-09-2008 03:35 PM
I am using windows and linux i one partition now ia m awnt remove the linux partition sathish80 Linux - Newbie 2 01-23-2006 11:55 PM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 02:31 AM
How to add new partition before Linux partition in an existing Linux box? ashutosh Linux - Software 3 04-23-2002 04:26 AM


All times are GMT -5. The time now is 09:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration