Recently during a property move, we dropped my good 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 space drive which permitted me to access my news from any device on my house system.

Then I realised it had been time for you to buy a separate NAS.

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

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

Discover the internet protocol address of the NAS:

In the event that you don’t understand the internet protocol address of the NAS, you can easily perform an “arp-scan” from your Raspberry Pi discover 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.

Within my instance my NAS internet protocol address ended up being: 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 as being a file system in the Raspberry Pi, this may enable you to see the NAS, while you would any directory regarding the Pi. This can be pretty simple actually, whilst the CIFS (CIFS Common online File Share, a protocol dictating just just how OS’ that is different share among them, including Windows and Linux) protocol takes proper care of every thing.

First create a directory for the share:

Next mount the drive making use of the internet protocol address in addition to Raspberry Pi directory you need to install to:

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

The demand syntax is: mount -t -o

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

Immediately mount the NAS on power up:

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 into the Raspberry Pi’s /etc/fstab file – the File System dining dining Table.

Edit the FSTAB file.

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

Including the NAS towards the FSTAB.

You can view from the line that is last the FSTAB file above, We have added the NAS being a file system during my 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 tsdates reddit through the Pi:

Confirm the share is working.

Success! The mount works, I am able to now access most of my images, music and films from my Raspberry Pi. all things are properly saved on my WD My Cloud, which will keep 2 copies of most of my data – so if any such thing goes incorrect, I’ll always have actually my data supported 😉

12 Remarks

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

1. We have added the relative line to FSTAB nonetheless it can not work back at my Rpi3. I will be guessing it really is wanting to mount the NAS ahead of the community is up. Any some some ideas? 2. i could just compose into the general general public directories SUDO that is using, CHOWN doesn’t work. BTW there was a typo:

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

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

I’m on christmas at the brief minute and can give it a try once I go 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 it to auto mount i followed your instructions but when i reboot the drive doesn’t mount that i cant get

Hi there, 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 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 associated with display screen