Recently during a home move, we dropped my good old fashioned dependable Raspberry Pi – hard disk Network Attached space product. Fundamentally we connected my external drive that is hard a Raspberry Pi and had a Network Attached space drive which permitted me personally to get into my news from any device on my house system.
When I realised it absolutely was time for you to buy a passionate NAS.
I shelled down for the WE our Cloud 4 TB host, which by all reports is really a piece that is great of – nevertheless i desired one thing significantly more than a standalone NAS and I also desired to manage to access the WD our Cloud from my Pi.
Here’s exactly just how we connected my Pi towards the our Cloud! The guide below should benefit any NAS – not only the WD the Cloud.
Find the internet protocol address of the NAS:
You can perform an “arp-scan” from your Raspberry Pi to find it, here’s how I found mine if you don’t know the IP address of your NAS:
In the event that you nevertheless can’t discover the ip, for the WD the Cloud you’ll find the internet protocol address in your settings, depending on the directions right here.
In my own instance my NAS internet protocol address ended up being: 192.168.192.62
Mounting the NAS towards the Raspberry Pi:
The initial step to accessing the NAS from your Raspberry Pi would be to install the outside HDD being a file system regarding the Raspberry Pi, this may enable you to see the NAS, while you would any directory regarding the Pi. It is pretty effortless actually, because the CIFS (CIFS Common Web File Share, a protocol dictating just just how OS’ that is different share among them, including Windows and Linux) protocol takes care of every thing.
First make a directory for the share:
Next mount the drive utilizing the internet protocol address and also the Raspberry Pi directory you wish to install to:
In this instance, i will be mounting the folder that is“Public back at my NAS towards the wdmycloud folder positioned back at my Raspberry Pi.
The demand syntax is: mount-o that is-t
After performing the mount demand, you ought to now have the ability to access the NAS file system while you would some other directory!
Immediately mount the NAS on switch on:
Edit the FSTAB to install your NAS immediately on power up:
To help make the mount permanent, we have to add the NAS file system to your Raspberry Pi’s /etc/fstab file – the File System dining dining dining Table.
Edit the FSTAB file.
Add the NAS as being a file system into the FSTAB file.
Incorporating the NAS towards the FSTAB.
You can observe through the final line in the FSTAB file above, We have added the NAS as being a file system in my own FSTAB file.
This may immediately install the NAS every time you switch on your Raspberry Pi!
Testing the NAS is linked immediately on power up:
First step, reboot your Pi… :
Next thing, always check your NAS directory through the Pi:
Confirm the share is working.
Triumph! The mount works, i could now access most of my images, music and films from my Raspberry Pi. all things are safely kept to my WD My Cloud, which will keep 2 copies of all of my data – so if such a thing goes incorrect, I’ll always have actually my data supported рџ‰
12 Reviews
Hi Allyn, good work! exactly what we needed seriously to get my WDmycloud dealing with Rpi. I continue to have a handful of problems that We cannot resolve.
1. I’ve added the line to FSTAB nonetheless it does not work to my Rpi3. I will be guessing it really is wanting to install the NAS ahead of the community is up. Any a few some some ideas? 2. I can just compose towards the public directories making use of SUDO, – CHOWN doesn’t work. BTW there clearly was a typo:
Hi David, I’ll have actually to always check this down again. Right after composing this, throughout household move, my Pi had been fallen and broke!
I believe for just what I became doing, browse access had been sufficient, during the time. I actually do remember authorization problems, but I’ll need to check on once again.
I’m on vacation in the brief minute and certainly will give it a try once I go back home. I’ve fixed the typo – thanks 🙂
Hi Allyn I’ve used your guide in addition to NAS mounted okay and all worked.the issue I’m having is it to auto mount i followed your instructions but when i reboot the drive doesn’t mount that i cant get
Hi here, exactly what are you wanting to too mount the NAS? A Raspberry Pi? once you join does the drive mount when you kind: sudo mount -a Does the mount look when you kind?: pet /etc/fstab
Yes im attempting to install it up to a raspberry pi 3 b+ no the drive doesn’t install when i kind the lines you stated. the following is a content of this display