My private Debian package mirror was a Debian 8 virtual machine with the storage provided by an OmniOS fileserver and exported as a nfs share.
The goal is to move the whole mirror into a zone on the fileserver. The debian ftpsync mirror script is a bash script and should also run on OmniOS.