Skip to main content

Filesystem based on etcd

Project description

About

etcdfs is a simple FUSE filesystem based on etcd. It allows you to mount the key space of an etcd cluster as a filesystem.

The main goal of this project is to be able to work with etcd with well-known Linux tools, like ls, cp, grep, rather than etcdctl or any other etcd command-line client.

etcdfs can also be useful in case a very simple shared storage is required, like in the case of common configuration.

How it works

etcdfs can mount the whole etcd hierarchical key space (/) or any part of it. Etcd keys are mapped to FS files and etcd directories are mapped to FS directories.

Installation

First you will need to install FUSE from http://github.com/libfuse/libfuse. After installing FUSE, install the etcdfs Python package:

$ python setup.py install

How to use

Simply run etcdfs and provide the mountpoint and the etcd keyspace that you want to mount:

$ etcdfs –basedir $basedir $mountpoint

Unmount the filesystem by using fusermount:

$ fusermount -u $mountpoint

Unsupported Operations

  • chmod

  • chown

  • getxattr

  • ioctl

  • link

  • listxattr

  • readlink

  • removexattr

  • rename

  • setxattr

  • statfs

  • symlink

  • utimens

License

Free software: BSD license

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

etcdfs-0.1.0.tar.gz (6.0 kB view details)

Uploaded Source

File details

Details for the file etcdfs-0.1.0.tar.gz.

File metadata

  • Download URL: etcdfs-0.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for etcdfs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 77146451f5ef086d3451501385617ba807bdf6abe2116746a84c05eb72636e55
MD5 3c47e934c662947b1bd6bd05a7524ddf
BLAKE2b-256 c097aefc145f0fba9999e393fa60ac1cf43d62c2664452e01fc3d9150308a503

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page