[CentOS] OT? File order on CentOS/Samba server -- SOLVED (kind of...)

Sat Jan 24 01:11:21 UTC 2009
Filipe Brandenburger <filbranden at gmail.com>

Hi,

On Fri, Jan 23, 2009 at 15:29, Miguel Medalha <miguelmedalha at sapo.pt> wrote:
> I am now almost certain that dir_index will solve the problem. I already
> remotely did fsck -fD to that filesystem.

I don't really think so... I believe dir_index is the default, your
filesystem was probably already created with the dir_index option, and
yet your files are out of order. Looking at the man page, it's sorted
by the hash of the filename. The purpose is not to present you the
files in order, but to make it quicker to open a file in a directory
with a huge number of files.

> Now I will have to wait for monday to do the Distiller stuff.

You don't necessarily have to wait to see what the Distiller would do.
"ls -U" shows the files unsorted, in the directory order, that is
probably the order in which the Distiller is using them.

HTH,
Filipe