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

Recently during a property move, we dropped my traditional dependable Raspberry Pi – hard disk Network Attached Storage product. Fundamentally I connected my outside drive that is hard a Raspberry Pi and had a Network Attached space drive which permitted us to get into my news from any unit back at my house system.

When I realised it absolutely was time for you to buy a https://besthookupwebsites.net/tsdating-review/ separate NAS.

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

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

Discover 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 internet protocol address, for the WD the Cloud you will find the internet protocol address in your settings, depending on the directions right here.

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

Mounting the NAS towards the Raspberry Pi:

The first rung on the ladder to accessing the NAS from your Raspberry Pi is always to install the outside HDD as a file system regarding the Raspberry Pi, this may permit you to see the NAS, while you would any directory in the Pi. This is certainly pretty simple actually, once the CIFS (CIFS Common online File Share, a protocol dictating how different OS’ share files among them, including Windows and Linux) protocol takes care of every thing.

First produce a directory 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’m mounting the “Public” folder located to my NAS to the wdmycloud folder positioned to my Raspberry Pi.

The command 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 virtually any directory!

Immediately mount the NAS on switch on:

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

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

Edit the FSTAB file.

Include the NAS as being a file system within the FSTAB file.

Including the NAS towards the FSTAB.

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

This may immediately mount the NAS every right time you switch on your Raspberry Pi!

Testing the NAS is linked immediately on switch on:

Initial step, reboot your Pi… :

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

Confirm the share is working.

Triumph! The mount works, i will now access each of my images, music and films from my Raspberry Pi. All things are properly kept 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 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. I’ve added the relative line to FSTAB nonetheless it can not work back at 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 could just compose towards the general public directories making use of SUDO, – CHOWN doesn’t work. BTW there is certainly a typo:

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

I do believe for just what I became doing, browse access had been sufficient, during the time. I actually do remember authorization problems, but I’ll need to check on once more.

I’m on christmas at the moment and certainly will give it a shot whenever I go back home. I’ve fixed the typo – thanks 🙂

Hi Allyn I’ve implemented your tutorial together with NAS mounted okay and all worked.the problem 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, exactly what are you wanting to install the NAS too? A Raspberry Pi? You type: sudo mount -a Does the mount appear when you type?: cat /etc/fstab when you log in does the drive mount when

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. listed here is a content associated with the display screen

Leave a Reply

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

Fill out this field
Fill out this field
Please enter a valid email address.

Menu