ONTAP Discussions

Highlighted

Data ONTAP API Failed: Cannot execute command: CIFS is in the process of stopping. (Error: 13201)

Hi everyone,

 

Since two months ago We have been losing connectivity to a shared folder located in our Netapp storage. We thought it was a network issue but it is not because everything works fine when we lose access to the folder. So we decided to check on the Oncommand System and we saw the next error:

 

"Data ONTAP API Failed: Cannot execute command: CIFS is in the process of stopping. (Error: 13201)"

3 REPLIES 3
Highlighted

Re: Data ONTAP API Failed: Cannot execute command: CIFS is in the process of stopping. (Error: 13201

Hi

 

can you log in with SSH/telnet to both HA nodes and run:

cf status
cifs status

Please?

Thanks

Gidi Marcus (Linkedin) - Storage and Microsoft technologies consultant - Hydro IT LTD - UK
Highlighted

Re: Data ONTAP API Failed: Cannot execute command: CIFS is in the process of stopping. (Error: 13201

Hi, 

 

I get the following results:

 

version
NetApp Release 8.1.3 7

 

cf status

Controller Failover enabled, [controller 2] is up.

 

cifs stat

reject 0 0%
mkdir 0 0%
rmdir 0 0%
open 0 0%
create 0 0%
close 14949 0%
X&close 0 0%
flush 0 0%
X&flush 0 0%
delete 0 0%
rename 47 0%
NTRename 0 0%
getatr 2 0%
setatr 0 0%
read 0 0%
X&read 0 0%
write 575 0%
X&write 0 0%
lock 0 0%
unlock 0 0%
mknew 0 0%
chkpth 2 0%
exit 0 0%
lseek 0 0%
lockread 0 0%
X&lockread 0 0%
writeunlock 0 0%
readbraw 0 0%
writebraw 0 0%
writec 0 0%
gettattre 0 0%
settattre 0 0%
lockingX 108 0%
IPC 9 0%
open2 0 0%
find_first2 5966 0%
find_next2 8464 0%
query_fs_info 53 0%
query_path_info 12394 0%
set_path_info 0 0%
query_file_info 837 0%
set_file_info 283 0%
create_dir2 0 0%
Dfs_referral 7 0%
Dfs_report 0 0%
echo 0 0%
writeclose 0 0%
openX 0 0%
readX 15282 0%
writeX 9130 0%
findclose 0 0%
tcon 0 0%
tdis 6097 0%
negprot 2037 0%
login 102 0%
logout 24 0%
tconX 67 0%
dskattr 0 0%
search 0 0%
fclose 1 0%
NTCreateX 15363 0%
NTTransCreate 0 0%
NTTransIoctl 8 0%
NTTransNotify 2 0%
NTTransSetSec 0 0%
NTTransQuerySec 0 0%
NTNamedPipeMulti 0 0%
NTCancel CN 2 0%
NTCancel Other 0 0%
SMB2Echo 0 0%
SMB2Negprot 2817 0%
SMB2TreeConnnect 6441 0%
SMB2TreeDisconnect 6071 0%
SMB2Login 4667 0%
SMB2Create 2901825 2%
SMB2Read 628059 0%
SMB2Write 68605 0%
SMB2Lock 86 0%
SMB2Unlock 86 0%
SMB2OplkBrkAck 0 0%
SMB2ChgNfy 13559 0%
SMB2CLose 2839184 2%
SMB2Flush 23326 0%
SMB2Logout 3538 0%
SMB2Cancel 10615 0%
SMB2IPCCreate 388 0%
SMB2IPCRead 515 0%
SMB2IPCWrite 515 0%
SMB2QueryDir 2397625 1%
SMB2QueryFileBasicInfo 0 0%
SMB2QueryFileStndInfo 4 0%
SMB2QueryFileIntInfo 54622 0%
SMB2QueryFileEAInfo 56622 0%
SMB2QueryFileFEAInfo 13 0%
SMB2QueryFileModeInfo 0 0%
SMB2QueryAltNameInfo 0 0%
SMB2QueryFileStreamInfo 2708 0%
SMB2QueryNetOpenInfo 157377813 94%
SMB2QueryAttrTagInfo 0 0%
SMB2QueryAccessInfo 0 0%
SMB2QueryFileUnsupported 0 0%
SMB2QueryFileInvalid 3 0%
SMB2QueryFSVolInfo 58141 0%
SMB2QueryFSSizeInfo 454 0%
SMB2QueryFSDevInfo 0 0%
SMB2QueryFSAttrInfo 48521 0%
SMB2QueryFSFullSzInfo 3918 0%
SMB2QueryFSObjIdInfo 0 0%
SMB2QueryFSInvalid 275 0%
SMB2QuerySecurityInfo 8438 0%
SMB2SetBasicInfo 19106 0%
SMB2SetRenameInfo 1111 0%
SMB2SetFileLinkInfo 0 0%
SMB2SetFileDispInfo 6935 0%
SMB2SetFullEAInfo 0 0%
SMB2SetModeInfo 0 0%
SMB2SetAllocInfo 5466 0%
SMB2SetEOFInfo 18256 0%
SMB2SetUnsupported 0 0%
SMB2SetInfoInvalid 0 0%
SMB2SetSecurityInfo 1189 0%
SMB2FsctlPipeTransceive 274 0%
SMB2FsctlPipePeek 0 0%
SMB2FsctlEnumSnapshots 72 0%
SMB2FsctlDfsReferrals 33362 0%
SMB2FsctlSetSparse 0 0%
SMB2FsctlSecureShare 0 0%
SMB2FsctlFileUnsupported 27108 0%
SMB2FsctlIpcUnsupported 541 0%
cancel lock 0
wait lock 0
copy to align 0
alignedSmall 2479277
alignedLarge 2863538
alignedSmallRel 0
alignedLargeRel 0
FidHashAllocs 160
TidHashAllocs 0
UidHashAllocs 0
mbufWait 0
nbtWait 0
pBlkWait 0
BackToBackCPWait 0
cwaWait 0
short msg prevent 55
multipleVCs 5
SMB signing 3263
mapped null user 0
PDCupcalls 0
nosupport 0
read pipe busy 0
write pipe busy 0
trans pipe busy 0
read pipe broken 0
write pipe broken 0
trans pipe broken 0
queued writeraw 0
nbt disconnect 2617
smb disconnect 188
dup disconnect 51
OpLkBkXorBatchToL2 108
OpLkBkXorBatchToNone 0
OpLkBkL2ToNone 6
OpLkBkNoBreakAck 0
OpLkBkNoBreakAck95 0
OpLkBkNoBreakAckNT 0
OpLkBkIgnoredAck 0
OpLkBkWaiterTimedOut 0
OpLkBkDelayedBreak 0
SharingErrorRetries 0
FoldAttempts 0
FoldRenames 0
FoldRenameFailures 0
FoldOverflows 0
FoldDuplicates 0
FoldWAFLTooBusy 0
NoAllocCredStat 0
RetryRPCcollision 1
TconCloseTID 0
GetNTAPExtAttrs 0
SetNTAPExtAttrs 0
SearchBusy 0
ChgNfyNoMemory 0
ChgNfyNewWatch 4204
ChgNfyLastWatch 4173
UsedMIDTblCreated 7
UnusedMIDTblCreated 0
InvalidMIDRejects 0
SMB2InvalidSignature 0
SMB2DurableCreateReceived 2182801
SMB2DurableCreateSucceeded 120326
SMB2DurableReclaimReceived 700
SMB2DurableReclaimSucceeded 29
SMB2DurableHandlePreserved 668
SMB2DurableHandlePurged 3
SMB2DurableHandleExpired 636
SMB2FileDirInfo 0
SMB2FileFullDirInfo 9116
SMB2FileIdFullDirInfo 115
SMB2FileBothDirInfo 48052
SMB2FileIdBothDirInfo 2288672
SMB2FileNamesInfo 524
SMB2FileDirUnsupported 0
SMB2QueryInfo 157611597
SMB2SetInfo 52064
SMB2Ioctl 61357
SMB2RelatedCompRequest 14795
SMB2UnRelatedCompRequest 0
SMB2FileRequest 166566943
SMB2PipeRequest 40553
SMB2_1_LeaseBreaks 753
SMB2_1_LeaseUpgrades 21
SMB2_1_LeaseBreakExcuses 69030
SMB2_1_LeaseBreakAckTimeouts 184
SMB2_1_HandleLeaseBreaks 196
SMB2_1_LeaseBreaksToNone 175
SMB2_1_LeaseBreakAcksIgnored 0
SMB2nosupport 2033
Max Multiplex = 126, Max pBlk Exhaust = 0, Max pBlk Reserve Exhaust = 0
Max FIDs = 567, Max FIDs on one tree = 366
Max Searches on one tree = 2, Max Core Searches on one tree = 0
Max sessions = 38
Max trees = 38
Max shares = 6
Max session UIDs = 3, Max session TIDs = 3
Max locks = 756
Max credentials = 38
Max group SIDs per credential = 92
Max pBlks = 1024 Current pBlks = 1024 Num Logons = 0
Max reserved pBlks = 32 Current reserved pBlks = 32
Max gAuthQueue depth = 2
Max gSMBBlockingQueue depth = 2
Max gSMBTimerQueue depth = 6
Max gSMBAlfQueue depth = 1
Max gSMBRPCWorkerQueue depth = 2
Max gOffloadQueue depth = 2
Local groups: builtins = 6, user-defined = 1, SIDs = 4
RPC group count = 10, RPC group active count = 0
Max Watched Directories = 139, Current Watched Directories = 57
Max Pending ChangeNotify Requests = 138, Current Pending ChangeNotify Requests = 57
Max Pending DeleteOnClose Requests = 3072, Current Pending DeleteOnClose Request

Highlighted

Re: Data ONTAP API Failed: Cannot execute command: CIFS is in the process of stopping. (Error: 13201

ok. i'm afraid it dosen't correlate to a bug i found last week (where the controller in takeover).

 

With this unsupported version - i think your best bet is to do a cifs terminate and cifs restart by yourself. or even a failover and giveback by yourself, note that it's likely be somewhat disruptive to CIFS users.  also note that this is an open community, and recommendation here should not be taken as granted, we cannot see your environment and asses it's readiness for operation such a failover.

 

 

Gidi Marcus (Linkedin) - Storage and Microsoft technologies consultant - Hydro IT LTD - UK

View solution in original post

Check out the KB!
Knowledge Base
All Community Forums