Home > Article > Operation and Maintenance > How to check disk sector size and other information in centos
The following column centos Getting Started Tutorial will introduce you to centos to view disk sector size and other information. I hope it will be helpful to friends in need!
fdisk -l
Explanation:
“Disk /dev/sda: 53.7 GB, 53687091200 bytes" indicates that the size of the first disk is 53.7GB.
"255 heads" means that there are 255 heads (tracks) on a cylinder.
"63 sectors/track" means that a track has 63 sectors.
"6527 cylinders" means that a disk has 6527 cylinders.
"Units = cylinders of 16065 * 512 = 8225280 bytes" where 16065 is equal to heads*sectors=255*63=16065, indicating the number of sectors on a cylinder; and 512 represents sector size, that is, sector size. So 8225280bytes represents the byte size of each cylinder.
"Sector size (logical/physical): 512 bytes / 512 bytes" indicates the sector size.
"Disk identifier: 0x00057c27" indicates the identification of a disk.
Note that the above content does not code for the actual physical structure of the disk. These data are just concepts created to facilitate people's virtual hard disk management for historical reasons. For example, heads255, how can a cylinder have 255 tracks. There are two ways to locate modern disk files: a) the method inherited from history: cylinder number, track number, sector number; b) the linear method: treating the disk as a continuous large data block. Accessing a disk location is handled as a linear address just like in memory.
Information:
CentOSDetailed explanation of fdisk -l display information http://www.centoscn.com/CentOS/help/2015/0112/4480.html
The above is the detailed content of How to check disk sector size and other information in centos. For more information, please follow other related articles on the PHP Chinese website!