This repository includes codes of a distributed file system, Mogami.
Author: MIKI HORIUCHI <mikity@eidos.ic.i.u-tokyo.ac.jp>
Creation Date: 6/14/2012
Last Update: 6/14/2012
- FUSE
- python-fuse
They might be installed using a packaging system of your distribution. The example with Debian follows:
# apt-get install fuse
# apt-get install python-fuse
Add bin/ of this repository to PATH environmental variable.
Mogami consists of three components:
- Metadata server
- Data servers
- Clients
Data servers and clients must be run after a metadata server has been activated.
$ mogami --meta /path/to/metadata/dir
This starts the metadata server daemon.
$ mogami --server --meta_addr METADATA_SERVER_HOSTNAME /path/to/data/dir
This starts a data server daemon.
$ mogami --client --meta_addr METADATA_SERVER_HOSTNAME /path/to/mount/dir [fuse options]
This starts a Mogami client daemon and mounts /path/to/mount/dir.
To unmount /path/to/mount/dir:
$ fusermount -u /path/to/mount/dir
Umount can fail with errors like “device is busy” if another process accesses /path/to/mount/dir. In case of those, kill the metadata server daemon and the data server daemons by sending SIGINT.