Re: [cifs-discuss] casesensitivity mixed and CIFS
Hi John, Sorry, I didn't see your previous response. If you send me the test program and the network captures I'll take a look at it. Thanks Joyce On 04/21/10 03:35 PM, John John wrote: Hello Joyce, Have you had a chance to look at this case sensitivity issue? I provided the test application and have the network trace available if you need it. thanks, John -Original Message- From: cifs-discuss-boun...@opensolaris.org [mailto:cifs-discuss-boun...@opensolaris.org] On Behalf Of John Sent: Monday, April 19, 2010 3:31 PM To: cifs-discuss@opensolaris.org Subject: Re: [cifs-discuss] casesensitivity mixed and CIFS Hi Joyce, We cannot reproduce it with the 'dir' windows command either, because 'dir' issues a FIND_FIRST2 SMB command on the underlying path before requesting the file (QUERY_PATH_INFO). But you can do it with this small application, which just checks if a file exists (returns true or false). Here is how: First, let's assume there is a file named \\filer\arch\myfolder\myfile.TXT stored on the ZFS NAS. This file has *not* been accessed by a Windows client before. testcifs.exe \\filer\arch\myfolder\myfile.txt will fail. then testcifs.exe \\filer\arch\myfolder\myfile.TXT will work. then testcifs.exe \\filer\arch\myfolder\myfile.txt will work. I have a network trace I can send you directly if you want. Hi John, We have been trying to reproduce this in-house but have so far been unsuccessful. Would you mind providing us with binary network captures of each of the steps: 1. dir \\filer\arch\myfolder\myfile.TXT failing 2. dir \\filer\arch\myfolder\myfile.txt working 3. dir \\filer\arch\myfolder 4. dir \\filer\arch\myfolder\myfile.TXT working What version of Windows are you running on your client? Thanks Joyce On 04/15/10 07:58 AM, John wrote: Thanks Alan for the reply. Could you explain how lookuppnvp is being used exactly? The behavior I am describing is intermittent somewhat. We are trying to narrow down what's happening. Direct access to a file for the first time from a client seems to be case sensitive. Example: dir \\filer\arch\myfolder\myfile.TXT fails. dir \\filer\arch\myfolder\myfile.txt works. As soon as you issue dir \\filer\arch\myfolder\, the case sensitivity goes away and dir \\filer\arch\myfolder\myfile.TXT starts working. ___ cifs-discuss mailing list cifs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/cifs-disc uss -- This message posted from opensolaris.org ___ cifs-discuss mailing list cifs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
Re: [cifs-discuss] casesensitivity mixed and CIFS
Thanks Alan for the reply. Could you explain how lookuppnvp is being used exactly? The behavior I am describing is intermittent somewhat. We are trying to narrow down what's happening. Direct access to a file for the first time from a client seems to be case sensitive. Example: dir \\filer\arch\myfolder\myfile.TXT fails. dir \\filer\arch\myfolder\myfile.txt works. As soon as you issue dir \\filer\arch\myfolder\, the case sensitivity goes away and dir \\filer\arch\myfolder\myfile.TXT starts working. I suspect that's due to lookuppnvp's lack of support for case-insensitive path reduction, which has been on the to-do list for some time but not as a high priority. Is this something that is a likely occurrence in your environment or is it just a curiosity that you tripped over? If you cd to arch on a mapped share, can you then cd into MYFOLDER? Alan John wrote: Hello, we set our ZFS filesystems to casesensitivity=mixed when we created them. However, CIFS access to these files is still case sensitive. Here is the configuration: # zfs get casesensitivity pool003/arch NAME PROPERTY VALUE SOURCE 03/arch casesensitivity mixed- # At the pool level it's set as follows: # zfs get casesensitivity pool003 NAME PROPERTY VALUESOURCE pool003 casesensitivity sensitive- # From a Windows client, accessing \\filer\arch\MYFOLDER\myfile.txt fails, while accessing \\filer\arch\myfolder\myfile.txt works. Any ideas? We are running snv_130. ___ cifs-discuss mailing list cifs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/cifs-disc uss -- This message posted from opensolaris.org ___ cifs-discuss mailing list cifs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
Re: [cifs-discuss] casesensitivity mixed and CIFS
Hi John, We have been trying to reproduce this in-house but have so far been unsuccessful. Would you mind providing us with binary network captures of each of the steps: 1. dir \\filer\arch\myfolder\myfile.TXT failing 2. dir \\filer\arch\myfolder\myfile.txt working 3. dir \\filer\arch\myfolder 4. dir \\filer\arch\myfolder\myfile.TXT working What version of Windows are you running on your client? Thanks Joyce On 04/15/10 07:58 AM, John wrote: Thanks Alan for the reply. Could you explain how lookuppnvp is being used exactly? The behavior I am describing is intermittent somewhat. We are trying to narrow down what's happening. Direct access to a file for the first time from a client seems to be case sensitive. Example: dir \\filer\arch\myfolder\myfile.TXT fails. dir \\filer\arch\myfolder\myfile.txt works. As soon as you issue dir \\filer\arch\myfolder\, the case sensitivity goes away and dir \\filer\arch\myfolder\myfile.TXT starts working. ___ cifs-discuss mailing list cifs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/cifs-discuss