Recently during a home move, we dropped my trusted old fashioned dependable Raspberry Pi вЂ“ hard disk Network Attached space device. Essentially we connected my outside hard disk drive to a Raspberry Pi and had a Network Attached space drive which allowed us to access my news from any unit to my house system.
Then 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 just a piece that is great of вЂ“ nonetheless I wanted one thing a lot more than a standalone NAS and I also desired to have the ability to access the WD the Cloud from my Pi.
HereвЂ™s just just how I connected my Pi towards the our Cloud! The guide below should work with any NAS вЂ“ not only the WD our Cloud.
Discover the internet protocol address of one’s NAS:
In the event that you donвЂ™t understand the internet protocol address of one’s NAS, you can easily perform an вЂњarp-scanвЂќ from your Raspberry Pi to locate it, right hereвЂ™s the way I found mine:
In the event that you still canвЂ™t discover 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 instance my NAS internet protocol address had been: 192.168.192.62
Mounting the NAS to your Raspberry Pi:
The initial step to accessing the NAS from your Raspberry Pi would be to install the external HDD as being a file system regarding the Raspberry Pi, this can permit you to view the NAS, while you would any directory in the Pi. That is pretty simple actually, while the CIFS (CIFS Common Web File Share, a protocol dictating just how OSвЂ™ that is different share between them, including Windows and Linux) protocol takes care of every thing.
First make a directory for the share:
Next mount the drive with 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 on my NAS towards the wdmycloud folder positioned back at my Raspberry Pi.
The demand syntax is: mount-o that is-t
After executing the mount demand, you ought to now manage to access the NAS file system while you would every other directory!
Immediately mount the NAS on switch on:
Edit the FSTAB to install your NAS immediately on switch on:
To really make the mount permanent, we have to 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 being a file system when you look at the FSTAB file.
Including the NAS towards the FSTAB.
You can observe through the line that is last the FSTAB file above, We have added the NAS being a file system within my FSTAB file.
This can automatically install the NAS every right time you switch on your Raspberry Pi!
Testing the NAS is linked immediately on power up:
First faltering step, reboot your PiвЂ¦ :
Next thing, check always your NAS directory through the Pi:
Confirm the share is working.
Triumph! The mount works, I’m able to now access most of my photos, music and movies from my Raspberry Pi. All things are safely kept 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 supported furfling рџ‰
Hi Allyn, good work! precisely what we needed seriously to get my WDmycloud dealing with Rpi. We continue to have a few conditions that We cannot resolve.
1. I’ve added the relative line to FSTAB nonetheless it doesn’t work to my Rpi3. I will be guessing it really is wanting to install the NAS ahead of the community is up. Any some some a few ideas? 2. i could only compose towards the general general public directories utilizing SUDO, вЂ“ CHOWN doesn’t work. BTW there clearly was a typo:
Hi David, IвЂ™ll have actually to check always this away again. Soon after composing this, within 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, at that time. I really do remember authorization issues, but IвЂ™ll need to check once again.
IвЂ™m on vacation in the minute and certainly will give it a try once I get back home. IвЂ™ve fixed the typo вЂ“ thanks рџ™‚
Hi Allyn IвЂ™ve used your guide and also 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 too mount the NAS? A Raspberry Pi? once you join does the drive mount when you kind: sudo mount -a Does the mount look when you kind?: pet /etc/fstab
Yes im trying to install it up to a raspberry pi 3 b+ no the drive does mount when i nвЂ™t kind the lines you stated. listed here is a duplicate associated with display screen