1834744 Members
2787 Online
110070 Solutions
New Discussion

Re: CIFS Server problem

 
Christoph Ernst_2
Occasional Advisor

CIFS Server problem

Hello everybody,
i have a problem with the CIFS server:
On my rx4640 with HP-UX11iv2, i have a directory shared by cifs for windows clients. But this directory is also shared by nfs. The problem is that the smbd process consumes 100% of my cpu when a windows client writes to the cifs share. Reading from the share works fine. The nfs share
is necessary for internal purpose.
When the clients write to a cifs share that is not shared by nfs, the problem does not occur.
My cifs server version is: A.02.02.01

Does anybody know a solution for this problem?

Best regards,
Christoph
4 REPLIES 4
totoperdu
Frequent Advisor

Re: CIFS Server problem

Hello,

i don't know your problem but i found a configuration example for "WINDOWS AND UNIX CLIENT ACCESS - NFS Mounted File System" in the "HP CIFS File Locking Interoperation" (http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA):
[share_name]
share modes = yes
locking = yes
oplocks = no

otherwise, you can put your smbd in debug mode, edit /opt/samba/bin/startsmb.
find the line "${samba_path}/smbd -D" and replace it by "${samba_path}/smbd -d 5 -D"

restart samba : /sbin/init.d/samba stop && /sbin/init.d/samba start

other question, your NFS mountpoint is it in NFSv2 or NFSv3?

--
Regards,
Cedrick Gaillard
Christoph Ernst_2
Occasional Advisor

Re: CIFS Server problem

Thanx for that, but i already have disabled oplocks (oplocks = no) and the other two options are set by default, aren't they?
The NFS Version is 3.
I enabled debug mode (5) for the smbd, but the output is very cryptic. I do not understand it.

Any other ideas?
totoperdu
Frequent Advisor

Re: CIFS Server problem

can you configure the startsmb with:
${samba_path}/smbd -D -d 5 -l /tmp

after that, compress the logfile (/tmp/log.smbd) and send it here in attachment.

you can also open a ticket to the HP support for analysing.

--
Best Regards
Cedrick Gaillard
Steven E. Protter
Exalted Contributor

Re: CIFS Server problem

Shalom Chris,

Usuallly this is fixed with patching. Note that the HP-UX CIFS client runs on nfs and therefore nfs must be well patched.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com