Is left to the students the proper treatment for the root directory (/).
This would imply replication, and thus consistency
No two storage servers should have the same sub-tree (for regular assignment, please check theīonus evaluation for extra information).
Please note that bothdirandfilecan be either a simple name, e.g., figure.jpg, or absolute or relative paths, e.g. Jpg, jpeg, png # e.g., /usr/local/bin/gimp The association between applications and file extensions are defined in nf file, with the following format: It must implement the following commands:ĥ.open: Opens thefilewith the proper application, accordingly to its extension. The client issues commands that operate over the filesystem. Must call delstorageserver on the metadata server Must call addstorageserver on the metadata server
Example: init(/home/student/courses, /courses).
get(/courses/file1.txt) # downloads the file.
create(/courses/file1.txt, ”A line in a text”) # creates a file.
A call to proper initialize a local share.
An API call to allow a client to create files and directories.
The storage server must reflect that action into the meta-data server and calldelstorageitem. For example, upon receiving a delete request from a client, So any changes performed locally mustīe propagated into the meta-data server. So it must enforce the proper management over its sub-tree. It is responsible for part of the file-system, Holds the actual data, i.e., the actual files and structure.
An API call to list a directory, i.e., all the files inside a directory.
Offer a lookup service so clients can discover item locations.
All data must be indexed at the meta-data server, i.e., storage servers must propagate any modifications to the storage pool to the meta-data server and it must properly initialize its local share within meta-data server.
Yet dynamical lookups for directories and files. It can be seen as a portal, or directory, that offers central Must not store any actual files, but instead only information regarding the localization of the avail-Īble files across the network file system. This server is responsible for all the meta-data information from available storage nodes. Systemmust have exactlythree components, as depicted below: Meta-data Server