O & M talk about how to partition linux systems in production scenarios?

Source: Internet
Author: User
# How to partition a linux system in a production scenario? # Date: 2011-07-31 # Author: Old Boy # QQ: 31333741 MAIL: oldboy521@hotmail.com # QQ exchange group: 45039636 # blog: http://oldboy.blog.51cto.com # psite: http://oldboy.cc (coming soon) # pblog: http://blog.eti

# How to partition a linux system in a production scenario?
# Date: 2011-07-31
# Author: Old Boy
# QQ: 31333741 MAIL: oldboy521@hotmail.com
# QQ group: 45039636
# Blog: http://oldboy.blog.51cto.com
# Psite: http://oldboy.cc (coming soon)
# Pblog: http://blog.etiantian.org
######################################## ##################
Old Bird talks about how to partition linux systems in production scenarios?

? Preface:
When we buy a house, we will consider Room 1, Room 2, Room 1, or room 3, Room 2 ......! The specific selection depends on
The amount of money in the hand and the population of the family.
Similarly, the same is true for the server operating system when partitioning. it is divided into three zones and four zones. whether/home/var is required depends on our business needs, and O & M specifications or O & M leaders' preferences.
If there is more or less, there may be some troubles in different business scenarios (LVM can solve this problem, but it has its drawbacks, or some scenarios are superfluous ).
Before explaining this problem, let's briefly talk about the functions of basic/boot partitions, swap partitions, and/(root) partitions.

? Linux/boot partition, swap partition, and/(root) partition

/Boot partition to store boot files and Linux kernel.
Startup File: used to determine which operating system or kernel you need to start.
Kernel: in short, the bridge between programs and hardware. you use applications to control the entire computer through the kernel.
Generally, the partition size is 100-200 M. in the official environment, all linux boot files and kernels are smaller than 100 M.

I basically agree with the saink method. However, it is better to separate DB servers separately.

As many of my friends have said, there is no fixed question about how to score a partition. the old man just gave me so many years of experience for your reference and practical work, leaders should respond as needed.

This article from the "old boy linux O & M" blog, please be sure to keep this source http://oldboy.blog.51cto.com/2561410/629558

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.