data block
A fixed-size chunk of disk space, often 4 kilobytes, that a filesystem uses to store a file's contents.
In more detail
A file's inode lists which blocks hold its data. Free space on a filesystem is really a count of unused blocks, which is what df reports by default. Blocks are released only when the last name is removed and no process has the file open.
Related terms
- inode — The record a filesystem keeps for each file, holding its owner, mode, size, timestamps, link count and the location of its data blocks, but not its name.
- block device — A storage device, such as a disk or a partition, that the kernel reads and writes in fixed-size blocks.
- block exhaustion — A filesystem running out of free data blocks, so it cannot store more bytes even though it may have inodes left.
- df — The command that reports total, used and free space for each mounted filesystem.
Taught in
- Inodes, Hard Links And What rm Removes — Linux Fundamentals & Systems Administration
- Running Out Of Space: df, du And Inodes — Linux Fundamentals & Systems Administration