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

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

Recently during a home move, I dropped my trusted old fashioned dependable Raspberry Pi – hard disk Network Attached space product. Fundamentally we connected my outside hard disk to a Raspberry Pi together with a Network Attached space drive which allowed us to get into my news from any unit back at my house community.

Then 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 a great bit of gear – nonetheless i desired something significantly more than a standalone NAS and I also desired to manage to access the WD the Cloud from my Pi.

Here’s just how we connected my Pi into the the Cloud! The guide below should work with 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 still can’t get the internet protocol address, for the WD the Cloud you will find the internet protocol address in your settings, according to the directions right here.

In my own situation 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 outside HDD as a file system in the Raspberry Pi, this may enable you to view the NAS, while you would any directory from the Pi. This can be pretty easy 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 with the internet protocol address therefore the Raspberry Pi directory you intend to install to:

In this instance, i will be mounting the folder that is“Public 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 need to now manage to access the NAS file system while you would virtually any directory!

Immediately mount the NAS on switch on:

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 towards the 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.

Adding the NAS towards the FSTAB.

You can view through the final line in the FSTAB file above, we have added the NAS as 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 power up:

Initial step, reboot your Pi… :

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

Confirm the share is working.

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

12 Commentary

Hi Allyn, good work! exactly what I had a need to get my WDmycloud dealing with Rpi. I nevertheless have actually a handful of problems that We cannot resolve.

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

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

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

I’m on christmas in the minute and certainly will give https://besthookupwebsites.net/hitwe-review/ it a shot once I go back home. I’ve fixed the typo – thanks 🙂

Hi Allyn I’ve accompanied your guide as well as 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 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 doesn’t install when i kind the lines you stated. listed here is a duplicate associated with the display

Leave a Comment

O seu endereço de email não será publicado. Campos obrigatórios marcados com *