This repository includes codes of a distributed file system named DDDFS.
Author: Miki Horiuchi <mikity@logos.ic.i.u-tokyo.ac.jp>
Created Date: 3/13/2012
Last Update: 5/25/2012
- FUSE
- python-fuse
They might be install using packaging systems of your distributions. The example with Debian are as follows:
# apt-get install fuse
# apt-get install python-fuse
Add bin/ of this repository to PATH environmental variable.
DDDFS works with three components:
- Metadata server
- Data servers
- Clients
Data servers and clients must be run after a metadata server has been activated.
$ dddfs --meta /path/to/metadata/dir
This starts the metadata server daemon.
$ dddfs --server --meta_addr METADATA_SERVER_HOSTNAME /path/to/data/dir
This starts a data server daemon.
$ dddfs --client --meta_addr METADATA_SERVER_HOSTNAME /path/to/mount/dir [fuse options]
This starts a DDDFS client daemon and mounts /path/to/mount/dir.
To unmount /path/to/mount/dir:
$ fusermount -u /path/to/mount/dir
Umount can be failed with “device is busy” kinds of errors if any other process accesses /path/to/mount/dir. Kill the metadata server daemon and data server daemons by sending SIGINT.