Operating System - HP-UX
1825224 Members
4301 Online
109679 Solutions
New Discussion юеВ

cifsmount: Mounting Share: No such file or directory

 
Stefan Schulz
Honored Contributor

cifsmount: Mounting Share: No such file or directory

Hi all,

i try to mount a share from Windows 2003 server to my HP-UX 11 Server to copy some data.

I did start the cifsclient and issue the following command:

cifsmount //servcad.xxx.domain.de/iman_volumes /servcad -U user

As an result i get:

Mounting Share: No such file or directory

Of course the directory /servcad on my HP-UX box exists (checked this several times).

But when i use the smbclient to connect to this share i don't get an error but access to the desired share. Means i issue the command:

smbclient //servcad.xxx.domain.de/iman_volumes -U user

and get the usual smbclient access to the share. Im also able to put files there without any trouble.

I searched through the forums but couldn't find any similar problems. The message "No such file ore directory" could say that either the mountpoint or the shared directory are missing. But as far as i can see both are existing and available.

How about an hint what's happening here?

Our environment:

HP-UX 11.11 on a RP2740
cifsmount: daemon version: A.01.07
cifsmount: client version: A.01.07

Windows 2003 Server
Active Directory

Any help is appreciated

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
5 REPLIES 5
RAC_1
Honored Contributor

Re: cifsmount: Mounting Share: No such file or directory

Is that share available from HP-UX??

smbclient -L \\nt_server -U "user_name"

Anil
There is no substitute to HARDWORK
Stefan Schulz
Honored Contributor

Re: cifsmount: Mounting Share: No such file or directory

Yes, smbclient is able to access this share.

As mentioned above i'm able to use smbclient to connect to this share and put files there. Also smbclient -L \\servcad does show this share.

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Stefan Schulz
Honored Contributor

Re: cifsmount: Mounting Share: No such file or directory

For now please forget about this question. Somehow i got it working.

As you see in my previous post i did use the full name the Windows 2003 Server reports in its Networking Environment.

I did put this name in my /etc/hosts of my HP-UX server. But i didn't succeede.

Now i also put the shortname (servcad) as an alias in the /etc/hosts besides the full name and used this shortname in my cifsmount command. And i got an connection with the first try.

Don't ask my why, but this works for now. Thats interesting because i also tried to use the IP adress of the Windows Server instead of the name which didn't work at all.

Thanks for your time reading and answering this question

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Darren Prior
Honored Contributor

Re: cifsmount: Mounting Share: No such file or directory

Hi Stefan,

I'm glad you've got this working - it sounds like one of the "fun" bits of Windows networking to me! One point I noticed is that you're running quite an old version of the CIFS client s/w; it may well be worth reading the release notes of the latest version to help you determine if you should upgrade.

regards,

Darren.
Calm down. It's only ones and zeros...
Stefan Schulz
Honored Contributor

Re: cifsmount: Mounting Share: No such file or directory

Hi Darren,

thanks for this tip. I will check if the documents and see if its wort to do an update.

If everything works as planned this will be the last time i have to transfer data from this server to a Windows box.

Regards

Stefan
No Mouse found. System halted. Press Mousebutton to continue.