Recently during a residence move, I dropped my good 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 me personally to access my news from any unit on my house community.
When I realised it had been time and energy to buy a separate NAS.
I shelled away for the WE our Cloud 4 TB host, which by all reports is a piece that is great of вЂ“ nevertheless I wanted one thing significantly 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 towards the the Cloud! The guide below should work with any NAS вЂ“ not only the WD our 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 discover the internet protocol address, for the WD the Cloud there is the ip in your settings, according to the guidelines right here.
In my own 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 outside HDD as a file system in the Raspberry Pi, this can permit you to see the NAS, while you would any directory regarding the Pi. That is pretty simple actually, once the CIFS (CIFS Common online File Share, a protocol dictating just how different OSвЂ™ share files among them, including Windows and Linux) protocol takes proper care of every thing.
First make a directory for the share:
Next mount the drive with the internet protocol address as well as the Raspberry Pi directory you intend to mount to:
In this instance, i will be mounting the вЂњPublicвЂќ folder located back at my NAS towards the wdmycloud folder positioned back at my Raspberry Pi.
The demand syntax is: install -t -o
After performing the mount demand, you need to now have the ability 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 switch on:
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 a file system within the FSTAB file.
Including the NAS towards the FSTAB.
You can view through the final line in the FSTAB file above, we have actually added the NAS as a file system within my FSTAB file.
This can immediately install the NAS every time you switch on your Raspberry Pi!
Testing the NAS is linked immediately on switch on:
Initial step, reboot your PiвЂ¦ :
Next thing, check always your NAS directory through the Pi:
Confirm the share is working.
Triumph! The mount works, i could now access each of my photos, music and films from my Raspberry Pi. Everything is properly saved back at 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 рџ‰
Hi Allyn, good work! exactly what we had a need 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 however it doesn’t work back at my Rpi3. I will be guessing it really is wanting to install the NAS ahead of the system is up. Any some ideas? 2. i could just compose to your general general public directories SUDO that is using, CHOWN doesn’t work. BTW there was a typo:
Hi David, IвЂ™ll have actually to again check this out. Right after composing this, during a homely household move, my Pi had been fallen and broke!
I believe for just what I became doing, browse access ended up being enough, during the time. I actually do remember authorization problems, but IвЂ™ll need to check on once more.
IвЂ™m on christmas at the brief minute and can give it a try once I go back home. IвЂ™ve fixed the typo вЂ“ thanks рџ™‚
Hi Allyn IвЂ™ve then followed your guide in addition to 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 wanting to install the NAS too? A Raspberry Pi? whenever 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 does mount when i nвЂ™t kind the lines you stated. listed here is a content for the screen