Linux Disk partitioning explained

Source: Internet
Author: User
Tags system log

HD is IDE HDD SDA is SCSI hard disk

For example , Sda2: Represents the first 2 partitions of a SCSI hard disk ;

4 partitions ( primary and extended partitions )   1-4 start   

the logical partition starts at 5 . First Partition sda1 SDA, omit 1

SDB2 represents the first 2 Primary or extended partition of the 2 SCSI hard disk

Sdc6 represents the first 2 logical Partitions of the 3 SCSI disks

Requirements to install dual systems for Windows and linux :

system is Windows . to install linux system must vacate the unallocated partition to completely remove this partition then restart the system boot system booting with CD or other media

The Installation interface , if in boot back input linux text Span style= "font-family: ' The song Body '; > install install without entering any characters on the graphical interface.

3. If there is a problem with the installed system , you can boot up and then press F5 to repair the system . and then in Boot after input Linux Rescue.

hard disk partition :

1. It is recommended to select Manual partitioning manual partion with disk Gurid

2. a warning appears and the direct Yes skips .

3. Zoning Instructions

3-1./ partition /swap swap partition

3-2. Swappartitions are equivalent toLinuxthe virtual memory,Recommended Settings.size is generally physical memory.2Times.such as less than4Gof the,is set to4G.Greater than4Gless than16Gset the physical memory size.if greater than16Gyou can set it to0,but this is not recommended..SetSwaphas some effect on the size of the.

in general Linux Systems , the system can be installed by dividing the root partition and the swap partition . but for security . . Separate partitions are generally divided into separate data , This system is damaged , data doesn't have to worry about losing. .

/boot storage System boot file and kernel information

/usr storage System application software installation information

/var storage System Log Information

These partitions are best partitioned separately . Otherwise it will occupy / Boot of Space . data is not secure .

It is recommended that the root partition be larger , or the system will stop responding if the space is full .

root partition select / size is generally 5GB;

another Boot partition /boot   don't need too much There are generally 100MB enough to use the files such as the storage System boot file and the kernel use the The file system is also EXT3;

then create the/swap partition , swap the partition . File System Selection Swap type . Swap does not require a mount point . so it's gray. , cannot choose .

then divide /usr /var step basically the same as , is the size of the different If you have more applications installed usr partition larger partition of a larger number of

if you have more space left after the partition has ended, you can create your own data partition separately . Example :/mydata Partitioning , to store your own data. . each partition is preceded by a / , because all partitions are started under the root partition. .

It is best to use the last partition to fully allocate the remaining space of the system .

mount point Customization is best consistent with the name of the partition . File System Selection ext3; then choose the maximum amount of disk size to use , so we can use all the rest of the system. .

The partition interface can choose to edit , delete , and reset the partition .

Create A raid array : A separate redundant disk array . typically for large server data storage and redundancy issues .


This article is from "Learning God linux--star Moon Love" blog, please be sure to keep this source http://xuegodxingyue.blog.51cto.com/5989753/1890150

Linux Disk partitioning explained

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.