Recommended hard disk Partitioning in linux

Source: Internet
Author: User
For details about linux hard disk partitioning, refer to general Linux technology-Linux technology and application information. Original: Czech fast

Note the following when partitioning a hard disk:

There are several reasonable distribution methods for linux hard disks.

First, we need to put the frequently accessed parts on the edge of the hard disk as much as possible. What does that mean? For example, the/boot partition that must be used during linux Startup is usually divided into hard disks, which is about 100 mb. Why, in this case, the system first detects this part of the file during startup, and does not need to look back. This speeds up the system startup, it also indirectly prolongs the service life of the hard disk.

The second is to separate frequently used partitions into one partition, such as/boot,/,/home,/usr. if you need to use your linux machine as a personal server, separate/opt,/tmp, and/usr directories into separate spaces, these three directories are frequently accessed during server running. At the same time, you need to leave some space for linux backup.

The third is to pay attention to the size of the space required by each partition. Generally,/boot is 100 M, and/usr,/opt, after/tmp is separately divided, 2 GB is enough (otherwise, it is necessary to divide/into 5 GB space to fully carry/usr), and/usr should use 4 GB at least, /opt is about 1G,/tmp is about 1G,/home2G, and swap is about twice the memory. (I believe everyone's machines will not be so poor now, 80 GB hard disks are everywhere now !)

For more information about how to install a linux system on a single hard disk (80 GB memory and 1 GB memory), see:
QUOTE:
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.