Distributed Systems Flashcards
(92 cards)
What are the two ways a hard drive disk is split up?
Into:
- Sectors (like pizza slices)
- Tracks (concentric rings)
What does ‘block’ describe in terms of a hard drive disk?
The areas between sector boundaries and track boundaries
What is a cylinder in relation to hard disk drives?
A collection of tracks with the same index number
When does fragmentation occur in hard disk storage?
When storage is lost due to a block being underused and files are fit into leftover spaces
What happens when a hard disk is more fragmented?
The disk head spends more time moving back and forth and the read/write efficiency decreases
What memory does a solid state drive use?
Flash memory
How does a solid state drive differ from a hard disk?
Solid state drive has no moving parts so no read/write head and no platter
What is a solid state drive made of?
Transistors
What are the advantages of a solid state drive over a hard disk?
-Faster than hard drive
- Quieter, uses less power
- More tolerant to being moved
What is partitioning?
The traditional method where disks are divided and each partition is used for a specific purpose and can’t overflow into other sections
What do we use now instead of disk partitioning?
Volume management
What are the features of a logical volume?
- can span more than one physical hard drive
- several physical hard drives are seen as one big disk
- LVs can be resized easily
What does RAID mean?
Multiple physical disk drives forming a logical unit of storage
(redundant array of independent disks)
What are four benefits of RAID?
Reliability, performance, capacity, availability
What are index nodes (inodes)?
Structures that store information about each unix file
What does an inode store for regular files, directory files, and special files?
regular, directory: location of disk blocks
special file: identifies peripherals
How many inodes can a file have?
Always 1
What do inodes store for all file types?
- file type
- file permissions
- owner
- hard link count
- last modification time and last access time
What is a boot block?
The first logical block disk that contains executable code for when UNIX is first activated
What is a superblock?
Second logical block of a disk that contains info about the disk including bitmap of free blocks
What are the first two logical blocks of a disk?
1 bootblock
2 superblock
What is mounting?
File systems from other devices can be attached to the original directory hierarchy - can be done automatically when booting
What does mounting allow?
Allows users to access files seamlessly even when they’re on other devices
How are large unix systems usually stored?
Over many devices with each device holding a subtree