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

Recently during a property move, we dropped my trusted old fashioned reliable Raspberry Pi – hard disk Network Attached space product. Fundamentally we connected my external disk drive to a Raspberry Pi along with a Network Attached space drive which permitted me personally to access my news from any unit back at my house community.

Then I realised it absolutely was time and energy to buy a passionate NAS.

I shelled down for the WE the Cloud 4 TB host, which by all reports is a piece that is great of – but i desired one thing significantly more than a standalone NAS and I also wished to have the ability to access the WD our Cloud from my Pi.

Here’s exactly exactly just how we connected my Pi towards the the 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 ip of one’s NAS, it is possible to perform an “arp-scan” from your Raspberry Pi to locate it, right here’s the way I found mine:

In the event that you nevertheless can’t get the internet protocol address, for the WD the Cloud you will find the internet protocol address in your settings, depending on the guidelines right here.

In my own situation my NAS internet protocol address had been:

Mounting the NAS into the Raspberry Pi:

The first faltering step to accessing the NAS from your Raspberry Pi would be to install the outside HDD as being a file system in the Raspberry Pi, this may permit you to view the NAS, while you would any directory regarding the Pi. That is pretty simple actually, given that CIFS (CIFS Common Web File Share, a protocol dictating just just how OS’ that is different share between them, including Windows and Linux) protocol takes care of everything.

First create a directory millionairematch com reviews for the share:

Next mount the drive utilizing the internet protocol address additionally the Raspberry Pi directory you need to install to:

In this instance, i will be mounting the folder that is“Public back at my NAS towards the wdmycloud folder located back at my Raspberry Pi.

The demand syntax is: install -t -o

After performing the mount demand, you ought to now have the ability to access the NAS file system while you would virtually any directory!

Automatically mount the NAS on switch on:

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

To really make the mount permanent, we have to include the NAS file system to your Raspberry Pi’s /etc/fstab file – the File System dining Table.

Edit the FSTAB file.

Include the NAS as a file system into the FSTAB file.

Incorporating the NAS towards the FSTAB.

You can observe through the line that is last the FSTAB file above, we have actually 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 switch on:

First rung on the ladder, reboot your Pi… :

Next thing, always check your NAS directory through the Pi:

Confirm the share is working.

Triumph! The mount works, i will now access each of my pictures, music and movies from my Raspberry Pi. All things are properly stored to my WD My Cloud, which will keep 2 copies of all of the of my data – so if such a thing goes incorrect, I’ll always have my data supported 😉

12 Reviews

Hi Allyn, good work! just what we needed seriously to get my WDmycloud dealing with Rpi. We nevertheless have actually a number of problems that We cannot resolve.

1. We have added the line to FSTAB nonetheless it doesn’t work to my Rpi3. I’m guessing it really is attempting to install the NAS prior to the community is up. Any some some a few ideas? 2. i will just compose to your general general public directories SUDO that is using, CHOWN doesn’t work. BTW there is certainly a typo:

Hi David, I’ll have actually to always check this away again. Soon after writing this, throughout home move, my Pi had been fallen and broke!

I do believe for just what I happened to be doing, browse access ended up being sufficient, at that time. I really do remember authorization problems, but I’ll need to check on once more.

I’m on vacation at the brief 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 and also the NAS mounted okay and all worked.the issue I’m having is that we cant get it to automobile mount i followed your guidelines nevertheless when i reboot the drive doesn’t install

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 once 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. let me reveal a content associated with screen