mountd doean`t start when ZFS is enabled.

Михаил Кипа msnkipa at mail.ru
Wed May 20 19:23:16 UTC 2009


> Perhaps there's no /etc/exports file?  While exporting shared zfs file  
> systems doesn't require this, it looks like /etc/rc.d/mountd requires  
> the file to be present.
> 
> 
> On May 19, 2009, at 2:33 PM, Zaphod Beeblebrox wrote:
> 
> > 2009/5/18 Михаил Кипа <msnkipa at mail.ru>
> >
> >> I have two servers with Identical FreeBSD7.2 system. On both I have  
> >> such
> >> config in /etc/rc.conf:
> >> rpcbind_enable="YES"
> >> rpc_lockd_enable="YES"
> >> rpc_statd_enable="YES"
> >> nfs_client_enable="YES"
> >> nfs_server_enable="YES"
> >> nfs_server_flags="-u -t -n 5 -h 192.168.x.y"
> >> mountd_flags="-r"
> >
> >
> > You might also want to post the result of zfs get all | grep sharenfs
> >
> > Mountd can be refusing to start if there are syntax errors in those
> > declarations.
> > _______________________________________________
> > freebsd-stable at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org 
> > "
> >
> 

OK, one more time, if I have only:
mountd_flags="-r"
there is probled tha I described. Mountd doesn`t start with error in logs:
mountd[855]: bindresvport_sa: Address already in use
What does it mean?! In other word how is it posible??? 
But if I have:
mountd_flags="-r -p 1000"
anything works well. All files (/etc/export, /etc/zfs/export) are present, there is no errors in them 
and config files.



More information about the freebsd-stable mailing list