Skip to content

limitusus/mogami

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%