Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2009 11:22:46 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Kris Kennaway <kris@FreeBSD.org>
Cc:        FreeBSD Current <freebsd-current@FreeBSD.org>, Pawel Jakub Dawidek <pjd@FreeBSD.org>, Kip Macy <kmacy@FreeBSD.org>
Subject:   Re: destroyed NFS exported filesystems not removed from /etc/zfs/exports
Message-ID:  <Pine.GSO.4.63.0906171118170.11250@muncher.cs.uoguelph.ca>
In-Reply-To: <4A38C92F.7050809@FreeBSD.org>
References:  <4A38C92F.7050809@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 17 Jun 2009, Kris Kennaway wrote:

> mountd was failing to start after an upgrade, with lots of log entries like:
>
> Jun 17 10:19:22 <daemon.err> pointyhat mountd[855]: bad exports list line 
> /a/portbuild/i386/20090421213917
> Jun 17 10:19:22 <daemon.err> pointyhat mountd[855]: bad exports list line 
> /a/portbuild/i386/7-exp/builds/20090422073914/src
> Jun 17 10:19:22 <daemon.err> pointyhat mountd[855]: bad exports list line 
> /a/portbuild/i386/8-exp/builds/20080814181849/ports
>
> These came from /etc/zfs/exports, and refer to filesystems that used to exist 
> & were exported, but which have been destroyed.  These were not cleaned up at 
> destroy time.
>
> zfs unshare -a didn't clean this file up either, I had to remove it and 
> recreate.
>
> Also, mountd was treating these as fatal errors at runtime and failing to 
> start.  I think this is a recent change in mountd, since this used to work 
> even with the stale entries (the 200808 filesystem was destroyed in 2008, and 
> mountd has started correctly after numerous reboots until the upgrade I just 
> did from a May 9 world+kernel).
>
Well, the most recent change pre-May 9 done to mountd.c was on Nov. 3. It
involved adding security flavors to the exports.
(http://svn.freebsd.org/viewc/base/ is your friend:-)

I can't think of how that might have broken things, but I don't know
diddly about zfs.

rick




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.63.0906171118170.11250>