Turning my raspberry pi into a NAS

I’ve never had a network storage system at home. Now with all of our wireless devices it really makes sense, both for backup and to access media. With a samba share and an external USB drive I’ve been easily able to turn my raspberry pi (running retropie) into a wireless media centre too. Its great, I just have to use a samba music player on my phone or tablet and boom there is my music 🙂 I realised we weren’t listening to enough of our collection of music. So this will open a whole new world of our old music. Very much looking forward to this.

All I did for this was to edit the already configured raspberry pi settings for samba and added my own section to correctly load the samba share on my external drive. Edit: sudo nano /etc/samba/smb.conf

comment = music2
path = /media/usb0/Music
writeable = yes
guest ok = yes
create mask = 0644
directory mask = 0755
force user = pi
writeable= yes

You need to restart samba:  sudo /etc/init.d/samba restart

All worked nice and easily. Of course, this isn’t a proper NAS at the moment as it has no redundancy and I’ve not setup any rsync script to fetch/get data to backup. That’s the next task – once I’ve decided if I need to replace my old bulky external hard drive with a lower powered smaller one (I already have one but need a powered hub as the pi doesn’t give out enough to the USB ports).

If you want a more comprehensive guide that takes you all the way through to the drive mirroring look at howtogeek.com.


Tags: , , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: