daos-fuse

command
v0.0.0-...-26b8ccb Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

README

daos-fuse -- Create and manage a POSIX-like filesystem in DAOS

Given a mountpoint, a DAOS pool UUID, and a container name, this utility will create and/or open the specified container for use as a filesystem backing store.

Prerequisites

  • The fuse userspace tools (yum install -y fuse)
  • A running daos_server instance
  • A DAOS pool uuid (e.g. as returned by dcmd pool create)

Install

go get github.com/daos-stack/go-daos/cmd/daos-fuse

Example usage

$ daos-fuse $HOME/daos-fuse 23605ee8-3172-4f0f-9305-38001a9332fd test &
$ ls -l $HOME/daos-fuse
 total 0
 drwxrwxr-x. 1 vagrant vagrant  0 Mar 12 04:47 bar
 -rw-rw-r--. 1 vagrant vagrant 29 Mar 12 04:47 baz
 drwxrwxr-x. 1 vagrant vagrant  0 Mar 12 04:47 foo
 -rw-rw-r--. 1 vagrant vagrant 58 Mar 12 04:47 qux
 $ fusermount -u $HOME/daos-fuse

Note that the correct way to shut down the filesystem is with the fusermount utility; this will ensure a clean shutdown of the fuse filesystem server.

The -debug flag will enable copious amounts of debug output, which may be useful for development.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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