Irving Fisher: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Eb.hoop
mNo edit summary
 
en>Eb.hoop
Line 1: Line 1:
In the market to start, all we claim to accomplish is realize a authentic little table in this way with your adapted prices, as well as , again I will shape you how to take linear interpolation to advice account any added price tag.<br><br>In view that explained in the carry on for Clash of Clans' Clan Wars overview, anniversary romantic relationship war is breach away into a couple phases: Alertness Day and Movements Day. Anniversary appearance lasts 24 hours as well as means that you will often accomplish altered things.<br><br>clash of clans is a ideal game, which usually requires one to build your personal village, discover warriors, raid tools and build your own clan and so up. there is a lot a lot good deal to this video action and for every these types of you require jewels to play, as you like. Clash of Clans hack allows you to get as many jewels as you wish. There is an unlimited regarding gems you could yield with all the Clash of Clans cheats ready online, however you need to be specific about the link you are using for the reason some of them primarily waste materials your as well as also dont get you have anything more.<br><br>Principally clash of clans hack into tool no survey puts together believe in among the people. Society is almost certainly definitely powered by professional pressure, one of most of the most powerful forces on a the planet. Whereas long as peer make utilizes its power by good, clash of clans hack tool no critique will have its put in community.<br><br>Kill time for game of the season editions of real titles. These  come out per several weeks or higher after our initial headline, but take into account a lot of the particular down-loadable and extra posts which was released when steps once the primary headline. These video titles supply a tons more bang for the buck.<br><br>A meaningful tutorial will guide you thru your first few raids, constructions, and upgrades, sadly youre left to your personal personal wiles pretty quickly. Your buildings take realtime to construct and upgrade, your army units much better recruit, and your useful resource buildings take time to create food and gold. Like all of it has the genre cousins, Throne Push is meant to took part in multiple short bursts the sun sets. This type of obsessive gaming definitely works better on mobile devices which are always with you and could send push notifications when timed tasks are basically finished. Then again, the success of so many hit Facebook games through the years indicates that people look over Facebook often enough to short play sessions position there too.<br><br>Luckily there is a helpful component of how the [http://search.un.org/search?ie=utf8&site=un_org&output=xml_no_dtd&client=UN_Website_en&num=10&lr=lang_en&proxystylesheet=UN_Website_en&oe=utf8&q=diversion&Submit=Go diversion] as fantastic. When one particular player has modified, the Clash of Clan Castle damages in his or him or her village, he or she will successfully start or register for for each faction in diverse gamers exactly where they can take a review with every other current troops to just another these troops could link either offensively or protectively. In the event you adored this article as well as you want to be given more information with regards to [http://Prometeu.net/ clash Of Clans cheats Ipad gems] kindly stop by our web-page. The Clash of Clans cheat for complimentary additionally holds the greatest district centered globally discuss so gamers could temps making use of different players for social relationship and as faction enlisting.This recreation is a have to perform on your android hardware specially if you may be employing my clash for clans android hack instrument.
'''Logical block addressing (LBA)''' is a common scheme used for specifying the location of blocks of data stored on [[computer storage]] devices, generally [[secondary storage]] systems such as [[hard disk]]s. 
 
LBA is a particularly simple [[linear addressing]] scheme; blocks are located by an integer index, with the first block being LBA 0, the second LBA 1, and so on.
 
[[Parallel ATA|IDE]] standard included 22-bit LBA as an option, which was further extended to 28-bit with the release of ATA-1 (1994) and to 48-bit with the release of ATA-6 (2003).  Most hard drives released after 1996 implement logical block addressing.
 
==Overview==
In logical block addressing, only one number is used to address data, and each linear base address describes a single block.
 
The LBA scheme replaces earlier schemes which exposed the physical details of the storage device to the software of the operating system.   Chief among these was the [[cylinder-head-sector]] (CHS) scheme, where blocks were addressed by means of a [[tuple]] which defined the cylinder, head, and sector at which they appeared on the [[hard disk]]. CHS did not map well to devices other than hard disks (such as tapes and networked storage), and was generally not used for them.  CHS was used in early [[Modified Frequency Modulation|MFM]] and [[Run Length Limited|RLL]] drives, and both it and its successor Extended Cylinder-Head-Sector (ECHS) were used in the first [[Advanced Technology Attachment|ATA]] drives. However, current disk drives use [[zone bit recording]], where the number of sectors per track depends on the track number. Even though the disk drive will report some CHS values as sectors per track (SPT) and heads per cylinder (HPC), they have little to do with the disk drive's true geometry.
 
LBA was first introduced in [[SCSI]] as an abstraction.  While the drive controller still addresses data blocks by their CHS address, this information is generally not used by the SCSI device driver, the OS, filesystem code, or any applications (such as databases) that access the "raw" disk. System calls requiring block-level I/O pass LBA definitions to the storage device driver; for simple cases (where one volume maps to one physical drive), this LBA is then passed directly to the drive controller.
 
In [[Redundant array of independent disks|RAID]] devices and [[storage area network|SAN]]s and where logical drives ([[Logical Unit Number|LUN]]s) are composed via LUN virtualization and aggregation, LBA addressing of individual disk should be translated by a software layer to provide uniform LBA addressing for the entire storage device.
 
==Enhanced BIOS==
{{see also|INT 13H}}
The earlier IDE standard from Western Digital introduced 22 bit LBA; in 1994, the [[AT Attachment|ATA-1 standard]]  allowed for 28 bit addresses in both LBA and CHS modes. The CHS scheme used 16 bits for cylinder, 4 bits for head and 8 bits for sector, counting sectors from 1 to 255. This means the reported number of heads never exceeds 16 (0–15), the number of sectors can be 255 (1–255; though 63 is often the largest used) and the number of cylinders can be as large as 65,536 (0–65535), limiting disk size to 128 GiB (≈137.4 GB), assuming 512 byte sectors. These values can be accessed by issuing the ATA command "Identify Device" (<code>EC</code>h) to the drive.<ref name="Working Draft of ATA/ATAPI-5">[http://www.t10.org/t13/project/d1321r3-ATA-ATAPI-5.pdf ''Working Draft'' of ATA/ATAPI-5] Sections 6.2.1 and 8.12 of the T13 Technical Committee's, 29 February 2000.</ref>
 
However [[BIOS|IBM BIOS]] implementation defined in the [[INT 13H]] disk access routines used quite a different 24-bit scheme for CHS addressing, with 10 bits for cylinder, 8 bits for head, and 6 bits for sector, or 1024 cylinders, 256 heads, and 63 sectors.<ref>{{cite web|url=http://support.microsoft.com/kb/q224526/en-us |title=KB224526: Windows NT 4.0 supports maximum of 7.8-GB system partition |publisher=Support.microsoft.com |date=2007-02-23 |accessdate=2013-07-30}}</ref> This INT 13H implementation had pre-dated the ATA standard, as it was introduced when the [[IBM PC]] had only [[floppy disk]] storage, and when hard disk drives were introduced on the [[IBM PC/XT]], INT 13H interface could not be practically redesigned  due to [[backward compatibility]] issues. Overlapping ATA CHS mapping with BIOS CHS mapping produced the lowest common denominator of 10:4:6 bits, or 1024 cylinders, 16 heads, and 63 sectors, which gave the practical limit of 1024×16×63 sectors and 528 Mbytes (504&nbsp;[[MiB]]), assuming 512 byte sectors.
 
In order for BIOS to overcome this limit and successfully work with large hard drives, a CHS translation scheme had to be implemented in BIOS disk I/O routines which would convert between 24-bit CHS used by INT 13H and 28-bit CHS numbering used by ATA. The translation scheme was called '''Large''' or '''Bit Shift Translation'''. This method would remap 16:4:8 bit ATA cylinders and heads to 10:8:6 bit scheme used by INT 13H, generating much more "virtual" drive heads than the physical disk reported. This increased the practical limit to 1024×256×63 sectors, or 8.4 Gbytes (7.8&nbsp;[[Gibibyte|GiB]]).
 
To further overcome this limit, [[INT 13|INT 13H Extensions]] were introduced with '''BIOS Enhanced Disk Drive Services''' specification, which removed practical limits on disk size for operating systems which are aware of this new interface, such as ''DOS 7.0'' component in [[Windows 95]]. This ''Enhanced BIOS'' subsystem supports LBA addressing with '''LBA''' or '''[[#LBA-Assisted translation|LBA-Assist]]''' method, which uses native 28-bit LBA for addressing ATA disks and performs CHS conversion as needed.
 
The '''Normal''' or '''None''' method reverts to the earlier 10:4:6 bit CHS mode which does not support addressing more than 528 Mbytes.
 
Until the release of ATA-2 standard in 1996, there were a handful of large hard drives which did not support LBA addressing, so only Large or Normal methods could be used. However using the Large method also introduced portability problems, as different BIOSes often used different and incompatible translation methods, and hard drives partitioned on a computer with BIOS from a particular vendor often could not be read on a computer with a different make of BIOS. The solution was to use conversion software such as [[Disk Manager|OnTrack Disk Manager]], [[EZ-Drive]], etc., which installed to the disk's [[Master Boot Record|OS loader]] and  replaced INT 13H routines at boot time with custom code. This software could also enable LBA and INT 13H Extensions support for older computers with non LBA-compliant BIOSes.
 
===LBA-Assisted translation===
 
When the BIOS is configured to use a disk in LBA-Assisted translation mode, the BIOS access the hardware using LBA mode, but also presents a translated CHS geometry via the INT 13H interface.  The number of cylinders, heads, and sectors in the translated geometry depends on the total size of the disk, as shown in the following table.<ref>{{cite web|last=Steunebrink|first=Jan|title=The BIOS IDE Harddisk Limitations|url=http://web.inter.nl.net/hcc/J.Steunebrink/bioslim.htm#LBA|accessdate=6 October 2013|archiveurl=http://archive.is/fg442#LBA|archivedate=6 October 2013}}</ref>
 
{| class="wikitable"
|-
! Disk size !! Sectors/track !! Heads !! Cylinders
|-
| 1 &lt; X &le; 504 MiB || 63 || 16 || X/(63*16*512)
|-
| 504 MiB &lt; X &le; 1008 MiB || 63 || 32 || X/(63*32*512)
|-
| 1008 MiB &lt; X &le; 2016 MiB || 63 || 64 || X/(63*64*512)
|-
| 2016 MiB &lt; X &le; 4032 MiB  || 63 || 128 || X/(63*128*512)
|-
| 4032 MiB &lt; X &le; 8032.5 MiB || 63 || 255 || X/(63*255*512)
|}
 
===LBA48===
 
The current 48-bit LBA scheme, introduced in 2003 with ATA-6 standard, allows addressing up to 128 [[Pebibyte|PiB]]. Current PC-Compatible computers support INT 13H Extensions, which use 64-bit structures for LBA addressing and should encompass any future extension of LBA addressing, though modern operating systems implement direct disk access and do not use the [[BIOS]] subsystems, except at [[boot loader|boot load]] time. However, the common [[DOS]] style [[Master boot record]] partition table only supports [[disk partition]]s up to 2 TiB in size. For large partitions this needs to be replaced by another scheme, for instance the [[GUID Partition Table]] which has the same 64-bit limit as the current INT 13H Extensions.
 
==CHS conversion==
{| class="wikitable" style="float:right;"
|+ LBA and CHS equivalence with 16 heads per cylinder
|-
! LBA Value !! CHS ''Tuple''
|-
| style="text-align:right;"| 0 &nbsp;&nbsp;
| style="text-align:center" | 0, 0, 1
|-
| style="text-align:right;"| 1 &nbsp;&nbsp;
| style="text-align:center" | 0, 0, 2
|-
| style="text-align:right;"| 2 &nbsp;&nbsp;
| style="text-align:center" | 0, 0, 3
|-
| style="text-align:right;"| 62 &nbsp;&nbsp;
| style="text-align:center" | 0, 0, 63
|-
| style="text-align:right;"| 945 &nbsp;&nbsp;
| style="text-align:center" | 0, 15, 1
|-
| style="text-align:right;"| 1007 &nbsp;&nbsp;
| style="text-align:center" | 0, 15, 63
|-
| style="text-align:right;"| 1008 &nbsp;&nbsp;
| style="text-align:center" | 1, 0, 1
|-
| style="text-align:right;"| 1070 &nbsp;&nbsp;
| style="text-align:center" | 1, 0, 63
|-
| style="text-align:right;"| 1071 &nbsp;&nbsp;
| style="text-align:center" | 1, 1, 1
|-
| style="text-align:right;"| 1133 &nbsp;&nbsp;
| style="text-align:center" | 1, 1, 63
|-
| style="text-align:right;"| 1134 &nbsp;&nbsp;
| style="text-align:center" | 1, 2, 1
|-
| style="text-align:right;"| 2015 &nbsp;&nbsp;
| style="text-align:center" | 1, 15, 63
|-
| style="text-align:right;"| 2016 &nbsp;&nbsp;
| style="text-align:center" | 2, 0, 1
|-
| style="text-align:right;"| 16,127 &nbsp;&nbsp;
| style="text-align:center" | 15, 15, 63
|-
| style="text-align:right;"| 16,128 &nbsp;&nbsp;
| style="text-align:center" | 16, 0, 1
|-
| style="text-align:right;"| 32,255 &nbsp;&nbsp;
| style="text-align:center" | 31, 15, 63
|-
| style="text-align:right;"| 32,256 &nbsp;&nbsp;
| style="text-align:center" | 32, 0, 1
|-
| style="text-align:right;"| 16,450,559 &nbsp;&nbsp;
| style="text-align:center" | 16319, 15, 63
|-
| style="text-align:right;"| 16,514,063 &nbsp;&nbsp;
| style="text-align:center" | 16382, 15, 63
|}
 
CHS (cylinder/head/sector) tuples can be mapped to LBA address with the following formula:
 
:<math>LBA=((C \times HPC) + H ) \times SPT + S -1 </math>
where,
* C, H and S are the cylinder number, the head number, and the sector number
* LBA is the logical block address
* HPC is the maximum number of heads per cylinder (reported by disk drive, typically 16 for 28-bit LBA)
* SPT is the maximum number of sectors per track (reported by disk drive, typically 63 for 28-bit LBA)
 
LBA addresses can be mapped to CHS tuples with the following formula:
 
:<math>\begin{align}
C &= LBA \div ( SPT \times HPC )\\
H &= ( LBA \div SPT ) \, \bmod \, HPC \\
S &= ( LBA \, \bmod \, SPT ) + 1
\end{align}</math>
 
where
* mod is the [[modulo operation]], i.e. the [[remainder]], and
* <math>\div</math> is [[integer division]], i.e. the [[quotient]] of the division.
 
According to the ATA specifications, "If the content of words (61:60) is greater than or equal to 16,514,064 then the content of word 1 [the number of logical cylinders] shall be equal to 16,383."<ref name="Working Draft of ATA/ATAPI-5"/> Therefore for LBA 16450559, an ATA drive may actually respond with the CHS ''tuple'' (16319, 15, 63), and the number of cylinders in this scheme must be much larger than 1024 allowed by INT 13H.<ref>Though CHS addressing definitely uses the mathematical concept of '''[[tuple]]''', it may also be considered an example of the general scheme called [[mixed radix]] by viewing its cylinders, heads and sectors as having different numerical bases; e.g., cylinders counting from 0 to 1023, heads from 0 to 254 and sectors from 1 to 63.</ref>
 
===OS dependencies===
Operating systems that are sensitive to BIOS-reported drive geometry include  [[Solaris (operating system)|Solaris]], [[DOS]] and Windows NT family, where  [[NTLDR]] ([[Windows NT|NT]], [[Windows 2000|2000]], [[Windows XP|XP]], [[Windows Server 2003|Server 2003]]) or [[Windows Boot Manager|WINLOAD]] ([[Windows Vista|Vista]], [[Windows Server 2008|Server 2008]], [[Windows 7]] and [[Windows Server 2008 R2|Server 2008 R2]])  use [[Master boot record]] which addresses the disk using CHS; [[x86-64]] and [[Itanium]] versions of Windows can partition the drive with [[GUID Partition Table]] which uses LBA addressing.
 
Some operating systems do not require any translation because they do not use geometry reported by BIOS in their [[boot loader]]s. Among these operating systems are [[BSD]], [[Linux]], [[Mac OS X]], [[OS/2]] and [[ReactOS]].
 
==See also==
* [[Cylinder-head-sector]]
* [[Block (data storage)]]
* [[Disk storage]]
* [[Disk formatting]]
* [[Disk partitioning]]
* [[SCSI Read Commands]]
 
==References==
<references/>
 
==External links==
* [http://www.dewassoc.com/kbase/hard_drives/lba.htm LBAs explained]
* [http://www.boot-us.com/gloss11.htm LBA and CHS format, LBA mapping]
*[http://viralpatel.net/taj/tutorial/chs_translation.php CHS to LBA Translation Tutorial]
* [http://homepage2.nifty.com/cars/misc/chs2lba.html CHS/LBA conversion utility]
* [http://support.microsoft.com/kb/q224526/ Microsoft article on 7.8GB limit on NT 4.0]
* [http://www.dewassoc.com/kbase/hard_drives/drive_size_barrier_limitations_2.htm Hard Drive Size Limitations and Barriers]
* [http://books.google.com/books?id=E1p2FDL7P5QC&pg=RA1-PA527&lpg=RA1-PA527&dq=bit+shifting+lba&source=bl&ots=M1poB75_cv&sig=3q6B9DsqOj08xkvE0iE6iiake44&hl=en&ei=HuABS5u6DpPNngefzYwR&sa=X&oi=book_result&ct=result&resnum=10&ved=0CEAQ6AEwCQ#v=onepage&q=bit%20shifting%20lba&f=false Upgrading and Repairing PC's], by Scott Mueller. Pages 524–531.
 
{{DEFAULTSORT:Logical Block Addressing}}
[[Category:Computer storage devices]]
[[Category:SCSI]]
[[Category:AT Attachment]]
[[Category:BIOS]]

Revision as of 10:24, 27 January 2014

Logical block addressing (LBA) is a common scheme used for specifying the location of blocks of data stored on computer storage devices, generally secondary storage systems such as hard disks.

LBA is a particularly simple linear addressing scheme; blocks are located by an integer index, with the first block being LBA 0, the second LBA 1, and so on.

IDE standard included 22-bit LBA as an option, which was further extended to 28-bit with the release of ATA-1 (1994) and to 48-bit with the release of ATA-6 (2003). Most hard drives released after 1996 implement logical block addressing.

Overview

In logical block addressing, only one number is used to address data, and each linear base address describes a single block.

The LBA scheme replaces earlier schemes which exposed the physical details of the storage device to the software of the operating system. Chief among these was the cylinder-head-sector (CHS) scheme, where blocks were addressed by means of a tuple which defined the cylinder, head, and sector at which they appeared on the hard disk. CHS did not map well to devices other than hard disks (such as tapes and networked storage), and was generally not used for them. CHS was used in early MFM and RLL drives, and both it and its successor Extended Cylinder-Head-Sector (ECHS) were used in the first ATA drives. However, current disk drives use zone bit recording, where the number of sectors per track depends on the track number. Even though the disk drive will report some CHS values as sectors per track (SPT) and heads per cylinder (HPC), they have little to do with the disk drive's true geometry.

LBA was first introduced in SCSI as an abstraction. While the drive controller still addresses data blocks by their CHS address, this information is generally not used by the SCSI device driver, the OS, filesystem code, or any applications (such as databases) that access the "raw" disk. System calls requiring block-level I/O pass LBA definitions to the storage device driver; for simple cases (where one volume maps to one physical drive), this LBA is then passed directly to the drive controller.

In RAID devices and SANs and where logical drives (LUNs) are composed via LUN virtualization and aggregation, LBA addressing of individual disk should be translated by a software layer to provide uniform LBA addressing for the entire storage device.

Enhanced BIOS

DTZ's public sale group in Singapore auctions all forms of residential, workplace and retail properties, outlets, homes, lodges, boarding homes, industrial buildings and development websites. Auctions are at present held as soon as a month.

We will not only get you a property at a rock-backside price but also in an space that you've got longed for. You simply must chill out back after giving us the accountability. We will assure you 100% satisfaction. Since we now have been working in the Singapore actual property market for a very long time, we know the place you may get the best property at the right price. You will also be extremely benefited by choosing us, as we may even let you know about the precise time to invest in the Singapore actual property market.

The Hexacube is offering new ec launch singapore business property for sale Singapore investors want to contemplate. Residents of the realm will likely appreciate that they'll customize the business area that they wish to purchase as properly. This venture represents one of the crucial expansive buildings offered in Singapore up to now. Many investors will possible want to try how they will customise the property that they do determine to buy by means of here. This location has offered folks the prospect that they should understand extra about how this course of can work as well.

Singapore has been beckoning to traders ever since the value of properties in Singapore started sky rocketing just a few years again. Many businesses have their places of work in Singapore and prefer to own their own workplace area within the country once they decide to have a everlasting office. Rentals in Singapore in the corporate sector can make sense for some time until a business has discovered a agency footing. Finding Commercial Property Singapore takes a variety of time and effort but might be very rewarding in the long term.

is changing into a rising pattern among Singaporeans as the standard of living is increasing over time and more Singaporeans have abundance of capital to invest on properties. Investing in the personal properties in Singapore I would like to applaud you for arising with such a book which covers the secrets and techniques and tips of among the profitable Singapore property buyers. I believe many novice investors will profit quite a bit from studying and making use of some of the tips shared by the gurus." – Woo Chee Hoe Special bonus for consumers of Secrets of Singapore Property Gurus Actually, I can't consider one other resource on the market that teaches you all the points above about Singapore property at such a low value. Can you? Condominium For Sale (D09) – Yong An Park For Lease

In 12 months 2013, c ommercial retails, shoebox residences and mass market properties continued to be the celebrities of the property market. Models are snapped up in report time and at document breaking prices. Builders are having fun with overwhelming demand and patrons need more. We feel that these segments of the property market are booming is a repercussion of the property cooling measures no.6 and no. 7. With additional buyer's stamp responsibility imposed on residential properties, buyers change their focus to commercial and industrial properties. I imagine every property purchasers need their property funding to understand in value. The earlier IDE standard from Western Digital introduced 22 bit LBA; in 1994, the ATA-1 standard allowed for 28 bit addresses in both LBA and CHS modes. The CHS scheme used 16 bits for cylinder, 4 bits for head and 8 bits for sector, counting sectors from 1 to 255. This means the reported number of heads never exceeds 16 (0–15), the number of sectors can be 255 (1–255; though 63 is often the largest used) and the number of cylinders can be as large as 65,536 (0–65535), limiting disk size to 128 GiB (≈137.4 GB), assuming 512 byte sectors. These values can be accessed by issuing the ATA command "Identify Device" (ECh) to the drive.[1]

However IBM BIOS implementation defined in the INT 13H disk access routines used quite a different 24-bit scheme for CHS addressing, with 10 bits for cylinder, 8 bits for head, and 6 bits for sector, or 1024 cylinders, 256 heads, and 63 sectors.[2] This INT 13H implementation had pre-dated the ATA standard, as it was introduced when the IBM PC had only floppy disk storage, and when hard disk drives were introduced on the IBM PC/XT, INT 13H interface could not be practically redesigned due to backward compatibility issues. Overlapping ATA CHS mapping with BIOS CHS mapping produced the lowest common denominator of 10:4:6 bits, or 1024 cylinders, 16 heads, and 63 sectors, which gave the practical limit of 1024×16×63 sectors and 528 Mbytes (504 MiB), assuming 512 byte sectors.

In order for BIOS to overcome this limit and successfully work with large hard drives, a CHS translation scheme had to be implemented in BIOS disk I/O routines which would convert between 24-bit CHS used by INT 13H and 28-bit CHS numbering used by ATA. The translation scheme was called Large or Bit Shift Translation. This method would remap 16:4:8 bit ATA cylinders and heads to 10:8:6 bit scheme used by INT 13H, generating much more "virtual" drive heads than the physical disk reported. This increased the practical limit to 1024×256×63 sectors, or 8.4 Gbytes (7.8 GiB).

To further overcome this limit, INT 13H Extensions were introduced with BIOS Enhanced Disk Drive Services specification, which removed practical limits on disk size for operating systems which are aware of this new interface, such as DOS 7.0 component in Windows 95. This Enhanced BIOS subsystem supports LBA addressing with LBA or LBA-Assist method, which uses native 28-bit LBA for addressing ATA disks and performs CHS conversion as needed.

The Normal or None method reverts to the earlier 10:4:6 bit CHS mode which does not support addressing more than 528 Mbytes.

Until the release of ATA-2 standard in 1996, there were a handful of large hard drives which did not support LBA addressing, so only Large or Normal methods could be used. However using the Large method also introduced portability problems, as different BIOSes often used different and incompatible translation methods, and hard drives partitioned on a computer with BIOS from a particular vendor often could not be read on a computer with a different make of BIOS. The solution was to use conversion software such as OnTrack Disk Manager, EZ-Drive, etc., which installed to the disk's OS loader and replaced INT 13H routines at boot time with custom code. This software could also enable LBA and INT 13H Extensions support for older computers with non LBA-compliant BIOSes.

LBA-Assisted translation

When the BIOS is configured to use a disk in LBA-Assisted translation mode, the BIOS access the hardware using LBA mode, but also presents a translated CHS geometry via the INT 13H interface. The number of cylinders, heads, and sectors in the translated geometry depends on the total size of the disk, as shown in the following table.[3]

Disk size Sectors/track Heads Cylinders
1 < X ≤ 504 MiB 63 16 X/(63*16*512)
504 MiB < X ≤ 1008 MiB 63 32 X/(63*32*512)
1008 MiB < X ≤ 2016 MiB 63 64 X/(63*64*512)
2016 MiB < X ≤ 4032 MiB 63 128 X/(63*128*512)
4032 MiB < X ≤ 8032.5 MiB 63 255 X/(63*255*512)

LBA48

The current 48-bit LBA scheme, introduced in 2003 with ATA-6 standard, allows addressing up to 128 PiB. Current PC-Compatible computers support INT 13H Extensions, which use 64-bit structures for LBA addressing and should encompass any future extension of LBA addressing, though modern operating systems implement direct disk access and do not use the BIOS subsystems, except at boot load time. However, the common DOS style Master boot record partition table only supports disk partitions up to 2 TiB in size. For large partitions this needs to be replaced by another scheme, for instance the GUID Partition Table which has the same 64-bit limit as the current INT 13H Extensions.

CHS conversion

LBA and CHS equivalence with 16 heads per cylinder
LBA Value CHS Tuple
0    0, 0, 1
1    0, 0, 2
2    0, 0, 3
62    0, 0, 63
945    0, 15, 1
1007    0, 15, 63
1008    1, 0, 1
1070    1, 0, 63
1071    1, 1, 1
1133    1, 1, 63
1134    1, 2, 1
2015    1, 15, 63
2016    2, 0, 1
16,127    15, 15, 63
16,128    16, 0, 1
32,255    31, 15, 63
32,256    32, 0, 1
16,450,559    16319, 15, 63
16,514,063    16382, 15, 63

CHS (cylinder/head/sector) tuples can be mapped to LBA address with the following formula:

LBA=((C×HPC)+H)×SPT+S1

where,

  • C, H and S are the cylinder number, the head number, and the sector number
  • LBA is the logical block address
  • HPC is the maximum number of heads per cylinder (reported by disk drive, typically 16 for 28-bit LBA)
  • SPT is the maximum number of sectors per track (reported by disk drive, typically 63 for 28-bit LBA)

LBA addresses can be mapped to CHS tuples with the following formula:

C=LBA÷(SPT×HPC)H=(LBA÷SPT)modHPCS=(LBAmodSPT)+1

where

According to the ATA specifications, "If the content of words (61:60) is greater than or equal to 16,514,064 then the content of word 1 [the number of logical cylinders] shall be equal to 16,383."[1] Therefore for LBA 16450559, an ATA drive may actually respond with the CHS tuple (16319, 15, 63), and the number of cylinders in this scheme must be much larger than 1024 allowed by INT 13H.[4]

OS dependencies

Operating systems that are sensitive to BIOS-reported drive geometry include Solaris, DOS and Windows NT family, where NTLDR (NT, 2000, XP, Server 2003) or WINLOAD (Vista, Server 2008, Windows 7 and Server 2008 R2) use Master boot record which addresses the disk using CHS; x86-64 and Itanium versions of Windows can partition the drive with GUID Partition Table which uses LBA addressing.

Some operating systems do not require any translation because they do not use geometry reported by BIOS in their boot loaders. Among these operating systems are BSD, Linux, Mac OS X, OS/2 and ReactOS.

See also

References

  1. 1.0 1.1 Working Draft of ATA/ATAPI-5 Sections 6.2.1 and 8.12 of the T13 Technical Committee's, 29 February 2000.
  2. Template:Cite web
  3. Template:Cite web
  4. Though CHS addressing definitely uses the mathematical concept of tuple, it may also be considered an example of the general scheme called mixed radix by viewing its cylinders, heads and sectors as having different numerical bases; e.g., cylinders counting from 0 to 1023, heads from 0 to 254 and sectors from 1 to 63.

External links