Network and Storage Protocols

How many volumes/cifs shares can a FAS3140 handle?

ErickMendes
2,632 Views

Hi people.

 

We are having a problem here to setup Qtrees/Quotas. Our toasters are not working correctly with our LDAP base, so I was thinking about a way to work around it... Well, it's not very elegant, but my main concern is about the FAS3140 performance...

 

Currently we have one CIFS Share handling something close to 1000 user mappings (let's say X:). Each user have their folder, and security is done at micromanagement level. Not really easy to manage...

There's about 100 simultaneous access.

 

My workaround for this situation is far from elegant... :

1) Makes Samba create a vol/cifs share for each active user, ssh'ing commands to the toaster:

vol create <$user> -l en_US.UTF-8 aggr_USERS 5g

cifs shares -add user_<$user> /vol/<$user> -comment "User <$user>" -maxusers 1

 

2) In the login script on the user machine, map the share and change the share permissions, so only the user and, let's say, Domain Admins, can mess with it:

net use X: \\10.18.0.197\user_<$user>

icacls X:\ /setowner "Domain\<$user>" /inheritance:r
icacls X:\  <yada-yada> "Domain\Domain Admins"  "can_mess_too..." (placeholder.... just ignore this line) 

icacls X:\ /inheritance:r
icacls X:\ /remove Everyone

 

I've tested this script manually... It worked great...

BUT my main concern is really about performance of this 'solution'...

Going this route would create like 1000 volumes and equal number of CIFS shares, and I don't know how to measure the impact of this in my toaster performance.

I got some CIFS stat from it, but, frankly, I'm a noob on NetApp performance acessing, so if anyone can give me some clues on this matter, I would appreciate.

 

cifs stat:

 

