Welcome to this EMC Support Community Ask the Expert conversation.
This discussion will focus on supporting the SMB Protocol on an Isilon Cluster, including:
Peter Abromitis has been in support for over 8 years and is specialized in the Windows Protocol area. He is currently tasked as the Subject Matter Expert for Windows Protocols within Isilon Support, which involves everything from troubleshooting problems with SMB1, SMB2, Active Directory, and Permissions through standard Isilon Tools and Packet Traces; helping and developing TSEs as they progress through their career; and driving supportability needs into OneFS to make the lives of both customers and support engineers easier when dealing with issues on an Isilon Cluster.
Please see the posts below to read the full discussion. For a high-level summary of some of the key topics, Pete has posted this document: https://community.emc.com/docs/DOC-26337
This Ask the Expert event is now open for comments and questions. We look forward to an interesting and informative discussion!
To get the ball rolling, have you ever wondered what the most common support case for SMB we get is?
Permission cases make up about 25% of our overall case work. I have found that we can split permission cases into two types of case:
1.) General Windows Permission
2.) Multi-Protocol Permission
With general windows permission cases, troubleshooting the issue should be the exact same way as you would troubleshoot a permission issue on a windows server. Therefor, it is important to understand how share permission and file system permission interact with each other.
For multi-protocol permission issues, it becomes more complex as Isilon OneFS has a very advanced ACL Policy that can be configured.
I will not get into the details of our AIMA (Authentication, Identity Management, Authorization) engine here as that will be covered in a future Ask The Expert event.
I will however provide some general pointers to troubleshooting a permission problem.
The first thing I like to do is connect to Start -> Run -> \\cluster (do not add a share to the end)
The reason I connect to just the root of the cluster is because it is a good way to test Authentication. If the connection fails, you should stop troubleshooting a permission problem and focus you efforts on authentication.
After you have proven that you can connect to the cluster without any issues, I collect the following data to determine why permission is being denied:
1.) Collect the Unix version of the Users Token (this may not return anything if multi-protocol is not in use:
isi auth mapping token --name=username
isi auth mapping token --user=username
2.) Collect the Windows version of the Users Token (Note the \\ between domain and username)
isi auth mapping token --name=domain\\username
isi auth mapping token --user=domain\\username
3.) Collect the share output
isi smb permission list --sharename=<problem share>
isi smb shares view --share=<problem share>
4.) Collect both ls -led and ls -lend output of the problem file and each directory above it
ls -led /ifs/data/file1.txt
ls -led /ifs/data
ls -led /ifs
ls -lend /ifs/data/file1.txt
ls -lend /ifs/data
ls -lend /ifs
Once you have collected the data above, the process to resolve the permission problem is as follows:
1.) Note the Group Memberships the user is a member of from Step 1 and 2
2.) Verify the user is either directly in or is a group member of an entry in the share permission in step 3
3.) Verify the user is either directly in or is a group member of an entry in files system permission in step 4
To provide an example, lets say that I have a user Pete who is unable to write to a share:
1.) Collect isi auth mapping output
isi-ess-east-1# isi auth mapping token --name=domain\\pete
Initial name: pete
Primary uid: pete (1502)
Primary user sid: pete (SID-1-5-21-321531391-2185564565-1823270536-1014)
Primary gid: pete (1502)
Primary group sid: SID-1-5-21-321531391-2185564565-1823270536-1000
On-disk user identity: pete (1502)
On-disk group identity: pete (1502)
2.) Collect the share permission output:
isi-ess-east-1# isi smb permission list --sharename=ITGroup
SMB Share Permissions:
Account Acct Type Perm Type Permission
Everyone Builtin Allow Read << Pete is a member of Everyone
staff Group Allow Full Control << Pete is not a member of staff
3.) Collect ls -led and ls -lend ouptput of the paths (I am truncating the otuput)
isi-ess-east-1# ls -led /ifs/data/itgroup
drwxrwxrwx + 2 root wheel 0 Jul 15 09:33 /ifs/data/itgroup
0: user:root allow dir_gen_all
1: creator_owner allow dir_gen_all,object_inherit,container_inherit,inherit_only
2: group:Administrators allow dir_gen_all,object_inherit,container_inherit
3: everyone allow dir_gen_read,dir_gen_write,dir_gen_execute,std_delete,object_inherit,container_inherit << Note this gives the Everyone Group Write Permission
4: group:Users allow dir_gen_all,object_inherit,container_inherit
Therefor, the problem in this scenario is at the share level. Pete is a member of Everyone and gets Read at the share which overrides the File System Permission of Everyone Read/Write. Thus, Pete can only read, not write.
I hope this helps; Happy Permission Troubleshooting!
I am very interested when standard windows tools like MMC, RMTSHARE and SETACL will be supported by Isilon in combination with access zones.
we are on 220.127.116.11 and continue to have intermittent issues with lssad process, where users get prompted for credentials even though they are logged-in to AD. The only way to fix it is to killall -9 lsassd . We have been told many time "oh it's fixed in the next version OneFS", we upgrade only to be disappointed again because the issue continues. Will this ever be resolved ? (we are not upgrading to 7.x)
How can I find out the currently used smb verison at a cluster?
The common commands 'smbstatus' or 'smbd -V' or similar are not working at the CLI.
Great question, unfortunately the answer is, it depends. I am not familiar with your direct issue so I am going to speak to what we generally see. The lsassd service handles authentication requests and when things are working normally it should be in an Online state. OneFS has a concept that if there is a problem with our domain connectivity, lsassd will then go into an Offline state. When in an Offline state, the client may or may not be able to authenticate depending on the the authentication mechanism they use. The lsassd service will stay in an Offline state for 5 Minutes at which point it will perform a new Domain Controller discovery and select a new DC. The 5 minutes is tunable:
isi auth config modify --check-online-interval=
isi auth ads modify --check-online-interval=
How is authentication impacted when lsassd goes Offline?
-- If a user connects to a cluster and the client chooses to use NTLM for authentication, it will fail because in an Offline state we do not have a connection to a Domain Controller.
-- If a user connects to a cluster and it uses Kerberos:
-- If the user connected earlier and we already have the SID from the user token resolved to a username in our SID Cache, it will work.
-- If the user connects and we do not have the SID in our SID Cache, it will fail as we will be unable to complete a SID2Name lookup to the domain controller.
Are existing user connections impacted when lsassd goes Offline?
-- No, the existing user connections will continue as normal. The only time they will experience an issue is if the client does something to trigger a new authentication request. Even in that scenario it is highly likely that the new authentication request will work as it is likely using Kerberos and our Sid Cache is populated.
Why does lsassd go Offline?
Our lsassd process goes offline when it detects problems with connectivity to a domain controller. Depending on what type of failure it detects determines whether lsassd will go Offline or trigger a failover to another DC. This process is documented in the following KB:
Why was my answer "It depends?"
Lsassd can go Offline because of an external event (a DC reset our TCP Connection) or an internal event (a bug with Lsassd). If it happens to be an external event, the resolution will need to come from the DC side. From the sounds of it, since support has declared your issue fixed in a newer release, they are indicating it is a bug so an upgrade would be relevant. If the problem continues after the upgrade, it may have been an external event all along or it may be a new defect. Either way, if you are on a fixed version, the best thing to do is contact support and collect the necessary data for root cause.
What data should I collect so support can resolve the issue?
I am glad you asked I have a very good step by step action plan that you can collect in order for us to resolve the issue.
1.) Make the following directory:
2.) Start the packet traces (You will have to modify this command for the specific interfaces in your cluster (ie lagg0 may be em0) and you will also need to put your DC IPs in
isi_for_array 'tcpdump -s 0 -i lagg0 -w /ifs/data/Isilon_Support/DomainOfflineIssue/`hostname`.$(date +%m%d%Y_%H%M%S).lagg0.pcap -- host <ip of dc1 in cluster site> or host <ip of dc2 in cluster site> &'
isi_for_array 'tcpdump -s 0 -i lagg1 -w /ifs/data/Isilon_Support/DomainOfflineIssue/`hostname`.$(date +%m%d%Y_%H%M%S).lagg1.pcap -- host <ip of dc1 in cluster site> or host <ip of dc2 in cluster site> &'
3.) Turn on lsassd debug logging
isi_for_array -s 'isi auth log-level --set=debug'
4.) Wait for the domain to report offline
5.) After domain offline occurs run the following to stop the traces
isi_for_array -s 'pkill -9 tcpdump'
6.) Turn off lsassd debug logging
isi_for_array -s 'isi auth log-level --set=error'
7.) Copy lsassd logs to case directory
isi_for_array -s 'ls /var/log/lsassd.log | cut -d / -f 4 | while read foo; do bar=$(cp "/var/log/$foo" /ifs/data/Isilon_Support/DomainOfflineIssue/`hostname`.$foo);done'
8.) Upload all the data
isi_gather_info -n 1 --nologs -s "isi_hw_status -i" -f /ifs/data/Isilon_Support/DomainOfflineIssue
9.) Perform a full log gather
philippspohr, we have since moved from samba to a likewise implementation which is why those commands no longer work. We do not have an equivalent to smbd -V. For smbstatus you can run the following:
isi smb session list
isi smb file list
isi smb sessions list
isi smb openfiles list
We are having the exact same issue on OneFS Version 18.104.22.168 and have a ticket open with support since April. We have been classified as a bug for about a month, so its really interesting to see someone else with this issue.