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

Recently during a residence move, we dropped my good old fashioned dependable Raspberry Pi – hard disk Network Attached space device. Fundamentally we connected my outside hard disk drive to a Raspberry Pi along with a Network Attached space drive which allowed me to get into my news from any unit back at my house community.

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

I shelled down for the WE the Cloud 4 TB host, which by all reports is really 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 exactly how I connected my Pi towards the My Cloud! The guide below should benefit any NAS – not merely the WD the Cloud.

Get the ip of one’s NAS:

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

In the event that you nevertheless can’t get the internet protocol address, for the WD the Cloud you’ll find the internet protocol address in your settings, depending on the guidelines here.

In my own situation my NAS internet protocol address ended up being:

Mounting the NAS into the Raspberry Pi:

The first rung on the ladder to 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 from the Pi. This really is pretty effortless actually, whilst the CIFS (CIFS Common Web File Share, a protocol dictating 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 ip as well as the Raspberry Pi directory you need to install to:

In this instance, i will be mounting the “Public” folder located on my NAS to your wdmycloud folder positioned on my Raspberry Pi.

The command syntax is: install -t -o

After performing 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 automatically mount your NAS on switch on:

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

Edit the FSTAB file.

Add the NAS as a file system into the FSTAB file.

Incorporating the NAS towards the FSTAB.

You can observe through the line that is last the FSTAB file above, we have actually added the NAS being a file system during my FSTAB file.

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

Testing the NAS is linked immediately on switch on:

First myladyboydate profiles rung on the ladder, reboot your Pi… :

Next thing, look at 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 films from my Raspberry Pi. Everything is properly kept back at my WD My Cloud, which will keep 2 copies of all of my data – so if such a thing goes incorrect, I’ll always have actually my data supported 😉

12 Commentary

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

1. We have added the relative line to FSTAB nonetheless it can not work to my Rpi3. I’m guessing it really is attempting to install the NAS ahead of the system is up. Any a few some ideas? 2. i will just compose into the general public directories making use of SUDO, – CHOWN doesn’t work. BTW there was a typo:

Hi David, I’ll have actually to check always this away again. Right after composing this, within a homely household 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 really do remember authorization problems, but I’ll need to check on once again.

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

Hi Allyn I’ve then followed your tutorial in addition to NAS mounted okay and all worked.the issue I’m having is that we cant get it to automobile mount i followed your directions however when i reboot the drive does not mount

Hi here, exactly what are you wanting to install the NAS too? A Raspberry Pi? once you join does the drive mount when you kind: sudo mount -a Does the mount look once you type?: pet /etc/fstab

Yes im attempting to install it to a raspberry pi 3 b+ no the drive doesn’t install whenever i kind the lines you stated. the following is a duplicate regarding the display

0 cevaplar


Want to join the discussion?
Feel free to contribute!

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir