(Solved) Docker volume not mount with dragonfish

hi there

updated today to dragonfish. everything works fine, but my docker volumes cannot connect to the nfs anymore.

mount -t nfs 10.0.20.1:/mnt/zfspool/test /mnt/test/

this works…

but if i create an docker volume:

docker volume create \
  --driver local \
  --opt type=nfs \
  --opt o=addr=10.0.20.1,nolock,soft,rw \
  --opt device=:/mnt/zfspool/test \
  test

and try to start my container this error occurs:

docker: Error response from daemon: error while mounting volume '/var/lib/docker/volumes/test/_data': failed to mount local volume: mount :/mnt/zfspool/test:/var/lib/docker/volumes/test/_data, data: addr=10.0.20.1,nolock,soft: connection refused.

this was working before the update.

do you have an idea whats the problem is?

Can i boot the older version of truenas to test?

thanks a lot

Solved.

The trick is to give the nfs version by the command line:

--opt o=addr=10.0.20.1,nolock,soft,rw,**nfsvers=4.x**