linux-Partition Summary

Source: Internet
Author: User

Partition type :

Primary partition : Up to a maximum of four

Extended partitions : Up to 1 extended partitions, extensions cannot be formatted, and data cannot be written. Only logical partitions can be included. The extended partition plus the primary partition has a maximum of 4.

logical partition: logical partitions are divided in the extended partition, if theIDEhard disk,Linuxup to just -logical partition, if it is aSCSIHDDLinuxsupport up to Onea logical partition

The Linux partition represents

/DEV/HDA1 hd:ide HDD Sd:scsi,sata HDD A: First hard drive 1: First Partition

/dev/sda1

/DEV/SDC5 Third SCSI hard disk, 1th logical partition

Linux Partitioning

1) must be partitioned

/root partition must be divided separately. The bigger the better the equivalent of WIN's C: partition

             Swap partition         swap partition      If memory is less than 4GB, swap is twice times of memory

                                          if memory is greater than 4GB, swap and memory are identical

In the experimental environment, swap does not exceed 2GB

2) Common partitions

            /boot               Start partition       100mb      /dev/sda1   D: partition

              / Home                                                     E:

/www F: Partitioning

partition's device file name

Primary partition 1/DEV/SDA1

Primary partition 2/dev/sda2

Primary partition 3/dev/sda3

Extended partition /DEV/SDA4

Logical partition 1/DEV/SDA5

Logical partition 2/dev/sda6

Logical partition 3/DEV/SDA7

Note:sda1,sda2,sda3,sda4 can only be used for primary partition or extended partition, the first partition of logical partition should be from s Start one at a time, down in turn.

2. File System

  &ect2: is ext upgrade version of the file system, Red Hat linux7.2 Ext2 File system. 1993 year release, maximum support 16tb partition and maximum 2TB 1tb=1024gb=1024*1024kb

  &ext3: ext3 file system is Ext2 The most important difference is the log function to improve the reliability of the file system when the system suddenly stops. Support for maximum 16tb

  &ext4: He is the ext3 file system upgrade. The ext4 ext4 ext3 max 1eb file system and 16tb file, infinite number of subdirectories, Extents continuous data block concept, multi-block allocation, deferred allocation, persistent pre-allocation, fast fsck, Log check, no log mode, online defragmentation, inode enhanced, default startup barrier ET. centos6.3 1EB=1024PB=1024*1024TB



This article is from the "Wu-Dick" blog, please be sure to keep this source http://9827789.blog.51cto.com/9817789/1638410

linux-Partition Summary

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.