Are you trying to do this on a GL-Inet device?

Shouldn’t need sudo, as OpenWRT is running as root/admin, and the default shell is not zsh, it’s ash provided by busybox

Might be helpful to describe more about your setup, and the disks you’re trying to share.