Mechanism to build distributed file systems
- Use of FIle Models: The DFS uses different conceptual models of a file. The following are the two basic criteria for file modeling, which include file structure and modifiability. The files can be unstructured or structured based on the applications used in file systems. Also, the modifiability of the file can be categorized as mutable and immutable files.
- Use of FIle Accessing Models: A distributed file system may use one of the following models to service a client’s file access request when the accessed file is a remote file. There are two such models are there, viz., the Remote service model and the Data-caching model.
- Use of FIle sharing Semantics: A shared file may be simultaneously accessed by multiple users. The types of file-sharing semantics can be used such as Unix Semantics, Session Semantics, Immutable shared files semantics, and transaction-like semantics.
- Use of FIle -Caching Schemes: Basically following key criteria used in file caching scheme viz., cache location, modification propagation, and cache validation
- Use of FIle Replications: File replication is the primary mechanism for improving file availability in a distributed systems environment. A replicated file is a file that has multiple copies with each copy located on a separate file server.
Mechanism for building Distributed file system
Distributed Systems are the systems that make a single system image to users of the networks. The failure of one system in the network will not be coming to the picture of all other uses. Here, all the systems act in a dual role such as both client as well as server.
The distributed File system provides a similar abstraction to the users of a distributed system and makes it convenient for them to use files in a distributed environment.