Skip to content
Snippets Groups Projects
Commit fc63d89b authored by Karl-Hermann Wieners's avatar Karl-Hermann Wieners
Browse files

file/data: wip for storage architectures

parent e98844c3
No related branches found
No related tags found
1 merge request!11File and Data Systems
Pipeline #71080 passed
...@@ -90,14 +90,56 @@ author: "Florian Ziemen and Karl-Hermann Wieners" ...@@ -90,14 +90,56 @@ author: "Florian Ziemen and Karl-Hermann Wieners"
* Spools of magnetizable bands * Spools of magnetizable bands
* Serialized access only * Serialized access only
# Finding your data # Storage Architectures
KALLE > These aren't books in which events of the past are pinned like so many butterflies to a cork. These are the books from which history is derived. There are more than twenty thousand of them; each one is ten feet high, bound in lead, and the letters are so small that they have to be read with a magnifying glass.
from "Small Gods" by Terry Pratchett
## Thou shalt have identifiable data
* There must be a way to reference the data stored on a medium
* Usual means are (symbolic) names or (numerical) identifiers
* Must be determined at time of data storage
* Either implicit, stored with the data or externally
## The more the merrier
* Additional information (metadata) may be needed
* Required by the storage architecture
* Support optimized data storage or access
* Defined by users or applications
* Allows indexing of data beyond name or id
* Especially for _Content-Adressed Storage_[^1] [(git2 lecture)](/lecture-materials/lectures/git2/slides.html#content-addressable-store)
[^1]: not to be confused with _Content-Adressable Memory_
## File systems (POSIX)
* Data is organized in "Files"
* Files are grouped in special files, "Directories"
* File data is stored in fixed size blocks
* These may not be the same as _device blocks_
## Inodes
* The file's name refers to a metadata table ("inode")
* unique numerical identifier
* times of state change, permissions
* contains actual block locations
## Directories
* Directories map names to inode numbers
* More than one name possible ("hard links")
* inode's life time managed by "link count"
## Inodes / blocks / ... ## Inodes / blocks / ...
## Block size ## Block size
## Fragmentation
## File systems ## File systems
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment