LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-30-2021, 06:03 AM   #1
daz12
LQ Newbie
 
Registered: Mar 2021
Posts: 3

Rep: Reputation: Disabled
Partitioning Linux computer


If I am a junior admin starting out and am asked to setup servers, how do I know what partitioning layout to use? Do different companies/organizations use different schemes? Also can someone give me an example of a typical partition setup? Apologies if this is a dumb question.
 
Old 03-30-2021, 06:45 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Welcome to LinuxQuestions.

This almost sounds like a homework question.

Quote:
If I am a junior admin starting out and am asked to setup servers, how do I know what partitioning layout to use?
I would ask my senior admin.

Quote:
Do different companies/organizations use different schemes?
Most likely, yes.

Quote:
Also can someone give me an example of a typical partition setup?
Not really because it depends.
 
Old 03-30-2021, 07:03 AM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Must be homework. In real life one would ask also about the size of partitions. But then again, in real life a person who needs help with partitioning wouldn't be asked to "set up servers".
 
Old 03-30-2021, 07:40 AM   #4
daz12
LQ Newbie
 
Registered: Mar 2021
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
Must be homework. In real life one would ask also about the size of partitions. But then again, in real life a person who needs help with partitioning wouldn't be asked to "set up servers".
Sorry I won't be visiting this site again - full of sarcasm and insinuations from you folk.
 
Old 03-30-2021, 07:47 AM   #5
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by daz12 View Post
If I am a junior admin starting out and am asked to setup servers, how do I know what partitioning layout to use? Do different companies/organizations use different schemes? Also can someone give me an example of a typical partition setup? Apologies if this is a dumb question.
For business/enterprise use, you can fully expect different partition setup. For example, database server disk needs would be different from web server to mail server.

Then there is Information Security, if you have to deal with applying NIST controls, there are specific set of requirements for disk partitions.

So, as others have said, ask senior admin. There is no "default partition scheme" that everyone can use/apply.
 
Old 03-30-2021, 08:02 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by daz12 View Post
If I am a junior admin starting out and am asked to setup servers, how do I know what partitioning layout to use? Do different companies/organizations use different schemes? Also can someone give me an example of a typical partition setup? Apologies if this is a dumb question.
This DOES sound like a homework question. And you wouldn't GET a job as an admin if you didn't know this.
Quote:
Originally Posted by daz12
Sorry I won't be visiting this site again - full of sarcasm and insinuations from you folk.
The question was answered in post #2. And if you don't LIKE the answers, or want someone to do your homework for you, then you need to ask a better question that shows your own efforts.
 
Old 03-30-2021, 08:27 AM   #7
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Quote:
Originally Posted by daz12 View Post
Sorry I won't be visiting this site again - full of sarcasm and insinuations from you folk.
That is mostly due to the policy of not answering homework questions, which this really looks like.

Without requirements we cannot specify any particular partitioning other than make one to separate non-system files from system files.

This is one of the reasons it looks like homework (that and your use of "If I am a junior admin...").

Many of the requirements would be things like "how many users? How much storage are they going to be allowed to use? How much disk space is available? Is the storage going to be RAID 2/5 or 6? RAID 10? How many disks? Is it allowed to use mdraid? Is the server to support multiple departments? Is quota control going to be used? Does /tmp have to be on a separate disk from the system? Is there enough room for logging? How long are logs to be kept? What backup policy is there? What security policy is required (as that may dictate how departments get partitioned).

This is why post #2 ended with "Not really because it depends".

One last thing - A junior admin SHOULD have a document called "Stanard Operating Procedures" prepared by one or more senior administrators and managers that would contain most of (if not all) of the missing information.

I wrote one for that purpose, passed it around the other senior administrators, and could give it to new admins when they were hired along with "If you find ANYTHING missing that you need, let me know and we will get it added".

And that manual saved my butt several times - not even senior administrators can remember everything all the time, and such a manual provides guidance on what worked in the past, and could be adapted to unusual new things.

I had a customer contracting officer ask me how I did something... and on the spot, I couldn't. So I reached for the SOP doument in a notebook, and told him that I couldn't remember, but that I did have it in the book.

His response: "That was all I wanted to know. Thanks."

And that in turn made it more likely that my recommendations to the customer were listened to.

Last edited by jpollard; 03-30-2021 at 08:45 AM. Reason: finally filled out and fixed some errors
 
1 members found this post helpful.
Old 03-30-2021, 09:11 AM   #8
daz12
LQ Newbie
 
Registered: Mar 2021
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thumbs up

@ JPollard thanks for your reply, it's what I was looking for.
 
  


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
[SOLVED] Beater Computer with Windows 7, Multi-Linux Distros, and Partitioning /dev/dog Linux - Laptop and Netbook 12 12-17-2014 09:07 AM
linux computer as console into another linux computer SaintDanBert Linux - Software 1 08-29-2011 07:05 PM
Remote access a Linux computer using another Linux computer sceadu Linux - General 10 05-19-2006 09:32 PM
partitioning error, can't access computer icepack Linux - Newbie 8 07-05-2005 03:18 PM
Partitioning drives to split Linux and windows with windows already on computer. linuxnoub Linux - Hardware 5 10-16-2003 12:21 AM

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

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