Skip to content

Client/server application for accessing remote files. University project [no.3] for Distributed Systems (Spring 2018).

Notifications You must be signed in to change notification settings

pnikitakis/network-file-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

network-file-system

Client/server application for accessing remote files. University project [no.3] for Distributed Systems (Spring 2018).

Description

Client can access remote files on server for reading and writing. Client has a virtual cache with LRU eviction policy.

Operations supported:

  • Find/create file (with flags: O_CREAT O_EXCL, O_TRUNC, O_RDWR, O_RDONLY, O_WRONLY)
  • Read n bytes from file
  • Write n bytes from file
  • Change pointer position inside file
  • Set client virtual cache validity

Operation instructions

A visual representation of the system can be found here.

Prerequisites

Python 3.6+

How to run

Start the server script server.py. Then run on client nfs_proto.py to start the application. With demo.py we can access the network filesystem from the terminal.

The configuraton.py file defines whether we include cache in our solution and it's size.

Authors

Course website

ECE348 Distributed Systems
Assigment instructions can be found here in Greek.

About

Client/server application for accessing remote files. University project [no.3] for Distributed Systems (Spring 2018).

Topics

Resources

Stars

Watchers

Forks

Languages