SOLVED: Connecting to a WD My Cloud Drive

Lafours23
Posts: 5
Joined: Sun Feb 28, 2016 9:06 am

SOLVED: Connecting to a WD My Cloud Drive

Postby Lafours23 » Sun Feb 28, 2016 9:11 am

Very new at this so I apologize if this is a dumb question. I recently re-purposed an old PC and installed Amahi on it. I already have a WD My Cloud Drive that I have been using as a media server and works great. What I am trying to do is use Couchpotato to manage my torrenting and transfer the completed file to my WD Cloud Drive, but I can't seem to find a way to accomplish this. I tried mounting the drive but nothing I have found seems to work.
Anyone know of a way I can add the WD My Cloud Drive to Amahi so I can transfer files to it using Couchpotato?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Connecting to a WD My Cloud Drive

Postby bigfoot65 » Sun Feb 28, 2016 9:49 am

Anyone know of a way I can add the WD My Cloud Drive to Amahi so I can transfer files to it using Couchpotato?
Is this an actual drive or something in the cloud?

You may have to use a third-party tool to transfer files from the HDA to it via a client machine or Linux bash script.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Lafours23
Posts: 5
Joined: Sun Feb 28, 2016 9:06 am

Re: Connecting to a WD My Cloud Drive

Postby Lafours23 » Sun Feb 28, 2016 9:55 am

It's an actual drive that I have connected to my router

http://www.amazon.com/Cloud-Personal-Ne ... B00EVVGAC6

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Connecting to a WD My Cloud Drive

Postby bigfoot65 » Sun Feb 28, 2016 10:00 am

Ok, then you should be able to access it via an IP address/folder name or similar?

If so, then you can try adding that to the app or just create a script to do the work.

This is something a little more advanced, so you may need to look for guidance on the internet. I am sure there is someone who has done something similar and posted it out there.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Lafours23
Posts: 5
Joined: Sun Feb 28, 2016 9:06 am

Re: Connecting to a WD My Cloud Drive

Postby Lafours23 » Sun Feb 28, 2016 10:07 am

I can access it, with the IP address. My issue is with couchpotato as it requires a mounted drive (I believe) so I need to mount the network drive to the share in Amahi.
I have tried this with no luck
mount -t cifs -o <username>,<password> //<Server>/<sharename> /mnt/point/

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Connecting to a WD My Cloud Drive

Postby bigfoot65 » Sun Feb 28, 2016 10:11 am

My issue is with couchpotato as it requires a mounted drive (I believe) so I need to mount the network drive to the share in Amahi.
Yes that is correct. Mounting a drive is not as simple as just executing the line. You have to create the mount point as well.

Now I understand what you are trying to do. This is how I have mine mounted in /etc/fstab:
//xxx.xxx.xxx.xxx/Music /media/samba/Music cifs credentials=/root/.smbcredentials,rw,_netdev,uid=1000,gid=1001,iocharset=utf8,mode=0777,dir_mode=0777 0 0
The file /root/.smbcredentials looks like this:
username=WORKGROUP\firstadminuser
password=PASSWORD
Obviously you would replace the the names above with your own. I also created the /media/samba/Music on the HDA. Once you have all this done, you can then do as root user:

Code: Select all

mount -a
If it works, you should be able to see files in the folder noted above. I use this to write files from sick-beard App to my HDA shares as my app is running on a VM and not the HDA.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Lafours23
Posts: 5
Joined: Sun Feb 28, 2016 9:06 am

Re: Connecting to a WD My Cloud Drive

Postby Lafours23 » Sun Feb 28, 2016 10:46 am

I appreciate this, I actually did some of that when i was researching but I think I see the issue.

with your .smbcredentials is that the login to the network drive, or are you entering the server credentials?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Connecting to a WD My Cloud Drive

Postby bigfoot65 » Sun Feb 28, 2016 10:51 am

That is the login to the network drive. Since I was using the HDA shares, that's why it looks as such.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Lafours23
Posts: 5
Joined: Sun Feb 28, 2016 9:06 am

Re: Connecting to a WD My Cloud Drive

Postby Lafours23 » Sun Feb 28, 2016 11:01 am

Looks like I didn't have the domain in my file, I added that and it now works.

Thank you so much for your time!!!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Connecting to a WD My Cloud Drive

Postby bigfoot65 » Sun Feb 28, 2016 11:08 am

Happy to hear it's now working.

Will close this one as resolved.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 7 guests