03-1 File Systems
03-1 File Systems
File systems
Instructor: Dr. Thanh-Chung Dao
Slides by Dr. Viet-Trung Tran
School of Information and Communication Technology
File systems
NTFS
1
24/10/2022
Overview
• Filenames
• File Identity
• Directories (folders)
• Group of files in separate collections
• Metadata
• Creation time, last access time, last modification time
• Security information (Owner, Group owner)
• Mapping file to its physical location of file (e.g. location in storage devices)
• Computer file
• A resource for storing information
• Durable, remained available for access
• Data: sequences of bits
• File system
• Control how computer file are stored and retrieved
• Main operators: READ, WRITE (offset, size), CREATE, DELETE
NTFS
2
24/10/2022
• File system
• Abstraction of storage devices
• Distributed file system
• Available to remote processes in distributed systems
• Benefits
• File sharing
• Uniform view of system from different clients
• Centralized administration
• IPFS
• WebTorrent
3
24/10/2022
Goals: Availability
4
24/10/2022
Architectures
• Client-Server
• Sun Microsystem Network File System (NFS), Google File System (GFS)
• Architecture
• One or more machines (file servers) manage the file system.
• Files are stored on disks at the servers
• Requests for file operations are made from clients to the servers.
• Client-server systems centralize storage and management; P2P systems
decentralize it.
• Symmetric
• Fully decentralized; based on peer-to-peer technology
• e.g., Ivy (uses a Chord DHT approach)
• E.g. IPFS and webtorrent
10
5
24/10/2022
Design issues
11
12
6
24/10/2022
13
14
7
24/10/2022
Caching
15
Caching tradeoffs
16
8
24/10/2022
Replication
17