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

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

Recently during a home move, we dropped my trusted old fashioned dependable Raspberry Pi – hard disk Network Attached space device. Fundamentally we connected my outside drive that is hard a Raspberry Pi and had a Network Attached Storage drive which permitted me personally to access my news from any unit to my house system.

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

I shelled down for the WE our Cloud 4 TB host, which by all reports is really a great bit of gear – but i desired one thing a lot more than a standalone NAS and I also desired to manage to access the WD the Cloud from my Pi.

Here’s exactly just how we connected my Pi into the the Cloud! The guide below should work with any NAS – not merely 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:

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.

During my situation my NAS internet protocol address ended up being: 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 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 will be pretty simple actually, once the CIFS (CIFS Common Web File Share, a protocol dictating just just just how OS’ that is different share among them, including Windows and Linux) protocol takes care of everything.

First make a directory for the share:

Next mount the drive utilizing 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 back at my NAS towards the wdmycloud folder located on my Raspberry Pi.

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

After executing the mount demand, you ought to now have the ability to access the NAS file system while you would every other directory!

Immediately mount the NAS on switch on:

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

To help make the mount permanent, we must 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 a file system into the FSTAB file.

Including 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 in my own FSTAB file.

This may immediately install the NAS every right 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 step, look at your NAS directory through the Pi:

Confirm the share is working.

Triumph! The mount works, I’m able to now access every one of my photos, music and films from my Raspberry Pi. All things are safely kept on my WD My Cloud, which will keep 2 copies of most of my data – so if anything goes incorrect, I’ll always have actually my data copied 😉

12 Remarks

Hi Allyn, good work! precisely what I needed seriously to get my WDmycloud dealing with Rpi. We continue to have a handful of problems that We cannot resolve.

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

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

I do believe for just what I became doing, browse access had been sufficient, at that time. I really do remember authorization problems, but I’ll need to check on once again.

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

Hi Allyn I’ve accompanied your guide in addition to NAS mounted okay and all worked.the issue I’m having is that we cant get it to auto mount i followed your guidelines however when i reboot the drive does not install

Hi here, exactly what are you wanting to too mount the NAS? 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. let me reveal a content associated with the display screen

Leave a Reply

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