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 good old fashioned reliable Raspberry Pi – hard disk Network Attached space product. Fundamentally we connected my outside drive that is hard a Raspberry Pi along with a Network Attached space drive which permitted me personally to access my news from any unit on my house community.

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

I shelled away for the WE our Cloud 4 TB host, which by all reports is a piece that is great of – nevertheless i desired one thing significantly more than a standalone NAS and I also wished 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.

Get the ip 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 get the internet protocol address, for the WD the Cloud you will find the ip in your settings, according to the directions here.

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

Mounting the NAS into the https://besthookupwebsites.net/latinamericancupid-review/ 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, as you would any directory from the Pi. This will be pretty effortless actually, since the CIFS (CIFS Common online File Share, a protocol dictating just how OS’ that is different share among them, including Windows and Linux) protocol takes proper care of every thing.

First make a directory for the share:

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

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

The demand syntax is: mount-o that is-t

After performing the mount command, you really need to now manage to access the NAS file system as you would just about any directory!

Immediately mount the NAS on power up:

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

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

Edit the FSTAB file.

Include the NAS as being a file system when you look at the FSTAB file.

Incorporating the NAS towards the FSTAB.

You can observe through the final line in the FSTAB file above, we have actually added the NAS as being a file system within my FSTAB file.

This can immediately install the NAS every right time you power up your Raspberry Pi!

Testing the NAS is connected immediately on switch on:

First rung on the ladder, reboot your Pi… :

Next move, check always your NAS directory from the Pi:

Confirm the share is working.

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

12 Responses

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

1. We have added the line to FSTAB nonetheless it can not work back at my Rpi3. I’m guessing it really is attempting to install the NAS prior to the community is up. Any a few some ideas? 2. i could just compose towards the general general public directories utilizing SUDO, – CHOWN doesn’t work. BTW there clearly was a typo:

Hi David, I’ll have to check always this down again. Soon after composing this, within a homely home 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 moment and can give it a try once I get back home. I’ve fixed the typo – thanks 🙂

Hi Allyn I’ve accompanied your guide while the NAS mounted OK and all worked.the issue I’m having is that we cant get it to automobile mount i followed your directions nevertheless when i reboot the drive does not install

Hi here, exactly what are you wanting to mount the NAS too? A Raspberry Pi? once you join does the drive mount when you kind: sudo mount -a Does the mount look once you type?: 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. let me reveal a duplicate associated with display

Leave Comment