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

Recently during a residence move, we dropped my trusted old fashioned dependable Raspberry Pi – hard disk Network Attached space product. Essentially we connected my outside drive that is hard a Raspberry Pi together with a Network Attached space drive which permitted me personally to get into my news from any device on my house community.

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

I shelled down 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 I connected my Pi towards the our Cloud! The guide below should benefit any NAS – not only the WD our get it on Cloud.

Get the internet protocol address of the NAS:

In the event that you don’t understand the ip of the NAS, it is possible to perform an “arp-scan” from your Raspberry Pi to locate it, right here’s the way I found mine:

You can find the IP address in your settings, as per the instructions here if you still can’t find the IP address, for the WD My Cloud.

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

Mounting the NAS to your Raspberry Pi:

The step that is first accessing the NAS from your Raspberry Pi is always to mount the outside HDD as being a file system from the Raspberry Pi, this can permit you to see the NAS, while you would any directory regarding the Pi. It is pretty effortless actually, whilst the CIFS (CIFS Common online File Share, a protocol dictating just how different OS’ share files among them, including Windows and Linux) protocol takes proper care of every thing.

First make a directory for the share:

Next mount the drive with the internet protocol address plus the Raspberry Pi directory you wish to install to:

In this instance, i will be mounting the folder that is“Public on my NAS to your wdmycloud folder located back at my Raspberry Pi.

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

After performing the mount demand, you really need to now manage to access the NAS file system while you would some other directory!

Immediately mount the NAS on switch on:

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

To really make the mount permanent, we have to 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.

Incorporating the NAS into the FSTAB.

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

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

Testing the NAS is linked immediately on power up:

First rung on the ladder, 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 most of my images, music and films from my Raspberry Pi. all things are properly kept on my WD My Cloud, which will keep 2 copies of all of my data – so if any such thing goes incorrect, I’ll always have actually my data copied 😉

12 Remarks

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

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

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

I believe for just what I became doing, read access ended up being sufficient, during the time. I really do remember authorization problems, but I’ll need to check on once more.

I’m on vacation at the brief minute and can give it a shot once I get back home. I’ve fixed the typo – thanks 🙂

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

Hi here, what precisely you attempting 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 to a raspberry pi 3 b+ no the drive does mount when i n’t kind the lines you stated. listed here is a content of this display

Kategorie: Allgemein
Du kannst alle Neuigkeiten zu diesem Beitrag als RSS 2.0 feed abonnieren. Die Kommentarfunktion sowie das Pinging sind derzeit deaktiviert.

Die Kommentarfunktion ist deaktiviert.