Explanation of centos default Disk Partitions

Source: Internet
Author: User

For experienced Linux System Administrators, System partitions are planned before the system is installed. To meet this requirement, next we will share some knowledge about Linux using the default centos partition.
Disk naming rules for Linux:
Hard Disk Type MARK: The first SCSI disk is/dev/SDA, the second SCSI disk is/dev/SDB, and the first SATA disk is/dev/hda, the second is/dev/HDB, and so on.
Hard Disk Partition Tag: in Linux, each partition number of each disk starts from 1. For example, the first partition of the first SCSI disk is/dev/sda1, the second partition is/dev/sda2.

It is the default disk partition of centos 5.4.
/Dev/SDA this server currently only adds one SCSI hard disk;
The first partition of the sda1 disk is mounted to/boot to the core components of the centos system;
The second partition of the sda2 disk. The type is physical disk, which is used for subsequent use of LVM;
VG volgroup00 creates a volume group. The volume group is used to centralize the partitions of many large physical disks into one volume group to form a logical large hard disk;
LV logvol00 creates a logical volume, which is equivalent to a partition of a large volume group. The root directory of the/system is hung here;
The principle of LV logvol01 is the same as that of the previous one. The format here is a swap partition, which is equivalent to a virtual memory.
Many VPs users increase hard disk space based on their data needs. Therefore, for VPs, the best way to solve this problem is to use volume groups. When the volume group space is insufficient, you only need to add the "physical hard disk" to the volume group to increase the volume group space. The effect is that the hard disk has a lot of space without changing the system directory.

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.