Hard disk  Drive
Head positioning Of a voice coil Based System <ul><li>Voice coil based systems use a special information previously writte...
Closed loop servo Read the Servo/ index information Is it the reqd. Position Move the head to next position Stop Yes No Cl...
Types of servo <ul><li>There are 3 types of servo for controlling the voice coil based head positioning system (relative p...
Wedge servo <ul><li>It appears in a wedge like shape on the disk surface.  </li></ul><ul><li>The servo information is writ...
 
Problem with Wedge servo <ul><li>Servo information appears only once per rotation </li></ul><ul><li>If the head is looking...
Embedded servo <ul><li>Servo information is kept at the beginning of each sector </li></ul><ul><li>This design allows the ...
 
Dedicated Servo <ul><li>One side of one platter  exclusively used for servo information </li></ul><ul><li>As the head on t...
 
HDD features <ul><li>Characteristics of HDD are : </li></ul><ul><li>Size </li></ul><ul><li>Capacity </li></ul><ul><li>Inte...
Form Factor <ul><li>Drives are available in different widths and heights </li></ul><ul><li>Form factor is the basic unit o...
Storage capacity <ul><li>The storage may be given as formatted capacity in million bytes or in megabytes. </li></ul><ul><l...
Disk Geometry <ul><li>HDD stores data as magnetic information on its surface. If the data is stored continuously one next ...
Sides and Heads <ul><li>HD can contain more than one platter </li></ul><ul><li>Each side can be used for read and write op...
Track <ul><li>Each side of HDD platter’s surface is divided into concentric circles called tracks </li></ul><ul><li>They a...
 
Sector <ul><li>A track is a big area to store data( 5000 bytes) </li></ul><ul><li>Hence tracks  are divided into sectors  ...
Cylinder <ul><li>Same tracks of different  platters form an imaginary cylinder like structure </li></ul><ul><li>Data is st...
 
Calculation of storage capacity <ul><li>Total number of sectors =  Total sides  x  total tracks per side  x  Total sectors...
Interleave <ul><li>If the sectors are numbered sequentially from 1 - max number, the disc read operation will be very slow...
Interleave <ul><li>By the time this process is completed, the R/W disk passes the 2 nd  sector. </li></ul><ul><li>Now when...
Interleave Factor <ul><li>The solution to this to put the 2 nd  sector in 3 rd  or 4 th  position, so that the head will p...
Interleave factor
Zone bit recording <ul><li>A new recording scheme is used by current high capacity IDE and SCSI HDDs to store more sectors...
Zone bit recording
Write Pre-compensation <ul><li>It is useful for drives using standard track, sector format </li></ul><ul><li>Drives using ...
Write Pre-compensation <ul><li>I n the inner tracks of the disk drive, the density of the magnetic are very high and adjac...
Write Pre-compensation <ul><li>The particles will slowly shift to the required position because of attraction and repulsio...
Master Boot Record <ul><li>MBR contains a small program to load and start the active / bootable partition </li></ul><ul><l...
Cluster <ul><li>When OS writes some information on the hard disk, it does not allocate the space sector wise, instead uses...
Cluster <ul><li>A cluster can be made up of one or more sectors, it depends on disk type being used.  </li></ul><ul><li>Th...
Default Cluster size for different volume sizes Volume size FAT 16 Cluster FAT 32 cluster NTFS cluster 7MB – 16MB 2 KB Not...
Logical Structure of HDD Physical Sector Partition1(C:) (Logical sector 1) Partition 2 (D:) (logical sector 2) DOS Boot re...
Logical structure <ul><li>It is the function of DOS FDISK and FORMAT command to create logical areas on the disk drive </l...
Formatting <ul><li>Hard Disk drive requires a low level formatting and a high level formatting to make it useful for data ...
Low level formatting <ul><li>It is called physical formatting. </li></ul><ul><li>To find out if a drive is low level forma...
Functions of low level formatting <ul><li>Dividing the disk surface into tracks and sectors </li></ul><ul><li>Establishing...
High level formatting <ul><li>After low level formatting and partitioning, final step for preparing the hard disk drive fo...
Partitioning <ul><li>It was a new concept introduced by IBM when they launched 10 MB HDD </li></ul><ul><li>At that time 10...
Partitioning <ul><li>Consider the table: </li></ul><ul><li>If partition size is 100 MB – Cluster size is 2 KB </li></ul><u...
Partition <ul><li>Partitioning is the middle process </li></ul>Configure the system BIOS setup Low level formatting Partit...
Partitioning <ul><li>It is done to have more than one operating system on the same drive </li></ul><ul><li>To have more th...
Upcoming SlideShare
Loading in...5
×

Chap2 hdd2

883

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
883
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
69
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Chap2 hdd2

  1. 1. Hard disk Drive
  2. 2. Head positioning Of a voice coil Based System <ul><li>Voice coil based systems use a special information previously written on disk surface ( at the time of manufacturing). </li></ul><ul><li>This special index information on the disk surface is called “Servo”. </li></ul><ul><li>Voice coil actuators use this servo information as an index to accurately move the R/W head to any particular location </li></ul><ul><li>It is a closed loop system </li></ul><ul><li>This type does not require frequent low level formatting as required in the stepper motor based HDD </li></ul>
  3. 3. Closed loop servo Read the Servo/ index information Is it the reqd. Position Move the head to next position Stop Yes No Closed Loop
  4. 4. Types of servo <ul><li>There are 3 types of servo for controlling the voice coil based head positioning system (relative position of information wrt the head position) </li></ul><ul><li>Wedge servo </li></ul><ul><li>Embedded servo </li></ul><ul><li>Dedicated servo </li></ul>
  5. 5. Wedge servo <ul><li>It appears in a wedge like shape on the disk surface. </li></ul><ul><li>The servo information is written in pre- index gap i.e gap between end and beginning of the track </li></ul><ul><li>Most controllers need not be specially configured for these drives but some may need to be configured to work with these drives </li></ul>
  6. 7. Problem with Wedge servo <ul><li>Servo information appears only once per rotation </li></ul><ul><li>If the head is looking for some information, then the drive needs several rotations for the head to properly find the required information </li></ul>
  7. 8. Embedded servo <ul><li>Servo information is kept at the beginning of each sector </li></ul><ul><li>This design allows the head positioning system to receive the current position many times in a single rotation. This makes it precise and faster </li></ul>
  8. 10. Dedicated Servo <ul><li>One side of one platter exclusively used for servo information </li></ul><ul><li>As the head on the servo side is not made for R/W operation, no low level format program or controller can change servo info </li></ul><ul><li>It will have odd number of R/W heads. They are high capacity, high speed HDD. </li></ul><ul><li>It allows positional accuracy and highest possible speed </li></ul>
  9. 12. HDD features <ul><li>Characteristics of HDD are : </li></ul><ul><li>Size </li></ul><ul><li>Capacity </li></ul><ul><li>Interleave </li></ul><ul><li>Head skew </li></ul><ul><li>Cylinder skew </li></ul>
  10. 13. Form Factor <ul><li>Drives are available in different widths and heights </li></ul><ul><li>Form factor is the basic unit of measurement of size of the drive </li></ul><ul><li>Form factor is decided by the platter width </li></ul><ul><li>5.25 inch platter has 5.25 inch form factor </li></ul><ul><li>3.5 inch platter has 3.5 inch form factor </li></ul>
  11. 14. Storage capacity <ul><li>The storage may be given as formatted capacity in million bytes or in megabytes. </li></ul><ul><li>It may be given as unformatted capacity in million bytes or in megabytes </li></ul>
  12. 15. Disk Geometry <ul><li>HDD stores data as magnetic information on its surface. If the data is stored continuously one next to another, then at the time of retrieval, the disk has to be scanned for getting the required data. </li></ul><ul><li>To arrange data properly on the disk surface , it is divided into Heads/side, tracks, sectors, cylinders etc.. </li></ul><ul><li>When info is written on some side, sector, track etc are saved in an index like place called directory and FAT </li></ul><ul><li>When data is required, comp. looks at the entry in directory and FAT and locates the side, track and sector </li></ul>
  13. 16. Sides and Heads <ul><li>HD can contain more than one platter </li></ul><ul><li>Each side can be used for read and write operation </li></ul><ul><li>Each side has a separate R/W head </li></ul><ul><li>All the heads are connected to a single head rack which makes R/W heads move over the disk drives. Head numbers begin from head 0, head1 and so on </li></ul>
  14. 17. Track <ul><li>Each side of HDD platter’s surface is divided into concentric circles called tracks </li></ul><ul><li>They are magnetic information written during formatting of HDD </li></ul><ul><li>Outermost track is called track 0. The innermost will have the highest number </li></ul>
  15. 19. Sector <ul><li>A track is a big area to store data( 5000 bytes) </li></ul><ul><li>Hence tracks are divided into sectors </li></ul><ul><li>The formatting program divides disk surface into sectors by writing magnetic pattern on disk surface </li></ul><ul><li>Different HDD capacities have different number of tracks </li></ul><ul><li>512 byte data can be stored in each sector. Sector no. starts from 1 </li></ul>
  16. 20. Cylinder <ul><li>Same tracks of different platters form an imaginary cylinder like structure </li></ul><ul><li>Data is stored cylinder by cylinder </li></ul><ul><li>All tracks on a cylinder are written and then the R/W head moves to the next Cylinder . This reduces movement of R/W head and increases the speed of read and write operation </li></ul>
  17. 22. Calculation of storage capacity <ul><li>Total number of sectors = Total sides x total tracks per side x Total sectors per track </li></ul><ul><li>Total Storage capacity = Total number of sectors x 512 </li></ul>
  18. 23. Interleave <ul><li>If the sectors are numbered sequentially from 1 - max number, the disc read operation will be very slow </li></ul><ul><li>Consider disc read of a complete track (sectors1 ,2,3 etc) </li></ul><ul><li>The drive starts reading when R/W head reaches Sector1 </li></ul><ul><li>After reading, drive sends this data to the controller. CRC test is done. During this the disk is rotating </li></ul>
  19. 24. Interleave <ul><li>By the time this process is completed, the R/W disk passes the 2 nd sector. </li></ul><ul><li>Now when the 2 nd sector instruction is given, the head is in the 3 rd / 4 th sector. Now the disc has to complete one full rotation to come to 2 nd sector again </li></ul><ul><li>This will make the read process slow </li></ul>
  20. 25. Interleave Factor <ul><li>The solution to this to put the 2 nd sector in 3 rd or 4 th position, so that the head will position itself at the correct location when it receives the instruction to read the 2 nd sector </li></ul><ul><li>Numbering the sectors out of order with leaving a gap of one or more sectors in sector numbering is called Interleaving. </li></ul><ul><li>No w a days , we have 1:1 interleave with IDE and SCSI interfacing which support them </li></ul>
  21. 26. Interleave factor
  22. 27. Zone bit recording <ul><li>A new recording scheme is used by current high capacity IDE and SCSI HDDs to store more sectors in outer track compared to the number in the inner track </li></ul><ul><li>This method is called zone bit recording </li></ul><ul><li>In this method, the platter is divided into number of zones, each zone will have a fixed number of sectors / track </li></ul><ul><li>The controller used with the drive has one additional job of converting the odd number of sectors/ track in different tracks into standard no. of sectors/track </li></ul>
  23. 28. Zone bit recording
  24. 29. Write Pre-compensation <ul><li>It is useful for drives using standard track, sector format </li></ul><ul><li>Drives using zone bit recording do not require any write pre- compensation </li></ul><ul><li>The magnetic particles used to write on the disk surface have north and south poles </li></ul><ul><li>Like poles repel and unlike poles attract </li></ul><ul><li>In outer surface of hard disk platter, magnetic particles are far apart to be affected by the attraction and repulsion of magnetic particles </li></ul>
  25. 30. Write Pre-compensation <ul><li>I n the inner tracks of the disk drive, the density of the magnetic are very high and adjacent particles start to attract and repel. </li></ul><ul><li>This will force to change the information written on the disk </li></ul><ul><li>To compensate for this shift of data particles due to attraction and repulsion, the drive can write the data apart or closer than the required position </li></ul>
  26. 31. Write Pre-compensation <ul><li>The particles will slowly shift to the required position because of attraction and repulsion </li></ul><ul><li>This process of writing the data closer or farther to compensate for attraction or repulsion of magnetic particles is called Write pre-compensation </li></ul><ul><li>The cylinder from which this pre-compensation is started is called pre-compensation cylinder. This value will be used by all the cylinders that are towards the centre of the drive </li></ul>
  27. 32. Master Boot Record <ul><li>MBR contains a small program to load and start the active / bootable partition </li></ul><ul><li>This area also contains information about all four primary partitions on HDD, their starting sector, ending sector, size etc.in the form of partition table record </li></ul><ul><li>The MBR is located at Cylinder 0, head 0 sector1 and partition boot sector are located at the beginning of each partition volume </li></ul><ul><li>Max number of all type of partition together allowed by DOS is 24(c-z) </li></ul>
  28. 33. Cluster <ul><li>When OS writes some information on the hard disk, it does not allocate the space sector wise, instead uses a new unit of storage called “Cluster” </li></ul><ul><li>Clusters are the minimum space allocated by DOS when storing any information on the disk </li></ul><ul><li>Even to store only one byte long information on the disk requires minimum one cluster area on the disk surface </li></ul>
  29. 34. Cluster <ul><li>A cluster can be made up of one or more sectors, it depends on disk type being used. </li></ul><ul><li>This reduces the size of FAT that DOS uses to keep track of the used and the empty disk space </li></ul><ul><li>First cluster no. is taken as 2 </li></ul><ul><li>Clusters are used to allocate the storage area for data area only, FAT and directory areas are not allocated according to the cluster size </li></ul>
  30. 35. Default Cluster size for different volume sizes Volume size FAT 16 Cluster FAT 32 cluster NTFS cluster 7MB – 16MB 2 KB Not supported 512 bytes 17MB- 32 MB 512 bytes Not supported 512 bytes 33 MB- 64MB 1 KB 512 bytes 512 bytes 65MB – 128MB 2KB 1 KB 512 bytes 129 MB – 256 MB 4 KB 2 KB 512 bytes 257 KB- 512 MB 8 KB 4 KB 512 bytes 513 MB -1024 MB 16 KB 4 KB 1 KB 1o25 MB-2 GB 32 KB 4 KB 2 KB 2 GB -4 GB 64 KB 4KB 4KB 4 GB – 8 GB Not supported 4KB 4KB 8GB -16 GB Not supported 8 KB 4KB 16 GB- 32 GB Not supported 16 KB 4KB 32 GB- 2 TB Not supported Not supported 4 KB
  31. 36. Logical Structure of HDD Physical Sector Partition1(C:) (Logical sector 1) Partition 2 (D:) (logical sector 2) DOS Boot record FAT 1 FAT 2 Root Direc- tory Data Area DOS Boot record FAT 1 FAT 2 Root Direc- tory Data Area
  32. 37. Logical structure <ul><li>It is the function of DOS FDISK and FORMAT command to create logical areas on the disk drive </li></ul><ul><li>FDISK creates Master Boot Record (MBR) </li></ul><ul><li>FORMAT command creates DOS boot record, FAT area, Root directory area and empty data area </li></ul>
  33. 38. Formatting <ul><li>Hard Disk drive requires a low level formatting and a high level formatting to make it useful for data storage </li></ul><ul><li>Low level formatting magnetically divides the disk into tracks and sectors </li></ul><ul><li>High level formatting is done on hard disk to make the disk DOS compatible by writing DBR, FATs and empty root directory information on the drive </li></ul>
  34. 39. Low level formatting <ul><li>It is called physical formatting. </li></ul><ul><li>To find out if a drive is low level formatted or not , DOS FDISK program is used. If FDISK program recognizes HDD, the drive has already been low level formatted </li></ul><ul><li>Most HDD currently available are Low level formatted from factory itself. </li></ul>
  35. 40. Functions of low level formatting <ul><li>Dividing the disk surface into tracks and sectors </li></ul><ul><li>Establishing interleave factor </li></ul><ul><li>Marking identification information on each track and sector </li></ul><ul><li>Marking defective sectors </li></ul>
  36. 41. High level formatting <ul><li>After low level formatting and partitioning, final step for preparing the hard disk drive for use is high level format the drive </li></ul><ul><li>High level format program need to only create File Allocation Table, directory system etc..so that the DOS can use the HDD for storing and storing files </li></ul><ul><li>The command A:> FORMAT C:/S </li></ul>
  37. 42. Partitioning <ul><li>It was a new concept introduced by IBM when they launched 10 MB HDD </li></ul><ul><li>At that time 10 MB was considered to be a large storage area and decided to use it for 2 different operating system </li></ul><ul><li>Partitioning means dividing the drive into logical parts or volumes </li></ul><ul><li>DOS/ Windows FDISK.EXE is used to partition a HDD. Big size partition is wastage of space </li></ul>
  38. 43. Partitioning <ul><li>Consider the table: </li></ul><ul><li>If partition size is 100 MB – Cluster size is 2 KB </li></ul><ul><li>For partition size 4000 MB – cluster size is 64 KB </li></ul><ul><li>On 100 MB disc – 500 files will require 500x 2 KB = 1MB of space </li></ul><ul><li>On 400MB disc 500 files will require 500 x 64 KB = 32MB of space </li></ul>Size of logical Drive (MB) Cluster size in KB 0-15 4 16- 127 2 128 -255 4 256 -511 8 512 - 1023 16 1024 – 2047 32 2049- 4095 64
  39. 44. Partition <ul><li>Partitioning is the middle process </li></ul>Configure the system BIOS setup Low level formatting Partitioning (FDISK) High level formatting
  40. 45. Partitioning <ul><li>It is done to have more than one operating system on the same drive </li></ul><ul><li>To have more than one logical drive </li></ul><ul><li>Partition program FDISK writes a MBR in the first physical sector i.e Cylinder 0, head 0 and Sector 1 </li></ul><ul><li>FDISK can be used for : </li></ul><ul><li>Creating a primary DOS partition </li></ul><ul><li>Creating an extended DOS partition </li></ul><ul><li>Creating logical drives in extended partition </li></ul><ul><li>Deleting partitions </li></ul><ul><li>Display partition data </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×