Try to mount MyCloud with Raspberry PI 2

Hello:

I am trying to mount  My Western Digital MyCloud to my Raspberry Pi 2 using Rasbian.

This is the line in my fstab file inside /etc

//192.168.1.63/nfs/Juan/Pi /home/pi/nas/ cifs username=XXX,password=XXXX,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

The folder /nfs/Juan/Pi exist in the NAS and /home/pi/nas/ already exist in the Pi.

The command sudo mount -a give me an error:

No such device or address

If I use the mount command I see this error:

sudo mount -t cifs //192.168.1.63/nfs/Juan/Pi /home/pi/nas/ -o username=XXX,password=XXXXX,iocharset=utf8,file_mode=0777,dir_mode=0777

Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Any idea?

Thanks

It looks like you’re trying to mount the root “/nfs” folder as it exists on the My Cloud’s directory structure. 

You can’t just mount any path… You need to mount the name of the share.

So you’re probably wanting it something like this:

//192.168.1.63/Juan /home/pi/nas/Pi cifs username=XXX,password=XXXX,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0