Fan plane, track, and sector of the hard disk

Source: Internet
Author: User

Fan surface: Cylinder/Track: Track/sectorsSector: Sector/headCHS: cylinder, Head, sector/track. The number of cylinder cylinders indicates the number of tracks on each disk of the hard disk. The number starts from 0 and ranges from 1023, indicates there are 1024 channels. The number of heads indicates the total number of heads on the disk, that is, the number of faces on the disk. The number starts from 0 and ranges from 255 to 256, indicating that there are heads. The number of sector/track sectors table shows the number of sectors on each track. The number starts from 1 and ranges from 63 to 63, indicating 63 sectors. Each sector is 512 bytes, it is the smallest storage unit of the disk. 1024 cylinders x 63 sectors x 256 heads x 512 bytes = 8455716864 bytes (8.4 GB) Logical Block: When the logical block is in the format of partition filesystem, the minimum storage unit specified. The block size is a multiple of the 2's power of the sector. The head can read a block at a time. The planning of block units should take into account the performance of Data Reading and the utilization of hard disk space. Http://blog.csdn.net/Veini/archive/2009/12/24/5069329.aspx

Although the length of the internal and external channels is different, the number of sectors on each track is the same, that is, the inner ring density is large, and the outer ring density is small.

Http://hi.baidu.com/youdianweidao/blog/item/98b739502e311a581038c235.html

How to calculate capacity ﹖

Generally, when we buy a hard drive, we pay attention to its capacity first. Secondly, we need to look at its number of turns (the higher the number of turns, the better), the head read/write speed, cache size, traffic, and other data. So how can we know the capacity? The simplest thing is to look at the model and manufacturer information, but not through technical channels. Here we will teach you how to calculate the disk capacity. the structure of the drive.

If you open the hard drive (but never do it on your own hard drive! Because the hard drive is sealed, it is almost useless once it is opened) you will find a pile of metal discs with the center as the axis, and they have been magnetized. All data is recorded on these smooth metal discs. Each metal disk usually has two sides and each side has its own read/writeHead)One. ﹕

Then, the disk is rotated, and the head is not moved in a circle relative to the surface.Track). Then, from the center of the circle to a certain distance, all the magnetic tracks with the same circumference on the surface are stacked from top to bottom, which is an abstractCylinder).

Then, it starts from the center of the circle and draws numerous radius on the same surface. Then, the magnetic orbit separated by each two radius is calledSector). Each magnetic area usually carries 512 bytes (Kb) of data. See the legend ﹕

Well, if all the above information (cylinder/heads/sector) is known, it would be easier to require hard disk capacity. The formula is ﹕

Number of magnetic heads (actually a readable and writable surface) X number of magnetic bars (actually a magnetic track on each surface) X number of magnetic areas of each Magnetic Track X capacity of each magnetic area = hard disk capacity

For example, if you see the hard drive ﹕


Cylinder Heads Sector
1647 16 63

Then, 1647x16x63x0. 5kb = 830088kb/1024 is a 811 MB hard drive. If you want the system to be able to read this hard disk, the data must be written into the BIOS. However, most of the current BIOS has the automatic detection function. You only need to select Auto in the bios, which is much more convenient., especially when the new hard drive is used.

With the continuous improvement of manufacturing technology, hard disk disks become thinner and smaller, so the more disks can be mounted (more and more readable and writable surfaces) in addition, the density of the surface is constantly improved and the read/write precision is getting higher and higher (more and more track and sector), so the hard disk capacity is also growing.

In addition to this, the method for increasing disk capacity is also called Multiple Zone recording. Before this technology was introduced, the number of sector on each track was the same, so that the fan surface across the peripheral sector was obviously closer to the inside (center) it is a lot of waste. After mzr is referenced, we can divide the external track into more sector, and the capacity will increase.

 

* Physical composition of Hard Disks

Everyone should have read the hard drive! The hard drive is divided into 3.5 inches and 2.5 inches Based on the desktop and laptop. We use a hard drive on a 3.5 inch desktop. In the Hard Disc Box, the disk is actually composed of a large number of disc disks, mechanical arm, disk reading head and spindle motors, as shown in the following figure:


Hard Disk Physical Structure
Figure 2.4.1 Hard Disk Physical Structure (picture taken from Wikipedia)

The actual data is written in the head of a disk with magnetic material, and read/write is mainly achieved through the head on the manipulator arm. In actual operation, the Spindle Motor allows the disk to rotate, and the mechanical arm can stretch to allow the read head to read and write on the disk. In addition, because the capacity of a single disk is limited, there are more than two disks in some hard disks!

* Data on the disk

Since the data is written to the disk head, how is the data written to the disk head written? In fact, the data on the disk is a bit as shown in the figure below:


Data format on the disk
Figure 2.4.2 data format on the disk

The entire disk seems to have multiple concentric circles to draw a circular chart, and the smallest storage unit of the disk is split by the center of the circle in a radial way, that is, the magnetic area (sector ), in physical composition, the size of each magnetic area is 512 bytes, and this value will not change. The magnetic block becomes a track. If it is on a multi-disk hard disk, the same magnetic track on all disks can form a cylinder ), the magnetic column is also the smallest unit when we split the hard disk!

When calculating the storage capacity of the entire hard disk, the simple calculation formula is: 'number of headers * Number of magnetic bars for each header * Number of magnetic fields contained in each column * Capacity of the magnetic area ', the Unit is converted to 'header * cylinder/header * secter/cylinder * 512 bytes/secter '. The simple syntax is as follows: Head x cylinder x sector x 512 bytes. However, it should be noted that when hard drive manufacturers display hard drive capacity, most of them are numbered in decimal places. Therefore, commercial GB hard drives only provide about gbytes in theory!

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.