1833747 Members
2971 Online
110063 Solutions
New Discussion

Re: CIFS Mount problem

 
Ulrich Billhofer
New Member

CIFS Mount problem

Beim Übertragen von Verzeichnissen mittels CIFS Mount, stürzt das Script ab, wenn 1000 Verzeichnisse übertragen wurden.
HP UX 11i >> Windows 2003
Wer weiß Rat ??

Danke und Gruß
Ulrich Billhofer
12 REPLIES 12
Arunvijai_4
Honored Contributor

Re: CIFS Mount problem

I understand you have problem connecting Win2k3 with 11i, You need to install Windows 2003 Resource kit for this,

http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae
7-96ee-b18c4790cffd&DisplayLang=en

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=962438

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
RAC_1
Honored Contributor

Re: CIFS Mount problem

ENGLSH Please.
There is no substitute to HARDWORK
Ulrich Billhofer
New Member

Re: CIFS Mount problem

OK, i canà t open this microsoft page. But my Problem ist, I can transport 1000 Files and at the File 1001 I get the Problem. The first 1000 Files are OK.

Thank You
Ulrich Billhofer
Hanwant Verma_1
Regular Advisor

Re: CIFS Mount problem

I believe he is asking the following question:

"In the transmitting of indices by means of CIFS Mount, crashes the Script if 1000 indices were transmitted. Did HP CROSS knows 11i>> windows 2003 who advice??"

Hanwant
RAC_1
Honored Contributor

Re: CIFS Mount problem

What is the error message?? any network problems between the hosts??
There is no substitute to HARDWORK
Ulrich Billhofer
New Member

Re: CIFS Mount problem

Hi All,
thank you, for your quickly responce. The Errormessage ist:
***** ERROR ***** Remove of /usr/sap/hamgujmps003/MDAT2SAP/NORM/GUJ000028 failed Wed Oct 26 14:35:08 METDST 2005

Thank You
Ulrich Billhofer
Rainer von Bongartz
Honored Contributor

Re: CIFS Mount problem

Maybe you need to tune your smb.conf parameter

max open files = xxxx

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Ulrich Billhofer
New Member

Re: CIFS Mount problem

Hi,
my CIFS Client Version is:
* Name: cifsclient.cfg
* Project: CIFS Client
* Authors: Christian Starkjohann and HP
* Tabsize: 4
* $Revision: @(#)cifsclient.cfg: ver_id=1.19

There is no Parameter like this.....

Best Regards
Ulrich Billhofer
Rainer von Bongartz
Honored Contributor

Re: CIFS Mount problem

sorry, my fault

I mixed up cifsclient and cifsserver

Regards
rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Eric Raeburn
Trusted Contributor

Re: CIFS Mount problem

Ulrich,

Eric from the HP CIFS Client lab here. Can you please provide a precise description of how you encounter this problem?

For example, I just created a directory on my local HP-UX host and filled it with 1024 files of various sizes; then I cd'ed into this directory and did:

cp * /mountpoint/bigdir

where /mountpoint is the mountpoint of a share on a Windows 2000 system.

By giving us a complete description, we can attempt to reproduce the problem and provide an explanation or a fix if there is a bug. BTW, when I performed to operation in my example above, it worked fine, so if that's what you are doing, and the problem happens consistently, we need to figure out what's going on.

Thanks,
Eric
Ulrich Billhofer
New Member

Re: CIFS Mount problem

Hi Eric,
i have send to you an attachment. We make it with a little script.
HAMGUJMPS003 ist Windows 2003 Server
usapp0 is a HP-UX 11.11 Server

We start the script over cron on usapp0. There we make a cifsmount on HAMGUJMS003 and send the Files to the mounted Files on uarch0
The last two days, we have only 886 and 740 Files with no problem. Over 1000 it crashed.

Best Regards
Ulli

Eric Raeburn
Trusted Contributor

Re: CIFS Mount problem

Hello, Ulrich,

At what point in the script does the failure occur? I presume it is at the 'mv' command, inside the loop "for ii in $COPYFILES".

If so, I suggest appending to the command as follows:

mv $FROM_DIR/$i/$ii . >> $PROT 2>&1
ret=$?
echo "$(date) $ii: mv returned $ret" >> $PROT

If the additional info that this places in $PROT does not provide data to help you fix the problem, uncomment the following logLevels in the cifs client configuration file (/etc/opt/cifsclient/cifsclient.cfg):

cifsTrace
nfsTrace
smbSequence

Do not uncomment any other logLevels. Rerun the script and post the cifsclient logfile in a message here. The logfile is /var/opt/cifsclient/debug/client-log.

Please note:

1. The cifs client logfile will only be of value if it catches the failure. You can compare the timestamp in the cifs client logfile with that in $PROT to verify.

2. The cifs client logfile will produce a lot of output (you may see two files, one with a ".prev" suffix), so when the experiment is complete, remember to comment out the three logLevels.

3. It may be necessary for you to open a support call with HP if this gets too complex to handle in this forum.

Thanks, and good luck,
-Eric Raeburn