Can Samba present a sorted file system to a Windows client?

Posted on 2008-11-19
Last Modified: 2013-12-02
We have an Isilon cluster that we use for file storage for Windows machines.  Isilon is using Samba to present to the Windows machines.  The problem we are having is with a software product we use.  To put it simply, the software imports files and stores them in a structured fashion.  If we import the files from a Windows file system, everything is fine.  If we import from our Isilon (Samba), the files are not sorted, they are actually all jumbled up.

Another example of this behavior is to execute the dir command from a Command Prompt.  On the Windows file system, the files are sorted as expected.  On the Isilon, jumbled up.

Is it possible to make Samba sort the files like the Windows file system, and if so, how?  This has to be something done on the Samba side.
Question by:jdigic
    LVL 68

    Accepted Solution

     as far as I read in samba developer areas at the net, samba doesn't care about directory sorting.
     It just ships directories in the readdir() order and doesn't even read them into memory.
     There were rumours that some person was going to write a 'sorting' patch,
     but I don't believe that this ever came to a happy ending.

    Author Closing Comment


    Expert Comment

    did you ever find a solution for this? can you order the files if you browse using explorer? thanks!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
    Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
    This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
    This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now