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

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

Recently during a residence move, we dropped my classic dependable Raspberry Pi – hard disk Network Attached Storage device. Fundamentally we connected my outside drive that is hard a Raspberry Pi and had a Network Attached space drive which permitted us to get into my media from any device on my house system.

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 really a great little bit of gear – but i desired one thing a lot more than a standalone NAS and I also wished to manage to access the WD the Cloud from my Pi.

Here’s just just exactly how we connected my Pi towards the our Cloud! The guide below should work with any NAS – not merely 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 one’s NAS, you are able to perform an “arp-scan” from your Raspberry Pi to get it, right here’s the way I found mine:

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

In my own instance my NAS internet protocol address had been: 192.168.192.62

Mounting the NAS to your Raspberry Pi:

The step that is first accessing the NAS from your Raspberry Pi would be to install the outside HDD being a file system in the Raspberry Pi, this may permit you to see the NAS, while you would any directory regarding the Pi. This is certainly pretty simple actually, since 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 therefore 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 into 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 manage to access the NAS file system while you would every other directory!

Immediately mount the NAS on switch on:

https://besthookupwebsites.net/connecting-singles-review/

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

To help make the mount permanent, we have to 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 being a file system when you look at the FSTAB file.

Including the NAS towards the FSTAB.

You can observe through the line that is last the FSTAB file above, We have added the NAS being a file system in my own FSTAB file.

This may automatically 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’m able to now access each of my photos, 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 my data supported 😉

12 Responses

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

1. I’ve added the line to FSTAB nonetheless it doesn’t work on my Rpi3. I’m guessing it really is wanting to install the NAS prior to the system is up. Any a few ideas? 2. i will just compose into the general general public directories making use of SUDO, – CHOWN doesn’t work. BTW there clearly was a typo:

Hi David, I’ll have actually to again check this out. 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, at that time. I actually do remember authorization problems, but I’ll need to check on once again.

I’m on christmas at the minute and certainly will give it a try whenever I get back home. I’ve fixed the typo – thanks 🙂

Hi Allyn I’ve accompanied 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 directions nevertheless when i reboot the drive does not install

Hi here, exactly what are you wanting to too mount the NAS? A Raspberry Pi? whenever you join does the drive mount when you kind: sudo mount -a Does the mount appear 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 type the lines you said. let me reveal a copy for the display

Leave a Reply

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