Operating System - HP-UX
1820566 Members
2208 Online
109626 Solutions
New Discussion юеВ

Re: Unable to unmount the CIFS Mount point

 
CIFS
Occasional Contributor

Unable to unmount the CIFS Mount point

HI,

I have a mount point from windows box to HP box.this mount point is continously mounting and unmounting.so i decided to unmount it and mount it back.But am unable to do so.can any one help me to unmount the CIFS mount in HP box

Thanks,
P.Rajeswari
12 REPLIES 12
Oviwan
Honored Contributor

Re: Unable to unmount the CIFS Mount point

Hey

#cifsumount /mountdir

if you have error msg, post them.

Regards
lawrenzo
Trusted Contributor

Re: Unable to unmount the CIFS Mount point

what error messages do you get?
hello
CIFS
Occasional Contributor

Re: Unable to unmount the CIFS Mount point

Hi All,

Thank you all...now i unmounted the cifs mount and mounted it back.Now the problem is,for every fraction of section its getting unmounted and mounting it back.whenever i type bdf sometimes i can see the mounted directory sometimes i see I/O error of that mounted point


some times it will show the following error
I/O error /

and some times it will show as mounted directory

localhost:/// /localmount


can any help me in this...thanks once again :-)
Eric Raeburn
Trusted Contributor

Re: Unable to unmount the CIFS Mount point

This is Eric in the HP CIFS Client software lab.

The I/O error does not imply that the share is getting unmounted and mounted. I can think of no reason that would happen, unless the server is constantly disconnecting the client (Windows severs do that periodically). We would need to see a network trace or a cifsclient log (with appropriate log levels enabled) to know if that is what's happening.

It sounds more to me like an authentication problem. Usually, the i/o error from bdf indicates that the user who typed bdf has not been authenticated at the server, hence that user cannot access the mount.

How do you mount the share? If you are root, you can mount and be authenticated in one step via 'mount' or 'cifsmount'. Otherwise, once the share is mounted you would authenticate with 'cifslogin'. These methods are described in the Admin Guide, available at docs.hp.com .

Also, it looks like you are using an old version of the CIFS Client. Although that would not cause this problem, if you are using a newer version of HP-UX than 11.0, I would recommend upgrading to the latest release of the CIFS Client, as we have added many fixes and enhancements. It is available free at software.hp.com.

Please post your results.

Good luck,
Eric
CIFS
Occasional Contributor

Re: Unable to unmount the CIFS Mount point

HI Eric,

Thanks allot for your Information.I executed the bdf as root but still am getting the error.I stopped the CIFS Client service and restarted it & remounted all the CIFS mount points but still we are getting this problem.

Please find the cifs client version details

# cifsmount -v
cifsmount: daemon version: A.01.09.01
cifsmount: client version: A.01.09.01

# uname -a
HP-UX B.11.11 U 9000/800 664399343 unlimited-user license

kindly let me know if we still wants to upgrade the cifs client version.and also you suggested for network trace.how to do this network trace or where to find the cifs client logs.where it will be stored.is it under /opt/cifsclient/pam/newconfig/etc/opt/cifsclient/pam.

this is O/pof bdf

bdf: /FINTST: I/O error
localhost:\\TRIFILE01\FINDEV
629143544 121592720 507550824 19% /FINDEV


Thanks,
P.Rajeswari
Eric Raeburn
Trusted Contributor

Re: Unable to unmount the CIFS Mount point

Thanks for your reply. I can best help you if you respond precisely to my original question: how do you mount the share? And, are you using 'cifslogin'? Please give the exact commands you issue (you don't need give the real password, username, server or share, but do give the exact syntax).

You mention that you are doing bdf as root. But, as explained in my previous message, it doesn't matter if you are root--it matters only that you are logged in at the server. Only then will you be able to use bdf to return information about the share. This is why I need to see the commands you are using.

Regarding the network trace and cifsclient logging, we don't need to address that yet. We first need to ensure you are doing everyting correctly.

Regarding updating, your output from uname indicates you are on hpux 11.11, so yes, a cifsclient update is highly recommended. Note that it will cause your system to reboot, so schedule it accordingly.

Regards,
-Eric
CIFS
Occasional Contributor

Re: Unable to unmount the CIFS Mount point

Eric,

This is the procedure we are following to mount the CIFS share


To unmount all the mount points

1.cifsumount -aF
2.cifsclient stop



To Mount it again
1.cifsclient start
2.cifslogin
3.cifsmount /// -U -P

anyhow i recommened for upgradation.

Thanks,
P.Rajeswari
Yogeeraj_1
Honored Contributor

Re: Unable to unmount the CIFS Mount point

hi,

The problem could be on the other side. This lost of connection could be related to network failures.

to be on the safe side, ensure that you have the latest patches installed and troubleshoot further. Try patching to the latest goldpack.

What OS is the other side running?

You may find the patch information for the Windows-side at:
http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en
(Windows Server 2003 Resource Kit Tools)

can you also try to mount another shared folder? (preferrably from another host)

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Eric Raeburn
Trusted Contributor

Re: Unable to unmount the CIFS Mount point

Your procedure is basically sound. I have just a couple of comments about it, though these are harmless:

1. 'cifsumount -aF' is not valid syntax. To unmount all cifs shares, do 'umount -aF cifs' or 'cifsumount -a'. But, it is not necessary to unmount when shutting down the cifs client. 'cifsclient stop' causes all cifs mounts to be unmounted.

2. You indicate that you are doing cifslogin before cifsmount. If both those commands specify the same user and password, then they are redundant. You can either skip cifslogin, or omit the user and password options from cifsmount.

Now regarding the bdf problem, if cifsmount and cifslogin are successful, bdf should succeed. Do you get any error message? Have you verified via cifslist that the user (or users) were successfully logged in and that the cifsmount was successful?

As I stated originally, if the mount and login did not both succeed, then bdf cannot succeed. If they did succeed, bdf should also succeed. Simple as that.

If they did succeed, but bdf stil failed, then to resolve this, our best course of action would be for you to file an official support call with HP. We can only go so far in this forum once problems hit a certain level of complexity, and then it is much more practical to go through appropriate support channels. HP has highly skilled online support staff for this purpose. They can advise you which log levels to enable in order to get the appropriate data in the log file, and how to send a copy of the log for analysis.

Please post if you have further questions.

Thanks,
Eric
Rasheed Tamton
Honored Contributor

Re: Unable to unmount the CIFS Mount point

Hi,

>can you also try to mount another shared folder? (preferrably from another host) - Yogiraj

I think this is a good idea to troubleshoot these kind of problems and see the result. Also, did you check your logs to see whether there are any errors reg. the network.


Regards,
Rasheed Tamton.
Rasheed Tamton
Honored Contributor

Re: Unable to unmount the CIFS Mount point

Here is a good info regarding CIFS.

http://docs.hp.com/en/B8725-90021/index.html


Regards,
Rasheed Tamton.
Eric Raeburn
Trusted Contributor

Re: Unable to unmount the CIFS Mount point

> Here is a good info regarding CIFS.
> http://docs.hp.com/en/B8725-90021/index.html

Rasheed,

That is the CIFS Server guide. The issue under discussion here is related to the Client.

Also, because the Admin Guides and Release Notes for the CIFS Server and Client are subject to change with each release, it is advisable not to refer to a particular version, as in the link above--the contents could be rendered out of date by a later version. Preferable is to refer users to the index of the Networking documents:

http://www.docs.hp.com/en/netcom.html

and click the CIFS link there.

-Eric