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

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

Recently during a home move, we dropped my trusted old fashioned dependable Raspberry Pi – hard disk Network Attached space device. Essentially we connected my outside hard disk drive to a Raspberry Pi and had a Network Attached space drive which allowed us to access my news from any unit to my house system.

Then I realised it had been time and energy to buy a separate NAS.

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

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

Discover 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 can easily perform an “arp-scan” from your Raspberry Pi to locate it, right here’s the way I found mine:

In the event that you still can’t discover the internet protocol address, for the WD the Cloud you will find the internet protocol address in your settings, according to the directions right here.

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

Mounting the NAS to your Raspberry Pi:

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

First make a directory for the share:

Next mount the drive with the internet protocol address while the Raspberry Pi directory you need to install to:

In this instance, i’m mounting the folder that is“Public on my NAS towards the wdmycloud folder positioned back at my Raspberry Pi.

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

After executing 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:

Edit the FSTAB to install your NAS immediately on switch on:

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 dining Table.

Edit the FSTAB file.

Include the NAS as 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 within my FSTAB file.

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

Testing the NAS is linked immediately on power up:

First faltering step, reboot your Pi… :

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

Confirm the share is working.

Triumph! The mount works, I’m able to now access most of my photos, music and movies from my Raspberry Pi. All things are safely kept back at 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 supported furfling 😉

12 Commentary

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

1. I’ve added the relative line to FSTAB nonetheless it doesn’t work to my Rpi3. I will be guessing it really is wanting to install the NAS ahead of the community is up. Any some some a few ideas? 2. i could only compose towards the general general public directories utilizing SUDO, – CHOWN doesn’t work. BTW there clearly was a typo:

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

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

I’m on vacation in the minute and certainly will give it a try once I get 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 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 attempting 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 when you kind?: pet /etc/fstab

Yes im trying to install it up to a raspberry pi 3 b+ no the drive does mount when i n’t kind the lines you stated. listed here is a duplicate associated with display screen