Michael Gasch | 1 Aug 2006 09:17
Picon

[questions] aio settings in smb.conf and compile options

hi,

i just have some questions about specific (uncommon) compile options and 
aio-settings in smb.conf:

Asynchronous IO Support
=======================

"Experimental support for async IO has been added to smbd for
certain platforms.  To enable this new feature, Samba must be
compiled to include the --with-aio-support configure option.
In addition, the "aio read size" and "aio write size" to non-zero
values.  See the smb.conf(5) man page for more details on these
settings.

unfortunately i can´t find any documentation about this although it has 
been in the code since a while."

Compile Options - what means/provides (more detailed please) ... ?
==================================================================
--with-cluster-support
--with-automount

BIG THX!!!!!!

btw: what happened to john? is he still an active member of the samba 
team, ´cause i did not see any posts on the list for example?!?!
--

-- 
Michael Gasch
Max Planck Institute for Evolutionary Anthropology
(Continue reading)

Jeremy Allison | 1 Aug 2006 17:36
Picon
Favicon

Re: [questions] aio settings in smb.conf and compile options

On Tue, Aug 01, 2006 at 09:17:04AM +0200, Michael Gasch wrote:
> hi,
> 
> i just have some questions about specific (uncommon) compile options and 
> aio-settings in smb.conf:
> 
> Asynchronous IO Support
> =======================
> 
> "Experimental support for async IO has been added to smbd for
> certain platforms.  To enable this new feature, Samba must be
> compiled to include the --with-aio-support configure option.
> In addition, the "aio read size" and "aio write size" to non-zero
> values.  See the smb.conf(5) man page for more details on these
> settings.
> 
> unfortunately i can´t find any documentation about this although it has 
> been in the code since a while."

Compile with --with-aio-support to enable this. Look in the source
code smbd/aio.c. I haven't documented the parameters yet (thanks
for the reminder, I'll try and get this done soon). They are :

aio read size = <bytes>
aio write size = <bytes>
aio write behind = <true|false>

Any reads/writes over <bytes> will be done via aio. It hasn't
been turned on fully yet as some Linux's fake aio support using
pthreads which makes smbd *slower* :-(. Kernel support for aio
(Continue reading)

Michael Gasch | 1 Aug 2006 20:52
Picon

Re: [questions] aio settings in smb.conf and compile options

thx to jeremy and volker for your quick and detailed response (as usual)...

if someone has any explanation for "--with-automount" i would appreciate 
this as well :)

i'm just trying to explore samba features i recognized but often can't 
interpret there meaning.

 <at> jeremy
looks like you took over john's part since you seem to be more present 
on the list than before :-D (could be too much imagition, though)

cheerz
--

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

Jeremy Allison | 1 Aug 2006 21:19
Picon
Favicon

Re: [questions] aio settings in smb.conf and compile options

On Tue, Aug 01, 2006 at 08:52:27PM +0200, Michael Gasch wrote:
> 
>  <at> jeremy
> looks like you took over john's part since you seem to be more present 
> on the list than before :-D (could be too much imagition, though)

Nah, no one can replace John :-). I'm just trying to keep answering
questions as usual (modulo working for a living :-).

Jeremy.
--

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

simo | 1 Aug 2006 21:05
Picon
Favicon

Re: [questions] aio settings in smb.conf and compile options

IIRC --with-automount should automount the home directory when a user
steps in.

Simo.

On Tue, 2006-08-01 at 20:52 +0200, Michael Gasch wrote:
> thx to jeremy and volker for your quick and detailed response (as usual)...
> 
> if someone has any explanation for "--with-automount" i would appreciate 
> this as well :)
> 
> i'm just trying to explore samba features i recognized but often can't 
> interpret there meaning.
> 
>  <at> jeremy
> looks like you took over john's part since you seem to be more present 
> on the list than before :-D (could be too much imagition, though)
> 
> 
> cheerz
-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra <at> samba.org
http://samba.org

--

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

(Continue reading)

Volker Lendecke | 1 Aug 2006 21:20
Picon
Favicon

Re: [questions] aio settings in smb.conf and compile options

On Tue, Aug 01, 2006 at 03:05:06PM -0400, simo wrote:
> IIRC --with-automount should automount the home directory when a user
> steps in.

I'm afraid, this is not what it does. man smb.conf says

       %N     the name of your NIS home directory  server. This
              is  obtained  from  your NIS auto.map entry. If you
              have not compiled Samba with the --with-automount
              option then this value will be the same as %.

Looking at the code it also needs the undocumented parameter
'nis home map' to be true.

Volker
--

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
simo | 1 Aug 2006 21:36
Picon
Favicon

Re: [questions] aio settings in smb.conf and compile options

On Tue, 2006-08-01 at 21:20 +0200, Volker Lendecke wrote:
> On Tue, Aug 01, 2006 at 03:05:06PM -0400, simo wrote:
> > IIRC --with-automount should automount the home directory when a user
> > steps in.
> 
> I'm afraid, this is not what it does. man smb.conf says
> 
>        %N     the name of your NIS home directory  server. This
>               is  obtained  from  your NIS auto.map entry. If you
>               have not compiled Samba with the --with-automount
>               option then this value will be the same as %.
> 
> Looking at the code it also needs the undocumented parameter
> 'nis home map' to be true.

Right,
reading the code it also looks up where your NIS home directory is using
yp calls when %p is used.

This configure option name is really misleading imo.
Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra <at> samba.org
http://samba.org

--

-- 
To unsubscribe from this list go to the following URL and read the
(Continue reading)

Volker Lendecke | 1 Aug 2006 09:27
Picon
Favicon

Re: [questions] aio settings in smb.conf and compile options

On Tue, Aug 01, 2006 at 09:17:04AM +0200, Michael Gasch wrote:
> --with-cluster-support

That's an option to later enable all cluster features that
we're working on. If you are interested in the current (VERY
experimental) state of affairs look at the vl-messaging
temporary svn branch.

The idea is that with a clustered file system like GFS,
OCFS, GPFS or some others you will be able to share the same
file space transparently from all cluster nodes and have
locking working properly. Right now we are discussing and
designing ways to make the experimental support for that
robust so that we don't depend on a single point of failure.

Volker
--

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

Gmane