LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   mount: //10.52.0.102/Jim/dpc is not a valid block device (https://www.linuxquestions.org/questions/linux-networking-3/mount-10-52-0-102-jim-dpc-is-not-a-valid-block-device-893664/)

jbulgier 07-25-2011 11:36 AM

mount: //10.52.0.102/Jim/dpc is not a valid block device
 
When I try to mount this XP share:
sudo mount -t cifs //$n.102/Jim/dpc mnt/mp2 -o username=user,password=pass
I get this error:
mount: //10.52.0.102/Jim/dpc is not a valid block device

When I mount its parent:
sudo mount -t cifs //$n.102/Jim mnt/mp2 -o username=user,password=pass
The mount is successful and I can view the 'dpc' folder I tried to mount before.

I shared the directory in XP even though its parent is shared, but that didn't help. The username and password are correct for the XP machine because I am able to mount the parent.

I am using Ubuntu 10. Any ideas?

cheesus 08-03-2011 04:57 PM

Hi, I would assume that you need to modify the XP share to point to the
Jim/dpc, not only dpc. (or add a 2nd share for the Jim/dpc).
I believe you can only directly mount what is shared, but not any
contents of that share.
Cheers, Tom.

jbulgier 08-03-2011 07:18 PM

Thanks Tom.

I created a new share and it is now working fine.

fhp 09-11-2014 02:57 PM

I know the thread is old, but it showed high on google, so for future reference:

Installing cifs-utils allows you to mount directories inside a share (tested on debian wheezy).


All times are GMT -5. The time now is 06:15 AM.