No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 13 commits behind nukamu:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
conf
libs
log
.gitignore
README.org

README.org

What’s this?

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

Installation

Requirements

  • 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

References

FUSE
http://fuse.sourceforge.net/
python-fuse
http://pypi.python.org/pypi/fuse-python

PATH Configuration

Add bin/ of this repository to PATH environmental variable.

Usage

Mogami consists of three components:

  • Metadata server
  • Data servers
  • Clients

Data servers and clients must be run after a metadata server has been activated.

Running Mogami

Metadata Server

$ mogami --meta /path/to/metadata/dir

This starts the metadata server daemon.

Data Servers

$ mogami --server --meta_addr METADATA_SERVER_HOSTNAME /path/to/data/dir

This starts a data server daemon.

Clients

$ 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.

Stopping Mogami

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.