===============================================================
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