How To: Change the Location of a ZVOL on TrueNas Scale
https://www.truenas.com/community/threads/moving-a-zvol.76574/
- Log in to the TrueNAS server via SSH and elevate to the root user (if you are not already).
- Run the zfs list command and look for the full path of the volume you would like to move.
- Run the command zfs snapshot -r path-to/your-zvol@relocate where @relocate is the name of the snapshot we are creating.
- Run the command zfs send path-to/your-zvol@relocate | zfs receive -v new-path/to-zvol
- Wait for the command to complete.
- Delete the original in the TrueNAS web UI