Re: NFSv4 console messages (locks lost etc.)

From: Rick Macklem <rmacklem_at_uoguelph.ca>
Date: Mon, 1 Jul 2013 17:00:50 -0400 (EDT)
Lars Eggert wrote:
> Hi,
> 
> On Jun 29, 2013, at 2:45, Rick Macklem <rmacklem_at_uoguelph.ca> wrote:
> > Btw, a NFSv4 mounted root fs will not work correctly, because the
> > client
> > name is generated from the host uuid, which isn't set when the root
> > fs
> > is mounted. I'm not sure what the client would use as its client
> > name,
> > but this will definitely break things badly if multiple clients use
> > the
> > same name. (And this might explain the lease expiry problem.)
> 
> ah, now that explains a lot. Since these are diskless clients, I had
> set hostid_enable="NO" in order to turn off the "/etc/rc: WARNING:
> could not store hostuuid in /etc/hostid" warning.
> 
> Turning this back on seems to have fixed the issue.
> 
> (It might make sense to have the NFSv4 code throw a warning when the
> hostid isn't set, if it depends on it?)
> 
Yes, good suggestion. I wasn't aware there was a "hostid_enable=NO" option.

Good to hear it is resolved, rick

> Thanks,
> Lars
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe_at_freebsd.org"
> 
Received on Mon Jul 01 2013 - 19:00:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:39 UTC