Skip to content

A network file system supporting multiple parallel clients and storage servers. All operations in transactions.txt.

Notifications You must be signed in to change notification settings

komikat/network-file-system

Repository files navigation

We are assuming that storage server is not managed manually by the user when it is running.

ERROR CODES:

Assumption: Storage server needs to be initialized with a root directory where all the data for that server will be stored. It will not be created automatically to avoid excessive control over the file system.

  • 001: No root directory found on a storage server
  • 002: Multiple root directories found
  • 003: Unable to send data over the network
  • 004: Issues with polling for clients
  • 005: Error receiving request, asking to resend
  • 006: Invalid Request
  • 008: Memory exceeded

Functionality: Read: READ Write: WRITE Copy: COPY Create: CREATE <0|1 (0 for FIle, 1 for directory)> Delete: DELETE List: LIST Get Additional Information: GETINFO

Things that have been implemented: Full intialization Multithreading Multiple Clients LRU Caching (multithreaded) Multiple clients can read files but file writing is atomic Error Handling Bookkeeping

ALL STORAGE FUNCTIONS HAVE BEEN VERIFIED TO BE WORKING USING TELNET.

Signing posts on the internet is like wisiting the

About

A network file system supporting multiple parallel clients and storage servers. All operations in transactions.txt.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages