DEV Community

Cover image for Raspberry Pi Nas | Single Drive | How To
Harry Madgwick
Harry Madgwick

Posted on

Raspberry Pi Nas | Single Drive | How To

How to create a Raspberry Pi Nas

What you will need:

An Ethernet Cable directly to your router

Raspberry Pi Model 3B | Buy Here | £34.80

Raspberry Pi Nas Case | Buy Here | £4.99

Sata to USB Cable | Buy Here | £5.90

2.5" HDD/SSD Minimum 120GB | Buy Here | £21.38

Power Cable | Buy Here | £8.99

Micro SD Card 8GB | Buy Here | £4.00

How to build | Pi OS

Use RaspberryPi Imager to create a Raspberry Pi Lite OS Image on your MicroSD Card.

How to build | Hardware

First take your SSD/HDD plate and screw your drive to the plate.

Now take your Raspberry pi and screw that to the plate as well.

Now take your outer case and clip the drive plate into the case.

Plug in your power cable along with your SATA to USB cable.

Plug in your Ethernet cable.

Place your ready made MicroSD card into the SD Card slot on the raspberry pi.

How to build | Software

Either SSH or use a Keyboard and Mouse connected to your Pi to control the terminal.

Run the following commands:

wget https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install

chmod +x install

sudo ./install

After these commands if the system does not automatically reboot please run the following command:

sudo reboot now

Once your RaspberryPi has booted you will no longer be able to access it via SSH as your IP address will have changed. Either connect to your router and check the new IP address or connect via keyboard and mouse to the Pi and run the following command:

ifconfig

You should see a display that shows an IPV4 address which will be your local IP.

Then open your browser and navigate to that IP Adress.

It will ask you to login. The default credentials are:

Username:
Admin

Password:
openmediavault

Now you have logged in navigate to Storage | Disks and click on your SSD/HDD and select Clean/Wipe in the topbar.

Wait for that to complete then navigate to Storage | File Systems and create a new file system with the selected SSD/HDD from the previous step.

Wait for that to complete then navigate to Storage | Shared Folders and create a new shared folder using that file system from the previous step.

Congratulations you have now setup a Raspberry Pi Nas!

Any questions or concerns feel free to reach out to me at harry@harrystech.uk

Thank you for reading and hope your cheap Nas comes in handy!

Top comments (0)