- Block (data storage)
In
computing (specifically data transmission and data storage), block is a sequence ofbyte s orbit s, having a nominal length (a "block size"). Data thus structured is said to be "blocked". The process of putting data into blocks is called "blocking". Blocking is used to facilitate the handling of the data-stream by the computer program receiving the data. Blocked data is normally read a whole block at a time. Blocking is almost universally employed when storing data to 9-trackmagnetic tape , to rotating media such asfloppy disk s,hard disk s,optical disc s and to NANDflash memory .Most
file system s are based on ablock device , which is a level ofabstraction for thehardware responsible for storing and retrieving specified blocks of data, though the block size in file systems may be a multiple of the physical block size. In classical file systems, a single block may only contain a part of a single file. This leads to space inefficiency due tointernal fragmentation , since file lengths are often not multiples of block size, and thus the last block of files will remain partially empty. This will createslack space , which averages half a block per file.Some newer file systems attempt to solve this through techniques calledblock suballocation andtail merging .Block storage is normally abstracted by a file system or
database management system for use by applications and end users. The physical or logical volumes accessed via "block I/O" may be devices internal to a server, direct attached viaSCSI orFibre Channel , or distant devices accessed via a storage area network (SAN) using a protocol such asiSCSI , or AoE. Database management systems often use their own block I/O for improved performance and recoverability as compared to layering the DBMS on top of a file system.ee also
*
Block allocation map
*Block size (cryptography)
*Disk sector
*Cluster (file system)
*Fixed Block Architecture (FBA) versusCount-key-data (CKD)External links
*
Wikimedia Foundation. 2010.