WD My Cloud NAS Setup On Linux
Introduction
I recently bought a WD My Cloud NAS1 device to store my personal data. I wanted to set it up on my Ubuntu machine. For WD My Cloud, there is no official support for Ubuntu or any other Linux distros. But setting up it is quite easy.
NAS Setup
Make sure You have connected power adapter & LAN cables to it. If You open Your router config, You will see WD My cloud in client list. Make note of its IP address. If You want, You can assign a static IP also in the router settings.
Next step is to install NFS client package. NFS(Network File System) allows a system to share directories and files with others over a network. By using NFS, users and programs can access files on remote systems almost as if they were local files. So, update your packages & install nfs-common
package.
$ sudo apt-get update $ sudo apt-get install nfs-common
Now we can list folders which are available to mount using showmount
command.
$ showmount -e <ip-address>
Create an empty folder to mount any of the folder you wanted and mount it.
$ sudo mount -o rw,soft,intr,nfsvers=3 <ip>:<folder-to-mount> <path-to-mount>
Now You can start moving data into/out of WD My Cloud.
If You want to mount it automatically on boot, add following line to /etc/fstab
file.
<ip>:<folder-to-mount> <path-to-mount> nfs rw,soft,intr,nfsvers=3 0 0
Conclusion
Even though there is no official support for Ubuntu, WD My Cloud works pretty well with Ubuntu and other Linux distros.
Need further help with this? Feel free to send a message.