svfs

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2016 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

The Swift Virtual File System

SVFS is a Virtual File System for Openstack Swift built upon fuse.

Disclaimer

This is not an official project of the Openstack community.

Usage

Mount all containers for a given tenant :

svfs \
--os-auth-url auth_url \
--os-username user \
--os-password password \
--os-region-name region \
--os-tenant-name tenant \
/path/to/mountpoint &

Mount a specific container at this mountpoint rather than all containers :

svfs \
--os-auth-url auth_url \
--os-username user \
--os-password password \
--os-region-name region \
--os-tenant-name tenant \
--os-container-name container \
/path/to/mountpoint &

Use token and storage URL instead of openstack credentials (this can be useful for hubiC) :

svfs \
--os-storage-url storage_url \
--os-auth-token token \
/path/to/mountpoint &
Caching

Caching can be seen as a 2-layer cache where SVFS is layer 1 and the Kernel layer 2.

You should adapt SVFS cache configuration to your network connection and system resources. For instance a high latency system with low bandwith should maximize the cache entry size and use high ttls while a system with a reliable connection should lower these parameters or set access rates. Listing large directories or segmented objects too frequently from your storage provider may significantly slow down SVFS performance.

Available options are :

  • --cache-max-entries : targeted cache size. Default value is -1 (it grows unlimited).
  • --cache-max-access : targeted cache entry access count. Default value is -1 (unlimited).
  • --cache-ttl: targeted cache entry timeout. Default value is 1 minute.
Large objects

If an Object has a size greater than 5 GB, it requires segmentation either as Dynamic Large Object or Static Large Object, in order to be stored in Swift. SVFS only supports DLO and requires segments to be stored within a container honoring the naming convention <container_name>_segments where <container_name> is the name of the container intended to store the manifest file. When uploading a large file this container will be created if missing.

Segments size can be adjusted with option --os-segment-size, it defaults to 256MB.

Limitations
  • SVFS does not support creating, moving or deleting containers.
  • SVFS does not support opening a file in append mode.
  • SVFS does not support moving directories.
  • SVFS does not support SLO (but supports DLO).
  • SVFS does not support uid/gid/permissions.

SVFS limitations and particularities of using Openstack Swift as a POSIX filesystem are discussed in the docs.

License

This work is under the Apache license, see the LICENSE file for details.

Author

Xavier Lucas

Documentation

Overview

SVFS implements a virtual file system for Openstack Swift.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL