File Systems
(Chapters 39-43,45)
CS 4410 Operating Systems
[R. Agarwal, L. Alvisi, A. Bracy, M. George, F.B. Schneider, E. Sirer, R. Van Renesse]
File Systems (Chapters 39-43,45) CS 4410 Operating Systems [R. - - PowerPoint PPT Presentation
File Systems (Chapters 39-43,45) CS 4410 Operating Systems [R. Agarwal, L. Alvisi, A. Bracy, M. George, F.B. Schneider, E. Sirer, R. Van Renesse] Storage Devices: Recap Disks RAID-0, 1, 4, 5 Solid State Drives (Flash memory)
[R. Agarwal, L. Alvisi, A. Bracy, M. George, F.B. Schneider, E. Sirer, R. Van Renesse]
2
3
4
☞ File system provides mapping from low-level names to storage locations.
☞ File system provides mapping from human-readable names to low-level names.
5
6
7
music 320 work 219 foo.txt 871
/foo/bar.txt /bar/bar /bar/foo/bar.txt
8
/ foo bar.txt bar foo bar bar.txt
9
10
music 320 work 219 foo.txt 871 File 830 ˝/home/tom˝ mike 682 ada 818 tom 830 File 158 ˝/home˝ File 871 ˝/home/tom/foo.txt˝ bin 737 usr 924 home 158 File 2 ˝/˝
The quick brown fox jumped
lazy dog.
11
12
13
Agrawal, Bolosky, Douceur, Lorch. A Five Year Study of File-System Metadata. FAST’07, San Jose CA.
14
PARTITION #4 PARTITION #2 PARTITION #1 PARTITION #3 PARTITION TABLE MBR Root Dir Free Space Mgmt BOOT BLOCK I-Nodes SUPERBLOCK Files & Directories
16
17
18
File block
File block 1
File block 2
File block 3
File block 4
19
20
1 2 N N 1 2
Data Blocks FAT 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 File 9 Block 3 File 9 File 12 File 12 Block 1 File 9 Block 4 File 9 Block 0 File 9 Block 1 File 9 Block 2 File 12 Block 0
21
EOF EOF
22
music 320 work 219 foo.txt 871
23
24