All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [ANNOUNCE] autofs 5.0.0 beta1
@ 2006-05-04 11:16 Rigler, Stephen C.
  2006-05-04 12:29 ` Ian Kent
  0 siblings, 1 reply; 25+ messages in thread
From: Rigler, Stephen C. @ 2006-05-04 11:16 UTC (permalink / raw)
  To: autofs mailing list

I have it installed on one FC5 machine running the vanilla 2.6.16.12
kernel
patched with the autofs4-2.6.16-v5 patch.

Operationally everything seems good so far.  I like how the direct
mounts
are ghosted (which is consistent behavior with the other unixes we run).

The only issue I had was with parsing of auto.master.  We get our
auto.master
from NIS and automount didn't seem to want to parse it even when
specifying
"+auto.master" in /etc/auto.master.  I ended up ypcat'ing auto.master
into
the local file and it now handles all of our maps.

-Steve


> -----Original Message-----
> From: autofs-bounces@linux.kernel.org 
> [mailto:autofs-bounces@linux.kernel.org] On Behalf Of Ian Kent
> Sent: Tuesday, May 02, 2006 10:35 AM
> To: autofs mailing list
> Cc: linux-fsdevel
> Subject: [autofs] [ANNOUNCE] autofs 5.0.0 beta1
> 
> 
> Hi all,
> 
> I've finally got to a point where I can release a beta of
> autofs 5.0.0.
> 
> I would really appreciate some real world testing of this
> so I hope some of you are able to help.
> 
> Feedback is welcome.
> 
> autofs
> ======
> 
> For the moment the package can be found at:
> 
> ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4
> 
> It is autofs-5.0.0_beta1.tar.[gz|bz2]
> 
> No source rpm is there as it can be produced by using:
> 
> rpmbuild -ts autofs-5.0.0_beta1.tar.gz
> 
> and the binary rpm by using:
> 
> rpmbuild -tb autofs-5.0.0_beta1.tar.gz
> 
> See the INSTALL file for information about configure options and
> kernel requirements.
> 
> I have no way to test the Gentoo portage build and the build
> files will need to be modified for beta1. It would be great
> if someone could get this working and forward a patch before
> the final release.
> 
> Here is the README.v5.release which outlines the changes:
> 
> autofs-5.0.0 beta1 release notes
> ================================
> 
> Differences between version 4 and version 5.
> 
> - Master map is now read and parsed by the `automount' daemon
>   - the parameters for the `automount' daemon are now very different.
>     See automount(8).
> 
> - The `automount' daemon is now a multi-threaded application and so
>   appears as a single process (unless a thread process display option
>   is used).
> 
> - `autofs' filesystem mounts only appear in /proc/mounts and not
>   /etc/mtab. If you have a large number of entries in a direct mount
>   map and link /etc/mtab to /proc/mounts you may see performance
>   degradation.
> 
> - `autofs' version 5.0.0 will refuse to run if it cannot find an
>    autofs4 kernel module that supports protocol version 5.00 or above.
> 
> New in 5.0.0 is:
> 
> - improved direct mount map support
>   - single level map entries now work as expected.
>   - top level directory of direct mount heirachy no longer obscurses
>     directory tree below.
> 
> - `+' map inclusion
>   - maps preceded by a `+' in file maps may now be included inline.
>   - implemented for the master map and mount maps.
> 
> - added nsswitch map source support
>   - is now used to locate maps if no map source is given in their
>     specification.
>   - is used for bothe master map and mount maps.
> 
> - rewrote multi-mount map code
>   - multi-mount map entry offsets now mount and expire indpendently
>     instead of having to mount and umount all offset entries at once.
> 
> - added LDAP encryption and authentication support
>   - needs to be enabled using a configure option.
>   - a configuration file specifies whether encryption and 
> authentication
>     is to be used (see INSTALL and auto.master(5) for more 
> information).
> 
> - improved shutdown and restart
>   - needs to be enabled using a configure option.
>   - see INSTALL for more information.
> 
> - a "hosts" map module has been added
>   - an entry like "/net -hosts" is now understood and uses the new
>     multi-mount semantics for lazy mount/umount of exports 
> from the host.
>   - the implementation is quite simple minded at this stage 
> and will need
>     refinment. It just iterates through the host table and 
> addes any host
>     names it finds to the internal map.
> 
> Things not yet done
> ===================
> 
> - I have no way to test the Gentoo setup here anymore so it is unlikey
>   to work. Patches from anyone who needs this are welcome.
> 
> - the underscore to dot translation has not been added yet.
> 
> - there's a problen with the calcuation of the best host in replicated
>   server selection.
> 
> - all the things I've broken and not re-tested after further 
> development!
> 
> 
> Ian
> 
> 
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs
> 
> 
> 

