WD My Cloud NAS on Ubuntu

I decided that 2014 for me was going to be the year of the Network Attached Storage (NAS). Last year was the year that I finally abandoned my desktops and went all laptop for both my Mac-based iOS development workflow and general purpose computing (i.e, everything else on my Acer i5 running Lubuntu). This year I wanted to have a massive centralized storage where I could put all my videos and photos so I can access it from any laptop or mobile device. What follows is what I chose and how to hook it up to Lubuntu.

I first looked at external cloud solutions (DropBox, Box, CrashPlan, BackBlaze) and although they were all cool they were unfortunately out for me due to three reasons. First, the storage limits – I didn’t want Gigs – I wanted Terabytes. Although, CrashPlan and BackBlaze both offer unlimited online storage they limit the number of devices. Two, I didn’t have all the files centralized on one computer and it would be best to centralized all my Mac, Linux, and iOS data first before I could go to one of these offsite back-up solutions. Third, these all cost money in a form of a monthly fee of $5 or $50 yearly subscriptions. These offline solutions are definitely part of the final solution but I decided that would be a second phase for me. It looked like I had developed a phased project that broke down into two phases of centralization first and then offsite continuous backup second.

The first phase then came down to having a Network Attached Storage (NAS) type unit. The new Airport Time Capsule looked cool but I wanted something less Appley. I have had good experiences with Western Digital (WD) drives and saw in the January 2014 issue of Maximum PC a head-to-head between Dropbox and the new WD My Cloud product. A successor to the My Book branded drive this new My Cloud branded offering provides a shell to a NAS device and it was cheaper than a Time Capsule. I was sold and for X-mas asked Santa for the WD My Cloud 4TB Personal Cloud Storage – NAS (WDBCTL0040HWT-NESN) device.

Set-up was literally plug and play. There is an iOS App for iPad and iPhone/iPod Touch which allows upload to and download/stream from the NAS. The WD website and User Manual mention Mac and PC software to mount and sync that make connection a breeze. The device supports Time Capsule so I’ll be doing that with my Mac laptops (yes – there is no limit to how many computers connect to this thing). Then came my Linux laptop. There was no mention of Linux which is a shame since you would think that they are leveraging the community’s efforts in their products. But it was easy enough to connect my Lubuntu laptop as a Network File System (NFS) Client via three shell commands.

First, I changed directory to my home directory and created a nfs directory in there:
$ cd $HOME
$ mkdir nfs

Then I applied the following three shell commands:
$ sudo apt-get install nfs-common
$ showmount -e <IP Address of Device>
$ sudo mount -o soft,intr,rsize=8192,wsize=8192 /home/<yourMachine>/nfs/

If you cd into nfs you’ll be accessing the WD My Cloud device. That’s it. I started to copy twenty mp4 files totalling 1.6GB into the device through 802.11g and it took 8 minutes. I was then streaming these on my iPad mini.

I hope this helps assure you you can connect to this from Linux. I know once I finished the plug and play I panicked for a bit thinking I wouldn’t be able to connect my Linux machines to this device but now I happily throw everything I have onto this. Also, it has a USB 3 port on the back so I can simply plug another 4TB USB drive on it and expand it in the future.

Welcome arstechnica readers. If you have not seen it here is the  arstechnica article that links to this blog post:

16 thoughts on “WD My Cloud NAS on Ubuntu

    • I didn’t set-up any password. For home use since its behind my router you need to be on the same wifi network.
      If you set it up for remote access I imagine it would force a user id and password.
      That user id and password would be used for the web interface.
      From what I know about NFS the NFS share permissions are handled in the file system of the server side of things.
      So when users are added to the NAS they all seem to share the same permissions to the share on the NAS.
      I created a couple of users to test this and we can all see each others folders. Again – for home use this is fine not sure if this would be cool in the Enterprise.

    • My WDMycloud needs a username and password to get access to. I am a Linux rookie so would someone be willing to tell me how to specify these in the mount command?

  1. Pingback: Western Digital My Cloud Review: The $150 personal cloud |

  2. Will your Linux box automatically re-mount it after a reboot?
    I’ve had problems in the past with Ubuntu failing that – as it would try to do the mount before it loaded the network drivers.

  3. It doesn’t automatically remount. You could script that.
    I’ve been lazy and just go to terminal, up arrow, and hit return to run the command again.
    I’ve also been using the WD device from a Roku on my network through the Roku Media Player Channel and it plays Videos, Music, and Photos perfectly as a DLNA Media Server. The days of putting movies on a USB thumb drive are over for me.

  4. To watch my files in WD NAS 2 TB I open Nautilus. Then choose Network and connect to server. Then type smb:// e.g. smb://

  5. Using the MAC address you can reserve an IP address on your router since the default on the MyCloud is to use DHCP. Once you have the IP you can go to it in a browser and you get an http://IP-Address/UI interface which is called the Dashboard. From there you can assign a static address to the WD MyCloud device and not use DHCP and undo the reservation on the router if you prefer.

  6. Pingback: WD My Cloud NAS on Ubuntu | 默默的点滴

  7. Thanks for the tip !
    But… after some tests, it seems that the connexion always freeze at some point :/ And I don’t know why :/ SMB or AFP does not freeze but it is so less responsive…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s