Linux hardware knowledge

Source: Internet
Author: User
Linux hardware knowledge-general Linux technology-Linux technology and application information. For more information, see the following section. Disks and partitions

There are two types of hard disks: IDE interface and SCSI interface. The hard disk read/write speed of the SCSI interface is fast and expensive. The hard disk read/write speed of the IDE interface is slow and the price is low. The server uses a hard disk that is recommended to use the SCSI interface.

Hard Disk Partitions include primary partitions, extended partitions, and logical partitions. A hard disk can have up to four primary partitions. One of the primary partition locations can be replaced by one extended partition, and one hard disk can have only one extended partition, multiple logical partitions can be divided in this extended partition.

The device names in Linux are stored in the/dev directory. The disk device name is as follows:

The hard disk of the first IDE interface of the system is/dev/hda.

The hard disk of the second IDE interface of the system is/dev/hdb.

The hard disk of the first SCSI interface of the system is/dev/sda.

The hard disk of the second SCSI interface of the system is called/dev/sdb.

And so on.

The partition is represented by a number, for example:

The first 1st partitions of the system's first IDE interface hard disk are called/dev/hda1.

The first 5th partitions of the system's first IDE interface hard disk are called/dev/hda5.

The first partition of the second SCSI interface hard disk is/dev/sdb1.

The second SCSI interface hard disk of the system has 5th partitions called/dev/sdb5.

In Windows, the drive letter is used to identify different partitions, while in Linux, the device name of the partition is used to identify different partitions:

Note: Numbers 1-4 are reserved for primary or extended partitions. The logical Partition Number starts from 5.

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.