^ permalink raw reply	[flat|nested] 25+ messages in thread
* RE: [ANNOUNCE] autofs 5.0.0 beta1
@ 2006-05-08 11:51 Rigler, Stephen C.
  2006-05-09 10:51 ` Ian Kent
  0 siblings, 1 reply; 25+ messages in thread
From: Rigler, Stephen C. @ 2006-05-08 11:51 UTC (permalink / raw)
  To: Ian Kent; +Cc: autofs mailing list


> -----Original Message-----
> From: Ian Kent [mailto:raven@themaw.net] 
> Sent: Thursday, May 04, 2006 8:38 PM
> To: Rigler, Stephen C.
> Cc: Jeff Moyer; autofs mailing list
> Subject: RE: [autofs] [ANNOUNCE] autofs 5.0.0 beta1
> 
> > Another nice thing to see would be the "-null" option in 
> auto.master.
> > We have machines running clustered filesystems that are also
> > exported via NFS from one or two meta-data servers.  The machines
> > that see the filesystems locally should not automount the fileystems
> > and the "-null" would allow us to exclude them.
> 
> It should understand "-null" but the question is whether it works 
> correctly and how it should work. Give a try and let me know 
> how it goes.
> 
> What would you have in your map in this case?
> 
> Ian

"-null" seems to be working fine.

In my case, my /etc/auto.master has "+yp:auto.master" and then
"/somepath -null" to exclude an indirect mount or "/some/path -null"
to exclude a direct mount.  This is the inverse of the Solaris and
Irix boxes we handle where the "+auto.master" is the last line in
the local file.  I have not tried it with an actual filesystem 
mounted at the mountpoint I'm excluding.

The only inconsistency I've noticed if I remove the "-null" from
an indirect mount I need to restart automount (reload doesn't seem
to pick it back up).  "Reload" does work when I remove the "-null"
from a direct mount.

-Steve

^ permalink raw reply	[flat|nested] 25+ messages in thread
* RE: [ANNOUNCE] autofs 5.0.0 beta1
@ 2006-05-04 17:29 Rigler, Stephen C.
  2006-05-04 18:03 ` Jeff Moyer
  2006-05-05  1:37 ` Ian Kent
  0 siblings, 2 replies; 25+ messages in thread
From: Rigler, Stephen C. @ 2006-05-04 17:29 UTC (permalink / raw)
  To: Jeff Moyer, Ian Kent; +Cc: autofs mailing list


> -----Original Message-----
> From: Jeff Moyer [mailto:jmoyer@redhat.com] 
> Sent: Thursday, May 04, 2006 8:56 AM
> To: Ian Kent
> Cc: Rigler, Stephen C.; autofs mailing list
> Subject: Re: [autofs] [ANNOUNCE] autofs 5.0.0 beta1
> 
> raven> and /etc/auto.master exists with a +auto.master it 
> will probably get
> raven> it wrong in a strange way. Maybe that's what is happening?
> 
> Yeah, I think this is the one exception to the nsswitch rule. 
>  I wonder if
> it's the same if you have /etc/auto.foo that does a +auto.foo?  May be
> worth testing that out on another UNIX box to see what happens.
> 
> -Jeff
> 

Pretty much standard configuration here on Solaris and Irix is
to have "automount: files nis" in nsswitch.conf and "+auto.master"
in the local auto_master file.  I'm not aware if this is what
the standard automount behavior should be (it's documented in the
Irix man page for autofs), but we've gotten away with it for years 
if it's not.

Another nice thing to see would be the "-null" option in auto.master.
We have machines running clustered filesystems that are also
exported via NFS from one or two meta-data servers.  The machines
that see the filesystems locally should not automount the fileystems
and the "-null" would allow us to exclude them.

-Steve

^ permalink raw reply	[flat|nested] 25+ messages in thread
* RE: [ANNOUNCE] autofs 5.0.0 beta1
@ 2006-05-04 13:08 Rigler, Stephen C.
  2006-05-04 13:57 ` Jeff Moyer
  0 siblings, 1 reply; 25+ messages in thread
From: Rigler, Stephen C. @ 2006-05-04 13:08 UTC (permalink / raw)
  To: Ian Kent; +Cc: autofs mailing list

 

> -----Original Message-----
> From: Ian Kent [mailto:raven@themaw.net] 
> Sent: Thursday, May 04, 2006 7:29 AM
> To: Rigler, Stephen C.
> Cc: autofs mailing list
> Subject: RE: [autofs] [ANNOUNCE] autofs 5.0.0 beta1
> 
> What do you have in the nsswitch.conf automount: entry?

I had "automount: files nis"

> 
> You probably already know this but ...
> 
> The default master map is /etc/auto.master but that can be changed by 
> setting DEFAULT_MASTER_MAP_NAME in the config or giving it on 
> the command 
> line for automount.
> 
> Setting
> 
> DEFAULT_MASTER_MAP_NAME=auto.master
> 
> and
> 
> automount: nis
> 
> should do the trick.
> 
> However if you had
> 
> automount: files nis
> 

So far, the combination that's worked is only specifying "nis"
in nsswitch.conf and changing "DEFAULT_MASTER_MAP_NAME" to
"auto.master".  What's logged in messages when I use any other
combination is "master_read_master: no mounts in table".

