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 -a auth_url -u user -p password -r region -t tenant /path/to/mountpoint
Mount a specific container at this mountpoint rather than all containers :
svfs -a auth_url -u user -p password -r region -t tenant -c container /path/to/mountpoint
Use token and storage URL instead of openstack credentials (this can be useful for hubiC) :
svfs -s storage_url -k token /path/to/mountpoint
Project status
This is the start of this project, and thus it's obviously missing pieces. Take a look at the limitations section for details.
Limitations
As the development goes, features are added one after another. For the moment the following limitations will occur :
- SVFS is using a dumb and limitless caching mechanism thus distributed access is not supported.
- SVFS structure and node attributes are cached as you access them and eviction only occurs on write or remove operations.
- SVFS does not handle kernel cache invalidation, thus file attributes may appear stale if file content changed.
- SVFS container creation and removal is not supported.
- SVFS does not support opening a file in append mode.
- SVFS does not support uploading SLO/DLO objects and may show erroneous file size of 0 (manifest file).
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