Lecture 6 -- Storage & File system

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/26

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:34 PM on 5/12/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

27 Terms

1
New cards

Storage devices

a physical component that stores data persistently even when power is off

2
New cards

File system

a structure used to organise & manage files on a storage device, including permissions, size and timestamps

3
New cards

Types of file systems

FAT, ext2, ext3, ext4, XFS

4
New cards

FAT

older, compatible with most operating systems

5
New cards

ext2

older Linux file system without journaling

6
New cards

ext3

improved ext2 with journaling for better recovery

7
New cards

ext4

modern default Linux file system with better performance and larger volume support

8
New cards

XFS

high-performance journaling file system for large data and fast recovery

9
New cards

Inodes

data structures that store metadata about a file such as permissions, ownership and disk location

10
New cards

Partitions

a logical section of a physical storage device that acts as a separate unit

11
New cards

Primary partition

can contain an operating system or file system, limited in number

12
New cards

Extended

a special partition that can contain multiple logical partitions (only one per disk)

13
New cards

Logical partition

partitions created inside an extended partition

14
New cards

swap space

a portion of disk used as virtual memory when RAM is full (slower than RAM)

15
New cards

fdisk

command used to create, delete and manage disk partitions

16
New cards

mkfs

command used to create a file system on a partition (does NOT create partitions)

17
New cards

mount

attaches a file system to a directory so it can be accessed

18
New cards

umount

detaches a mounted file system (cannot unmount if it is in use)

19
New cards

/etc/fstab

a configuration file that defines file systems to be mounted automatically at system boot

20
New cards

LVM (Logical Volume Manager)

a system that manages storages using flexible logical volumes instead of fixed partitions

21
New cards

LVM structure

PV (Physical Volume) - physical storage device

22
New cards

VG (Volume Group)

pool of storage created from Physical Volumes

23
New cards

LV (Logical Volume)

virtual partition created from volume groups

24
New cards

LVM advantages

  • allows resizing volumes without rebooting

  • combines multiple physical devices into one volume

  • simplifies storage management

25
New cards

partition vs file system

  • partition = logical section of disk

  • file system = structure used to organise data on that partition

26
New cards

mount process

1. create partition (fdisk)

2. create file system (mkfs)

3. mount to directory (mount)

4. persist using fstab

27
New cards

swap vs RAM

  • RAM is fast physical memory

  • swap is slower disk-based memory used when RAM is full