CentOS Simple Partitioning scheme

Source: Internet
Author: User

===============================================================

Beginner Little White ( Please be more critical )

Linux partition Basic requirements

1, Minimum /(Root) and swap ( swap partition )

2. S WAP partition =1.5* physical memory

3. Independent boot partition

Production Scenarios

I. GENERAL Zoning

1,swap 1.5 times

2,/boot 100M

3,/( the size of the remaining HDD )

Second, DB and Storage ( with a lot of important data )

1, /      5~20g ( similar to windows c disk )

2,swap 1.5 times * physical memory (for example , 4G, that is, to 6G of memory to swap)

3,/boot 100M

4,/data The remaining hard disk size, put data

Iii. portal site (more flexible)

1,/50-200g

2,swap 1.5 times

3,/boot 100M

The rest of the space is no longer partitioned, where it needs to be given, according to their own needs to partition.

Note:

1. The following partitions are not required in almost any production environment (/usr , /Home ,/var)

2. L inux Online adjustment, online expansion, poor performance, almost no

3. Monitoring of the disk , remaining 20%, SMS alerts

4. production hardware uses raid to combine multiple disks instead of LVM and soft raid


This article is from the "10348939" blog, please be sure to keep this source http://10358939.blog.51cto.com/10348939/1872471

CentOS Simple Partitioning scheme

Related Article

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.