Re: [Samba] SOLVED was Re: Any ESRI users? Upgrade 3.0.14 to 3.0.21a broke Arcmap layer loading?

2006-01-31 Thread Jeremy Allison
On Tue, Jan 31, 2006 at 08:54:43PM -0500, Elizabeth Schwartz wrote:
> 
> Thanks for the headsup! I've been reading about oplocks (including the
> HOWTO) and it sounds like we don't need 'em. If I understand the HOWTO
> correctly, they don't sound like the world's greatest idea. Our network is
> reasonably fast and our user applications aren't moving tons of data back
> and forth. It's still puzzling me why oplocks are even *in* this picture
> since the ESRI applications should be opening files read-only, but maybe
> they aren't.
> 
> I *am* wondering why the default setting for oplocks is on, when they sound
> somewhat risky. Do some Microsoft applications take it ill if they aren't
> available?

No, but some Microsoft applications have *very* poor performance
if they're not there. They aggregate system calls for bad programmers.
Want to read a file a block at a time, then re-open it and read the next
data block then close and do it again ? Some Microsoft apps (old versions
of Office) do this.

UNIX programmers learn early on to use aggregate functions to avoid
system calls, as the cost of too many of them becomes apparent. oplocks
hide that inside a clever redirector so Windows programmers never have
to learn this lesson unless they want to.

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] SOLVED was Re: Any ESRI users? Upgrade 3.0.14 to 3.0.21a broke Arcmap layer loading?

2006-01-31 Thread Elizabeth Schwartz
On 1/30/06, Jeremy Allison <[EMAIL PROTECTED]> wrote:

> We discovered an oplock logic bug in 3.0.21a which we'll be fixing in
> 3.0.21b. You might want to try turning them on again if you upgrade.


Thanks for the headsup! I've been reading about oplocks (including the
HOWTO) and it sounds like we don't need 'em. If I understand the HOWTO
correctly, they don't sound like the world's greatest idea. Our network is
reasonably fast and our user applications aren't moving tons of data back
and forth. It's still puzzling me why oplocks are even *in* this picture
since the ESRI applications should be opening files read-only, but maybe
they aren't.

I *am* wondering why the default setting for oplocks is on, when they sound
somewhat risky. Do some Microsoft applications take it ill if they aren't
available?

thanks again
Betsy
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] SOLVED was Re: Any ESRI users? Upgrade 3.0.14 to 3.0.21a broke Arcmap layer loading?

2006-01-30 Thread Jeremy Allison
On Mon, Jan 30, 2006 at 09:07:49AM -0500, Elizabeth Schwartz wrote:
> Did not hear from anyone on this, so maybe we are the only ESRI users who
> got bit, but this turned out to be an issue with oplocks. Disabling oplocks
> on the server eliminated the problem.

We discovered an oplock logic bug in 3.0.21a which we'll be fixing in
3.0.21b. You might want to try turning them on again if you upgrade.

Thanks,

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] SOLVED was Re: Any ESRI users? Upgrade 3.0.14 to 3.0.21a broke Arcmap layer loading?

2006-01-30 Thread Elizabeth Schwartz
Did not hear from anyone on this, so maybe we are the only ESRI users who
got bit, but this turned out to be an issue with oplocks. Disabling oplocks
on the server eliminated the problem.

On 1/27/06, Elizabeth Schwartz <[EMAIL PROTECTED]> wrote:
>
> We just upgraded our samba server from 3.0.14 to 3.0.21a and have
> discovered a subtle but very painful problem.
> Users of ESRI ArcMap (on fully patched Windows XP clients) are unable to
> read complex layered file data.
>
> Arcmap works fine with 3.0.14, it works fine with the data on a windows
> share, and it works fine when I set up a server to run the version of samba
> shipping with Solaris 9 (3.0.2! ). But, I really don't want to downgrade
> the primary file server to one of these old versions. The data also works
> fine if it is copied back from the Samba server to a local disk.
>
> The problem as I understand it is that ArcMap loads ".lyr" and ".mxd"
> files which in turn contain metadata that references multiple other files.
> When these secondary files are loaded from the Samba 3.0.21a server, they
> are opened but not fully read - the database files show empty fields, the
> maps show partial images, etc. To quote our GIS guy: "arcmap documents that
> have nested layer references to data on SAMBA, and also compressed shape
> (.sdc) files such as are included on the esri maps and data cds (if they
> happen to be on aSAMBA share, either cause arcmap to crash, or appear in the
> table of contents as layers that have no records."
>
> The windows XP event viewer shows an error when this happens:
> MRxSmb  Description: The redirector failed to determine the connection
> type
> http://support.microsoft.com/kb/315244/
>
>  I'm not seeing any particular errors on the server side  (although I am
> getting some of these: https://bugzilla.samba.org/show_bug.cgi?id=3346 
> i'll be glad to see
> 3.0.21b)
>
> ESRI claims to have no knowledge of the problem, and since their software
> works OK with other Samba versions they feel it isn't at their end.
>
> Are there other ArcMap users here? Any thoughts on what to pursue next?
> (other than installing 3.0.21b at the first opportunity)
>
> thanks Betsy
>
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba