NFSv4 console messages (locks lost etc.)

Rick Macklem rmacklem at uoguelph.ca
Mon Jul 1 21:00:58 UTC 2013


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"
> 


More information about the freebsd-current mailing list