Skip to content

wastore/blobfuse-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blobfuse-go

This repo houses code for go implementation of blobfuse Refer to the main package for the blobfuse-go code. For a filesystem example using bazil/fuse refer to loopback-example package

Based on file system library Bazil-fuse Uses Azure Storage Blob SDK for communicating with storage account container

Dependencies

Bazil Fuse Library: go get bazil.org/fuse

Azure SDK in Go: go get github.com/Azure/azure-storage-blob-go/azblob

Build Instruction:

Compile the file in the main package using following command: go build filesystem.go dirapis.go fileapis.go connection.go

This will create a executable named as filesystem

Run The File System Driver

To run executable along with following command line options: ./filesystem --mountPath=/home/user/mountDir --accountName=nameOfStorageAccount --accountKey=accessKeyOfAccount --containerName=nameOfContainerToMount

This will start the file system application as a daemon. Now you can move inside the mounted directory to wrk with the azure stroage account container mounted.

Limitations and Future Work

Works for Ubuntu 18.04 Works for HNS disabled account Authentication through Access Key only Caching not implemented

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages