The Raspberry Pi has no SATA interface for SATA harddrives, but there’s other ways of making a Raspberry Pi NAS (Network Attached Storage): You can either settle with whatever space is left on your SD Card (approximately 10 GB if you are using a 16 GB card) or you can attach a harddrive (or four) with a USB to SATA interface. It works like a charm and the Raspberry Pi has no problem in providing the power over USB to at least one drive.
You can use the Raspberry Pi WiFi interface or the wired connection. In our setup the wired connection is approximately the double speed of the WiFi connection.
OpenMediaVault is a full Debian-based installation for your SD card that gives you all that you need for making a NAS with users, shares, harddisk mounting, samba, etc.You can download the image file from sourceforge.net openmediavault and if you are using Windows for the download you can write the image to a SD card by using win32 diskimager, put the card in the Raspberry Pi, turn it on and connect your browser to the URL http://raspberrypi (the ip address is dhcp assigned) and login with admin and password openmediavault. From here on you can use the openmediavault userinterface to search for harddrives, creates users, shares etc. There’s a bit more on this in this article: techradar.com how to build your own raspberry pi nas
As you can see from the screenshot below the OpenMediaVault is for those who would like their NAS to be able to do a lot of things and don’t have any trouble working with a lot of options.
Another way of making your Raspberry Pi work as a NAS (and printerserver and …) is by using the standard Raspian and putting the administration tool Webmin on the box. It gives you access to manage most of the services you can put on a Linux server. The user-friendliness is not the central part of this tool :-).
You can find a guide to installing Webmin here: m-jorgensen.dk installing-webmin-on-raspberry-pi/
The article above is a bit out of date and missing an additional step; after downloading the .deb file we must use the base package management system, dpkg, to install webmin. So after wget finishes the download run:
sudo dpkg –install webmin_1.580_all.deb
…and then go ahead and access it via your preferred browser.