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 12-03-2015, 09:05 PM   #1
kkazia
LQ Newbie
 
Registered: Nov 2015
Posts: 10

Rep: Reputation: Disabled
Smile partitions best practice


I woild lke like to know how to work with partitions and what size recommendation for the linux,
 
Old 12-03-2015, 10:55 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,374

Rep: Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383
It depends; what is the context eg how many disks, what size(s), is this a standalone/home wkstn or a multi-user server?
What apps/tools will it run?

Various tools inc fdisk, parted etc https://en.wikipedia.org/wiki/List_o...oning_software
 
Old 12-03-2015, 11:05 PM   #3
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,486

Rep: Reputation: 390Reputation: 390Reputation: 390Reputation: 390
+1
That's like asking for the recommended size of a bag.
 
1 members found this post helpful.
Old 12-04-2015, 08:08 AM   #4
Germany_chris
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Arch
Posts: 1,027

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
For me:

boot is 512M
swap is equal to ram
root is 30GB
home is the rest

You might want something different
 
Old 12-04-2015, 09:10 AM   #5
kkazia
LQ Newbie
 
Registered: Nov 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
I have a 320GB HDD and 8GB RAM

and will be running MySQL and apache.
 
Old 12-04-2015, 10:10 AM   #6
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 668

Rep: Reputation: 223Reputation: 223Reputation: 223
Which distribution? Mint? Ubuntu? openSUSE? Fedora?
LVM?
RAID?
UEFI?
or Standard? (no LVM, RAID, or UEFI)
 
Old 12-04-2015, 10:20 AM   #7
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,496
Blog Entries: 13

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
https://help.ubuntu.com/community/DiskSpace
 
Old 12-05-2015, 07:58 AM   #8
kkazia
LQ Newbie
 
Registered: Nov 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Linux Mint is what I use
 
Old 12-05-2015, 09:12 AM   #9
yohey03
LQ Newbie
 
Registered: Sep 2012
Location: Philippines
Distribution: (Servers:Redhat/Centos) (Desktops:Ubuntu and Elementary OS)
Posts: 26

Rep: Reputation: Disabled
Smile

Hi kkazia,

Based on your storage size,I recommend below.

/boot = 512MB
/root = 50GB
/webapps = 80GB [Apache www root directory]
/mysql_data = 120GB [For MYSQL Data files]
/backup = 50GB [For MYSQL Database backup destination]
swap = 16GB [Twice the RAM ,ideally to support Web Server and Database workloads]

Hoping that this simple advise can help you :-).

Last edited by yohey03; 12-05-2015 at 09:51 AM.
 
Old 12-07-2015, 08:00 AM   #10
kkazia
LQ Newbie
 
Registered: Nov 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
thank you all . i have a good idea on the recommendations provided.
 
Old 12-07-2015, 08:17 AM   #11
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,496
Blog Entries: 13

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Read the Release_Notes Release announcement from one of the more than 33 variations of 'LinuxMint'

IMO and in 8 years of solely Linux, 50G for / is over-kill.

yohey03's reply doesn't show a /home partition so, that's "under" /, I assume from the omission.
And seems ok to do so here. Then if true, his is at 50G is fine.

With a separate /home...
25G / is sufficient, again IMO.
And that's how'd I'd possibly layout a Server, but LM doesn't make a 'server edition'
because it's a Desktop Operation System.

No matter the architecture, no matter the Desktop Environment,
LM 17.x is Ubuntu 14.04-based under the hood and therefore LTS.

I boot legacy (I have 'on-demand' UEFI/legacy BIOS) for 3 years
and soley LM for close to 5 years total. Two'ish years this
go around.
25 G for / "tops".

The other partitions mentioned, I can't speak to those.

Last edited by Habitual; 12-07-2015 at 08:35 AM.
 
Old 12-07-2015, 11:21 AM   #12
MadeInGermany
Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 391

Rep: Reputation: 175Reputation: 175
My eternal swap formula is
Code:
swap_GB = 2 * SQRT ( RAM_GB )
Examples:
Code:
RAM = 0.5 GB -> swap = 1.4 GB
RAM = 8 GB -> swap = 5.6 GB
RAM = 256 GB -> swap = 32 GB
 
  


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
rebuild partitions/label from existing partitions - used parted on wrong drive zedmelon Linux - Software 4 07-26-2013 03:42 PM
is it bad practice to clone drbd - crypt partitions? tripialos Linux - Newbie 1 07-13-2013 08:17 AM
how do I add partitions to drives that have Logical Volume (LVM) partitions? The MJ Linux - Software 5 08-17-2006 06:15 PM
Server Partitions Best Practice zer0hmz Linux - Enterprise 4 08-16-2006 08:04 PM
File partitions - best practice? kentarwen Fedora - Installation 3 01-05-2005 06:22 PM

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

All times are GMT -5. The time now is 02:22 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