Toaster> cifs stat
reject 775976 0%
mkdir 24808 0%
rmdir 940119 0%
open 0 0%
create 0 0%
close 2417441914 12%
X&close 0 0%
flush 2368246 0%
X&flush 0 0%
delete 1266364 0%
rename 6096948 0%
NTRename 0 0%
getatr 10388830 0%
setatr 0 0%
read 0 0%
X&read 0 0%
write 2919258 0%
X&write 0 0%
lock 0 0%
unlock 0 0%
mknew 0 0%
chkpth 10388822 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 473910846 2%
IPC 191177263 1%
open2 0 0%
find_first2 2802451745 14%
find_next2 314550820 2%
query_fs_info 1628967905 8%
query_path_info 707136237 3%
set_path_info 1366147 0%
query_file_info 3948090746 19%
set_file_info 440083166 2%
create_dir2 0 0%
Dfs_referral 12347736 0%
Dfs_report 0 0%
echo 25949259 0%
writeclose 0 0%
openX 0 0%
readX 3672593828 18%
writeX 667025434 3%
findclose 0 0%
tcon 0 0%
tdis 12745633 0%
negprot 759217 0%
login 29502584 0%
logout 2236126 0%
tconX 14593483 0%
dskattr 0 0%
search 0 0%
fclose 12848624 0%
NTCreateX 2932117780 14%
NTTransCreate 3891 0%
NTTransIoctl 66774867 0%
NTTransNotify 107376496 1%
NTTransSetSec 4349012 0%
NTTransQuerySec 85124269 0%
NTNamedPipeMulti 0 0%
NTCancel CN 22577592 0%
NTCancel Other 11355 0%
SMB2Echo 0 0%
SMB2Negprot 0 0%
SMB2TreeConnnect 0 0%
SMB2TreeDisconnect 0 0%
SMB2Login 0 0%
SMB2Create 0 0%
SMB2Read 0 0%
SMB2Write 0 0%
SMB2Lock 0 0%
SMB2Unlock 0 0%
SMB2OplkBrkAck 0 0%
SMB2ChgNfy 0 0%
SMB2CLose 0 0%
SMB2Flush 0 0%
SMB2Logout 0 0%
SMB2Cancel 0 0%
SMB2IPCCreate 0 0%
SMB2IPCRead 0 0%
SMB2IPCWrite 0 0%
SMB2QueryDir 0 0%
SMB2QueryFileBasicInfo 0 0%
SMB2QueryFileStndInfo 0 0%
SMB2QueryFileIntInfo 0 0%
SMB2QueryFileEAInfo 0 0%
SMB2QueryFileFEAInfo 0 0%
SMB2QueryFileModeInfo 0 0%
SMB2QueryAltNameInfo 0 0%
SMB2QueryFileStreamInfo 0 0%
SMB2QueryNetOpenInfo 0 0%
SMB2QueryAttrTagInfo 0 0%
SMB2QueryAccessInfo 0 0%
SMB2QueryFileUnsupported 0 0%
SMB2QueryFileInvalid 0 0%
SMB2QueryFSVolInfo 0 0%
SMB2QueryFSSizeInfo 0 0%
SMB2QueryFSDevInfo 0 0%
SMB2QueryFSAttrInfo 0 0%
SMB2QueryFSFullSzInfo 0 0%
SMB2QueryFSObjIdInfo 0 0%
SMB2QueryFSInvalid 0 0%
SMB2QuerySecurityInfo 0 0%
SMB2SetBasicInfo 0 0%
SMB2SetRenameInfo 0 0%
SMB2SetFileLinkInfo 0 0%
SMB2SetFileDispInfo 0 0%
SMB2SetFullEAInfo 0 0%
SMB2SetModeInfo 0 0%
SMB2SetAllocInfo 0 0%
SMB2SetEOFInfo 0 0%
SMB2SetUnsupported 0 0%
SMB2SetInfoInvalid 0 0%
SMB2SetSecurityInfo 0 0%
SMB2FsctlPipeTransceive 0 0%
SMB2FsctlPipePeek 0 0%
SMB2FsctlEnumSnapshots 0 0%
SMB2FsctlDfsReferrals 0 0%
SMB2FsctlSetSparse 0 0%
SMB2FsctlSecureShare 0 0%
SMB2FsctlFileUnsupported 0 0%
SMB2FsctlIpcUnsupported 0 0%
cancel lock 0
wait lock 0
copy to align 80380716
alignedSmall 77776152
alignedLarge 826
alignedSmallRel 0
alignedLargeRel 0
FidHashAllocs 640040
TidHashAllocs 5830
UidHashAllocs 3096
mbufWait 0
nbtWait 0
pBlkWait 0
BackToBackCPWait 0
cwaWait 0
short msg prevent 38618
multipleVCs 2210515
SMB signing 0
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 348322
smb disconnect 288966
dup disconnect 127409
OpLkBkXorBatchToL2 25195430
OpLkBkXorBatchToNone 2274
OpLkBkL2ToNone 69008542
OpLkBkNoBreakAck 3213
OpLkBkNoBreakAck95 0
OpLkBkNoBreakAckNT 3213
OpLkBkIgnoredAck 60723702
OpLkBkWaiterTimedOut 0
OpLkBkDelayedBreak 64196855
SharingErrorRetries 982497
FoldAttempts 0
FoldRenames 0
FoldRenameFailures 0
FoldOverflows 0
FoldDuplicates 0
FoldWAFLTooBusy 0
NoAllocCredStat 0
RetryRPCcollision 347
TconCloseTID 0
GetNTAPExtAttrs 0
SetNTAPExtAttrs 0
SearchBusy 0
ChgNfyNoMemory 0
ChgNfyNewWatch 15416707
ChgNfyLastWatch 15415866
UsedMIDTblCreated 0
UnusedMIDTblCreated 0
InvalidMIDRejects 0
SMB2InvalidSignature 0
SMB2DurableCreateReceived 0
SMB2DurableCreateSucceeded 0
SMB2DurableReclaimReceived 0
SMB2DurableReclaimSucceeded 0
SMB2DurableHandlePreserved 0
SMB2DurableHandlePurged 0
SMB2DurableHandleExpired 0
SMB2FileDirInfo 0
SMB2FileFullDirInfo 0
SMB2FileIdFullDirInfo 0
SMB2FileBothDirInfo 0
SMB2FileIdBothDirInfo 0
SMB2FileNamesInfo 0
SMB2FileDirUnsupported 0
SMB2QueryInfo 0
SMB2SetInfo 0
SMB2Ioctl 0
SMB2RelatedCompRequest 0
SMB2UnRelatedCompRequest 0
SMB2FileRequest 0
SMB2PipeRequest 0
SMB2nosupport 0
Max Multiplex = 56, Max pBlk Exhaust = 0, Max pBlk Reserve Exhaust = 0
Max FIDs = 10713, Max FIDs on one tree = 5846
Max Searches on one tree = 97, Max Core Searches on one tree = 0
Max sessions = 1420
Max trees = 7424
Max shares = 12
Max session UIDs = 83, Max session TIDs = 241
Max locks = 12040
Max credentials = 2746
Max group SIDs per credential = 16
Max pBlks = 1304 Current pBlks = 1298 Num Logons = 129
Max reserved pBlks = 32 Current reserved pBlks = 32
Max gAuthQueue depth = 77
Max gSMBBlockingQueue depth = 18
Max gSMBTimerQueue depth = 5
Max gSMBAlfQueue depth = 2
Max gSMBRPCWorkerQueue depth = 29
Max gOffloadQueue depth = 121
Local groups: builtins = 6, user-defined = 4, SIDs = 20
RPC group count = 20, RPC group active count = 2
Max Watched Directories = 1194, Current Watched Directories = 1099
Max Pending ChangeNotify Requests = 1193, Current Pending ChangeNotify Requests = 1099
Max Pending DeleteOnClose Requests = 3912, Current Pending DeleteOnClose Requests = 0

 

1 REPLY 1

YIshikawa
2,589 Views
Number of volumes per controller for FAS3140 is 500.You can check this limitation in Storage Management Guide or Hardware Universe(https://hwu.netapp.com).
Some KB suggests that it depends on amount of memory. But I could not find any public article for limitation of CIFS shares and sessions.
Public