-Steve

^ permalink raw reply	[flat|nested] 25+ messages in thread
* [ANNOUNCE] autofs 5.0.0 beta1
@ 2006-05-02 15:35 Ian Kent
  2006-05-02 17:33 ` Steinar H. Gunderson
  2006-05-03 13:16 ` Moshe Kaminsky
  0 siblings, 2 replies; 25+ messages in thread
From: Ian Kent @ 2006-05-02 15:35 UTC (permalink / raw)
  To: autofs mailing list; +Cc: linux-fsdevel


Hi all,

I've finally got to a point where I can release a beta of
autofs 5.0.0.

I would really appreciate some real world testing of this
so I hope some of you are able to help.

Feedback is welcome.

autofs
======

For the moment the package can be found at:

ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4

It is autofs-5.0.0_beta1.tar.[gz|bz2]

No source rpm is there as it can be produced by using:

rpmbuild -ts autofs-5.0.0_beta1.tar.gz

and the binary rpm by using:

rpmbuild -tb autofs-5.0.0_beta1.tar.gz

See the INSTALL file for information about configure options and
kernel requirements.

I have no way to test the Gentoo portage build and the build
files will need to be modified for beta1. It would be great
if someone could get this working and forward a patch before
the final release.

Here is the README.v5.release which outlines the changes:

autofs-5.0.0 beta1 release notes
================================

Differences between version 4 and version 5.

- Master map is now read and parsed by the `automount' daemon
  - the parameters for the `automount' daemon are now very different.
    See automount(8).

- The `automount' daemon is now a multi-threaded application and so
  appears as a single process (unless a thread process display option
  is used).

- `autofs' filesystem mounts only appear in /proc/mounts and not
  /etc/mtab. If you have a large number of entries in a direct mount
  map and link /etc/mtab to /proc/mounts you may see performance
  degradation.

- `autofs' version 5.0.0 will refuse to run if it cannot find an
   autofs4 kernel module that supports protocol version 5.00 or above.

New in 5.0.0 is:

- improved direct mount map support
  - single level map entries now work as expected.
  - top level directory of direct mount heirachy no longer obscurses
    directory tree below.

- `+' map inclusion
  - maps preceded by a `+' in file maps may now be included inline.
  - implemented for the master map and mount maps.

- added nsswitch map source support
  - is now used to locate maps if no map source is given in their
    specification.
  - is used for bothe master map and mount maps.

- rewrote multi-mount map code
  - multi-mount map entry offsets now mount and expire indpendently
    instead of having to mount and umount all offset entries at once.

- added LDAP encryption and authentication support
  - needs to be enabled using a configure option.
  - a configuration file specifies whether encryption and authentication
    is to be used (see INSTALL and auto.master(5) for more information).

- improved shutdown and restart
  - needs to be enabled using a configure option.
  - see INSTALL for more information.

- a "hosts" map module has been added
  - an entry like "/net -hosts" is now understood and uses the new
    multi-mount semantics for lazy mount/umount of exports from the host.
  - the implementation is quite simple minded at this stage and will need
    refinment. It just iterates through the host table and addes any host
    names it finds to the internal map.

Things not yet done
===================

- I have no way to test the Gentoo setup here anymore so it is unlikey
  to work. Patches from anyone who needs this are welcome.

- the underscore to dot translation has not been added yet.

- there's a problen with the calcuation of the best host in replicated
  server selection.

- all the things I've broken and not re-tested after further development!


Ian



^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2006-05-09 10:51 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-04 11:16 [ANNOUNCE] autofs 5.0.0 beta1 Rigler, Stephen C.
2006-05-04 12:29 ` Ian Kent
2006-05-04 13:56   ` Jeff Moyer
  -- strict thread matches above, loose matches on Subject: below --
2006-05-08 11:51 Rigler, Stephen C.
2006-05-09 10:51 ` Ian Kent
2006-05-04 17:29 Rigler, Stephen C.
2006-05-04 18:03 ` Jeff Moyer
2006-05-05  1:37 ` Ian Kent
2006-05-04 13:08 Rigler, Stephen C.
2006-05-04 13:57 ` Jeff Moyer
2006-05-02 15:35 Ian Kent
2006-05-02 17:33 ` Steinar H. Gunderson
2006-05-03  1:26   ` Ian Kent
2006-05-03 13:16 ` Moshe Kaminsky
2006-05-03 14:48   ` Ian Kent
2006-05-03 16:55     ` Moshe Kaminsky
2006-05-03 17:30       ` Ian Kent
2006-05-04 17:33         ` Moshe Kaminsky
2006-05-05  1:32           ` Ian Kent
2006-05-03 15:15   ` Ian Kent
2006-05-03 16:58     ` Moshe Kaminsky
2006-05-03 15:58   ` Ian Kent
2006-05-03 17:00     ` Moshe Kaminsky
2006-05-03 17:56       ` Ian Kent
2006-05-04 17:28         ` Moshe Kaminsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.