docker-zfs-plugin icon indicating copy to clipboard operation
docker-zfs-plugin copied to clipboard

unable to create dataset... :-(

Open michabbs opened this issue 5 years ago • 1 comments

I compiled the module, started it with systemctl restart docker-zfs-plugin.service, I get:

sty 03 18:21:15 draal systemd[1]: Started zfs plugin.

So it seems to work (is it?). Now docker volume create test works just fine, but does not create separate dataset. (Just regular folder is created.) And docker volume create -d zfs test ends with:

Error response from daemon: create test: VolumeDriver.Create: exit status 1

The systemctl status gives me:

sty 03 18:26:56 draal docker-zfs-plugin[504779]: 2021/01/03 18:26:56 Entering go-plugins-helpers getPath
sty 03 18:26:56 draal docker-zfs-plugin[504779]: 2021/01/03 18:26:56 Entering go-plugins-helpers createPath

Any ideas?

michabbs avatar Jan 03 '21 17:01 michabbs

You need to specify full dataset name, like rpool/data/docker/my-volume

mikroskeem avatar Jan 04 '21 10:01 mikroskeem