Recently during a home move, we dropped my trusted 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 Storage drive which permitted me personally to access my news from any unit to 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 really a great bit of gear вЂ“ but i desired one thing a lot more than a standalone NAS and I also desired to manage to access the WD the Cloud from my Pi.
HereвЂ™s exactly just how we connected my Pi into the the Cloud! The guide below should work with any NAS вЂ“ not merely the WD the Cloud.
Get the ip 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:
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.
During my situation my NAS internet protocol address ended up being: 192.168.192.62
Mounting the NAS towards the Raspberry Pi:
The first rung on the ladder to accessing the NAS from your Raspberry Pi is always to install the outside HDD as being a file system in the Raspberry Pi, this may permit you to see the NAS, while you would any directory regarding the Pi. This will be pretty simple actually, once the CIFS (CIFS Common Web File Share, a protocol dictating just just just how OSвЂ™ that is different share among them, including Windows and Linux) protocol takes care of everything.
First make a directory for the share:
Next mount the drive utilizing the internet protocol address while the Raspberry Pi directory you need to install to:
In this instance, i’m mounting the folder that isвЂњPublic back at my NAS towards the wdmycloud folder located on my Raspberry Pi.
The demand syntax is: mount-o that is-t
After executing the mount demand, you ought to now have the ability 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 power up:
To help make the mount permanent, we must include the NAS file system to your 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.
Including the NAS towards the FSTAB.
You can observe through the final line in the FSTAB file above, we have actually added the NAS as being 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 switch on:
First rung on the ladder, reboot your PiвЂ¦ :
Next step, look at your NAS directory through the Pi:
Confirm the share is working.
Triumph! The mount works, I’m able to now access every one of my photos, music and films from my Raspberry Pi. All things are safely kept on my WD My Cloud, which will keep 2 copies of most of my data вЂ“ so if anything goes incorrect, IвЂ™ll always have actually my data copied рџ‰
Hi Allyn, good work! precisely what I needed seriously to get my WDmycloud dealing with Rpi. We continue to have a handful of problems that We cannot resolve.
1. I’ve added the line to FSTAB nevertheless it doesn’t work to my Rpi3. I will be guessing it really is wanting to install the NAS prior to the community is up. Any some a few some ideas? 2. i biggercity could just compose towards the public directories utilizing SUDO, вЂ“ CHOWN doesn’t work. BTW there was a typo:
Hi David, IвЂ™ll have actually to again check this out. Soon after composing this, within household move, my Pi had been fallen and broke!
I do believe for just what I became doing, browse access had been sufficient, at that time. I really do remember authorization problems, but IвЂ™ll need to check on once again.
IвЂ™m on vacation at the brief moment and can give it a shot once I go back home. IвЂ™ve fixed the typo вЂ“ thanks рџ™‚
Hi Allyn IвЂ™ve accompanied your guide in addition to NAS mounted okay and all worked.the issue IвЂ™m having is that we cant get it to auto mount i followed your guidelines however when i reboot the drive does not install
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 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 the display screen