Linking a Raspberry Pi to a WD the Cloud Network Attached hard disk:

Linking a Raspberry Pi to a WD the Cloud Network Attached hard disk:

Recently during a residence move, we dropped my trusted old fashioned dependable Raspberry Pi – hard disk Network Attached Storage device. Essentially we connected my outside hard disk drive to a Raspberry Pi and had a Network Attached space drive which permitted us to get into my media from any unit on my house community.

When I realised it had been time for you to buy a passionate NAS.

I shelled down for the WE the Cloud 4 TB host, which by all reports is really a great little bit of gear – nonetheless i desired one thing a lot more than a standalone NAS and I also desired to manage to access the WD the Cloud from my Pi.

Here’s just exactly how I connected my Pi into the our Cloud! The guide below should work with any NAS – not only the WD our Cloud.

Get the internet protocol address of one’s NAS:

In the event that you don’t understand the internet protocol address of the NAS, you can easily perform an “arp-scan” from your Raspberry Pi discover it, right here’s the way I found mine:

In the event that you nevertheless can’t discover the IP address, for the WD the Cloud there is the internet protocol address in your settings, according to the directions right here.

During my instance my NAS internet protocol address had been: 192.168.192.62

Mounting the NAS to your Raspberry Pi:

The initial step to accessing the NAS from your Raspberry Pi would be to install the outside HDD as a file system regarding the Raspberry Pi, this may permit you to see the NAS, while you would any directory regarding the Pi. That is pretty simple actually, once the CIFS (CIFS Common online File Share, a protocol dictating just just how OS’ that is different share among them, including Windows and Linux) protocol takes proper care of every thing.

First create a directory for the share:

Next mount the drive utilising the internet protocol address and also the Raspberry Pi directory you need to install to:

In this example, i will be mounting the “Public” folder located to my NAS towards the wdmycloud folder positioned to my Raspberry Pi.

The demand syntax is: install -t -o

After performing the mount demand, you should now manage to access the NAS file system while you would every other directory!

Immediately mount the NAS on power up:

Edit the FSTAB to automatically mount your NAS on power up:

To really make the mount permanent, we must add the NAS file system towards the Raspberry Pi’s /etc/fstab file – the File System dining dining Table.

Edit the FSTAB file.

Include the NAS as being a file system within the FSTAB file.

Including the NAS into the FSTAB.

You can observe through the final line in the FSTAB file above, We have added the NAS as being a file system during my 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:

Initial step, reboot your Pi… :

Next step, look at 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 properly kept back at my WD My Cloud, which will keep 2 copies of all of the of my data – so if any such thing goes incorrect, I’ll always have actually my data supported 😉

12 Feedback

Hi Allyn, good work! precisely what we had a need to get my WDmycloud dealing with Rpi. We continue to have a handful of conditions that We cannot resolve.

1. I’ve added the line to FSTAB however it can not work back at my Rpi3. I will be guessing its attempting to install the NAS ahead of the community is up. Any some a few ideas? 2. i will just compose to the general general public directories SUDO that is using, CHOWN doesn’t work. BTW there was a typo:

Hi David, I’ll have actually to check always this down again. Right after composing this, during a homely household move, my Pi had been fallen and broke!

I do believe for just what I happened to be doing, browse access had been sufficient, during the time. I really do remember authorization problems, but I’ll need to check on once more.

I’m on christmas in the minute and certainly will give it a shot whenever I go back home. I’ve fixed the typo – thanks 🙂

Hi Allyn I’ve implemented your guide while the 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, what precisely you wanting to install the NAS too? A Raspberry Pi? You type: sudo mount -a Does the mount appear when you type?: cat /etc/fstab when you log in does the drive mount when

Yes im attempting to install it up to a raspberry pi 3 b+ no the drive does mount when i n’t kind the lines you stated. let me reveal a copy for the display

Leave a Reply

Your email address will not be published.