2007-04-04 03:00:50

by NeilBrown

[permalink] [raw]
Subject: Re: RFC - NFS startup order

On Tuesday April 3, [email protected] wrote:
> On Tue, 03 Apr 2007, Neil Brown wrote:
>
> > 3.1. SERVER STARTUP
> >
> >
> > A/ mount -t nfsd /proc/fs/nfsd
> > This filesystem needs to be mount before most daemons,
> > particularly exportfs, mountd, svcgssd, idmapd.
> > It could be mounted once, or the script that starts each daemon
> > could test if it is mounted and mount it if not.
>
> mount -t rpc_pipefs /var/lib/nfs/rpc_pipefs
> This filesystem must be mounted before svcgssd and idmapd daemons.
>

Is rpc_pipefs really needed for svcgssd? or just for 'gssd' and
'idmapd'.

I gather that a SIGHUP to idmapd will cause it to open the serve
channels after they have been made available. It is also sufficient
to SIGHUP idmapd after mounting rpc_pipefs if rpc_pipefs is mounted
later for some reason?

Thanks,

NeilBrown

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2007-04-04 16:16:03

by Kevin Coffman

[permalink] [raw]
Subject: Re: RFC - NFS startup order

On 4/3/07, Neil Brown <[email protected]> wrote:
> On Tuesday April 3, [email protected] wrote:
> > On Tue, 03 Apr 2007, Neil Brown wrote:
> >
> > > 3.1. SERVER STARTUP
> > >
> > >
> > > A/ mount -t nfsd /proc/fs/nfsd
> > > This filesystem needs to be mount before most daemons,
> > > particularly exportfs, mountd, svcgssd, idmapd.
> > > It could be mounted once, or the script that starts each daemon
> > > could test if it is mounted and mount it if not.
> >
> > mount -t rpc_pipefs /var/lib/nfs/rpc_pipefs
> > This filesystem must be mounted before svcgssd and idmapd daemons.
> >
>
> Is rpc_pipefs really needed for svcgssd? or just for 'gssd' and
> 'idmapd'.

rpc_pipefs is not currently used in svcgssd.

> I gather that a SIGHUP to idmapd will cause it to open the serve
> channels after they have been made available. It is also sufficient
> to SIGHUP idmapd after mounting rpc_pipefs if rpc_pipefs is mounted
> later for some reason?

The short answer is no. The current sighup processing in idmapd only
attempts to open/reopen the server channels. (Probably only because
the "normal" system starts the NFS client first, and then the NFS
server.)

It is possible to start two instances of idmapd -- one servicing only
the client, and one servicing only the server.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs