Penguin
Note: You are viewing an old revision of this page. View the current version.

An Acronym for Logical Block Addressing

LBA gives sectors a linear number starting with 0, as opposed to the classic cylinder-head-sector (CHS) addressing.

LBA addresses can be 28 bit or 48 bit wide. If your disk has 512 byte sectors (fairly common), a 28 bit LBA device can address 128 GB of disk. Here's the maths:

512 byte sectors = 2^9 Bytes.
1 GB = 2 ^ 30 Bytes.

2 ^ 28  * 2 ^ 9 Bytes = 2 ^ 37 Bytes = 137438953472 Bytes
2 ^ 37 Bytes / 2 ^ 30 = 2 ^ 7 GB = 128 GB

Disk manufacturers actually use GiB (10^9, as opposed to 1024^3):

2 ^ 37 bytes = 137438953472 Bytes = 137.43 GiB

This is the reason for older OS's or controllers failing to detect a large disk correctly.

48 bit LBA offers much larger disks:

2 ^ 48  / 2 ^ 30 = 2 ^ 18 GB = 262144 GB = 256 TB

Part of CategoryHardware