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

Recently during a residence move, I dropped my good old fashioned dependable Raspberry Pi – hard disk Network Attached space product. Essentially we connected my outside drive that is hard a Raspberry Pi along with a Network Attached space drive which permitted us to access my news from any unit on my home community.

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

I shelled down for the WE the Cloud 4 TB host, which by all reports is just a piece that is great of – nevertheless 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 exactly just how we connected my Pi towards the our Cloud! The guide below should benefit any NAS – not only the WD My Cloud.

Get the internet protocol address of one’s 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 get the IP address, for the WD the Cloud you will find the internet protocol address in your settings, depending on the guidelines here.

Within my situation my NAS internet protocol address had been: 192.168.192.62

Mounting the NAS towards the Raspberry Pi:

The first faltering step to accessing the NAS from your Raspberry Pi would be to install the outside HDD as a file system in the Raspberry Pi, this may enable you to see the NAS, while you would any directory from the Pi. This can be pretty simple actually, whilst 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 produce a directory for the share:

Next mount the drive with the internet protocol address as well as the Raspberry Pi directory you intend to install to:

In this instance, i’m mounting the “Public” folder located back at my NAS to your wdmycloud folder positioned to my Raspberry Pi.

The demand syntax is: install -t -o

After performing the mount demand, you really need to now have the ability to access the NAS file system while you would just about any directory!

Immediately mount the NAS on power up:

snapfuck reviews

Edit the FSTAB to install your NAS immediately on power up:

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

Edit the FSTAB file.

Include the NAS as 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 actually added the NAS being a file system within my FSTAB file.

This can immediately install the NAS every time you switch on your Raspberry Pi!

Testing the NAS is linked automatically on power up:

First faltering step, reboot your Pi… :

Next thing, look at your NAS directory through the Pi:

Confirm the share is working.

Triumph! The mount works, i will now access every one of my images, music and films from my Raspberry Pi. all things are properly saved to my WD My Cloud, which will keep 2 copies of most of my data – so if such a thing goes incorrect, I’ll always have actually my data copied 😉

12 Reviews

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

1. We have added the relative line to FSTAB nonetheless it doesn’t work on my Rpi3. I’m guessing its wanting to install the NAS prior to the community is up. Any some some some ideas? 2. i could just compose to your general general public directories making use of SUDO, – CHOWN doesn’t work. BTW there was a typo:

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

I believe for just what I became doing, read access had been sufficient, at that time. I actually do recall permission problems, but I’ll need to check on once more.

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

Hi here, exactly what are you attempting to too mount the NAS? A Raspberry Pi? whenever 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 whenever i kind the lines you stated. here’s a content regarding the display

Leave a Reply

Your email address will not be published. Required fields are marked *

Please answer the following question, to confirm you are human: *