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

Recently during a home move, we dropped my trusted old fashioned dependable Raspberry Pi – hard disk Network Attached space product. Fundamentally we 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 on my house network.

Then I realised it absolutely was time for you to buy a passionate NAS.

I shelled down for the WE our Cloud 4 TB server, 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 desired to have the ability to access the WD our Cloud from my Pi.

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

Find 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 still can’t get the internet protocol address, for the WD the Cloud there is the internet protocol address in your settings, depending on the directions right here.

In my instance my NAS internet protocol address had been: 192.168.192.62

Mounting the NAS into the Raspberry Pi:

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

First produce a directory for the share:

Next mount the drive with the internet protocol address 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 into the wdmycloud folder positioned back at my Raspberry Pi.

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

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

Immediately mount the NAS on switch on:

Edit the FSTAB to mount your NAS immediately 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 dining Table.

Edit the FSTAB file.

Include the NAS as a file system when you look at the FSTAB file.

Incorporating the NAS towards the FSTAB.

You can view through the line that is last the FSTAB file above, We have added the NAS as being a file system in my own FSTAB file.

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

Testing the NAS is linked immediately on power up:

First faltering step, reboot your Pi… :

Next thing, look at your NAS directory through the Pi:

Confirm the share is working.

Success! The mount works, i will now access each of my photos, 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 my data – so if any such thing goes incorrect, I’ll always have actually my data backed up 😉

12 Feedback

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

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

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

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

I’m on vacation during the brief minute and certainly will give it a try whenever I go back home. I’ve fixed the typo – thanks 🙂

Hi Allyn I’ve then followed your guide together with NAS mounted OK 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 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 up to a raspberry pi 3 b+ no the drive doesn’t install whenever i kind the lines you stated. let me reveal a content associated with display screen

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *