You could just install a minimal Debian system and install what you want after that. I use Nextcloud on my media Center for example. If you just want a Windows share you could instsll samba. If your Linux you could use ssh or nfs. Or could use Syncthing. All of these are pretty standard.
The big question is do you want raid. If so you need at least two storage volumes.