Linking a Raspberry Pi to a WD the Cloud Network Attached hard disk drive: 2021-01-13 15:55:19

Linking a Raspberry Pi to a WD the Cloud Network Attached hard 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 hard disk drive to a Raspberry Pi and had a Network Attached space drive which permitted us to access my news from any unit back at 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 a piece that is great of – but I wanted one thing a lot more than a standalone NAS and I also wished to have the ability to access the WD the Cloud from my Pi.

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

Discover the internet protocol address 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:

In the event that you nevertheless can’t get the ip, for the WD the Cloud you will find the ip in your settings, according to the guidelines right here.

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

Mounting the NAS towards the Raspberry Pi:

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

First create 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 folder that is“Public back at my NAS towards the wdmycloud folder positioned to my Raspberry Pi.

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

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

Immediately mount the NAS on power up:

Edit the FSTAB to install your NAS immediately on power up:

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

Edit the FSTAB file.

Include the NAS as being 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, I have actually added the NAS as a file system within my FSTAB file.

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

Testing the NAS is linked automatically on power up:

First faltering step, reboot your Pi… :

Next move, check always your NAS directory through the Pi:

Confirm the share is working.

Triumph! The mount works, i could now access every one of my images, music and films from my Raspberry Pi. Everything is properly kept to my WD My Cloud, which will keep 2 copies of most of my data – so if such a thing goes incorrect, I’ll always have actually my data copied 😉

12 Commentary

Hi Allyn, good work! exactly what we had a need to get my WDmycloud working with Rpi. We nevertheless have actually a few conditions that We cannot resolve.

1. We have added the line to FSTAB nevertheless it can not work on my Rpi3. I’m guessing it really is wanting to install the NAS ahead of the community is up. Any some a few some ideas? 2. i will just compose into the general general public directories utilizing SUDO, – CHOWN doesn’t work. BTW there is certainly a typo:

Hi David, I’ll have to again check this out. Right after writing this chat zozo, within home 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 on once again.

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

Hi Allyn I’ve then followed 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 directions 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 up 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 display

admin chat zozo hookup Just How To Inquire About In The Event That Individual You’re Dating Is Resting Along With Other Individuals Niche Internet Dating Sites to have Paid to Date Rich Males