Recommended linux cainiao disk partitioning Solution

Source: Internet
Author: User
Recommended linux cainiao disk partitioning solution-general Linux technology-Linux technology and application information. For details, refer to the following section. Solution 1:

The system can be divided:

/;

/Home;

Swap;

Swap partitions are used to support virtual memory. It is recommended that this partition is equivalent to twice the computer memory. Generally, the swap partition should be larger but cannot exceed 2048 mb, when you define a partition type as linux swap, you do not have to assign a mount point to it. disk sruid automatically sends a mount point to you.

/The root directory can be allocated 1 GB.

All things installed by the user are placed in the home, so the remaining space can be allocated to the home. Of course, some remaining space can be reserved for future installation settings.

Solution 2:

The system can be divided:

/;

/Boot;

/Usr;

/Home;

/Var;

Swap

This is a common distribution

Swap partitions are used to support virtual memory. It is recommended that this partition is equivalent to twice the computer memory. Generally, the swap partition should be larger but cannot exceed 2048 mb, when you define a partition type as linux swap, you do not have to assign a mount point to it. disk sruid automatically sends a mount point to you.

/The root directory can be allocated 1 GB.

/Boot in 50 m ~ 100 m, because the Startup file is not large;

/Var must be at least 1 GB, because the default storage areas of mail and proxy are in this directory.

/Home and/usr are usually the largest, because the installed data is in/usr/and the user data is in/home, so the remaining disks are evenly allocated to them, but it is not absolute. For example, if/usr is about 10 GB and left for/home, you can also reserve some space for future installation settings.

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.