Linux hard disk partitioning and file system---learning notes

Source: Internet
Author: User
A Linux of hard drives and partitions

(1) Hard disk: The hard disk of the IDE interface is represented as "HdX", while for the SCSI interface The hard disk is represented as "SdX". where "X" can be A, B, C, D and other alphabetic numbers.
For example: The hard disk of the first IDE interface in the system, denoted as "Hda", the second SCSI hard disk is represented as "SDB"

(2) partition: When the partition is represented, it is based on the hard disk's file masterpiece, and the number corresponding to the partition (regardless of primary partition, extended partition, logical partition) is added later.
For example, the first partition of the first IDE hard disk is represented as "hda1", and the third partition of the second SCSI hard disk is represented as "sdb3".

Note: Because the number of primary partitions on a hard disk is only four, the number of primary and extended partitions is limited to 1--4, and the ordinal of the logical partition will always start at 5. For example, the new first logical partition represents "Hda5" and the second logical partition is represented as "Hda6"

File partition types for two Linux

(1) EXT4:4th-Generation Extended file system for storing data partitions for files and directories RHEL6 the file system by default

(2): Swap: Swap file system for the Linux system to establish a swap partition, which acts as virtual memory, the swap partition can not be used to directly store the user's files and directories and other data.
You need to provide a root (/) partition and a swap partition when installing RHEL6

*:LVM is a mechanism for managing disk partitions in a Linux environment, which is built on top of the enclosure partition, a logical layer below the file system, which improves the flexibility of disk partition management.

Linux hard disk partitioning and file system---learning notes

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.