1. Partition the disk before use
2. The partition has a primary partition, extended partition and logical partition, a hard disk can have up to four primary partitions, one of the primary partition with extended partition to replace, a disk can only yo piece of extended partition. 3p+e, (table 3 primary partitions, one extended partition)
3. The extended partition is not available, the logical partition must be partitioned in the extended partition and then formatted (creating the file system) before the data or system can be stored.
File system:
4.SCSI interface Hard Disk/DEV/SDA SD represents a SCSI interface disk, a for the first disk, if the second block is SDB, a disk of different partitions with a number of disks to differentiate partitions, such as SDA1,SDA2, partition number 1-4 can only be left to the primary partition or extended partition, The number of logical partitions is based on the extended partition, so its numbers only start at 5. Note: The extended partition is not numbered.
5.scsi,sas,sata,usb interface Hard disk device name has been/DEV/SD beginning, the number of different hard disks is/DEV/SDA,/DEV/SDB,/dev/sde and so on.
Speed Performance: Ssd>sas>sata
6.linux Common External device file name:
Floppy/dev/fdn (N = 0,1,2 ...)
Optical drive (IDE)/dev/cdrom (/DEV/HDX)
Optical drive (SCSI)/dev/scdn (n=0,1,2 ...)
Hard disk (IDE)/DEV/HDX (X=a,b,c ...)
Hard disk (SCSI)/DEV/SDX (X=a,b,c ...)
U disk/DEV/SDX (X=a,b,c ...)
7.linux Zoning Requirements
(1) Minimum of/and swap two partitions
(2) file system must be created after partitioning
(3) Swap (swap partition) role: virtual memory, swap partition size =1.5* physical memory capacity (file memory is less than 8G)
(4) It is recommended to set up a separate/boot partition (Linux boot partition, the system boot information, such as the Linux kernel, etc., all file size is generally only dozens of m, so the partition refers to 100-200m. )
Disk Partitioning and principles