Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2012 21:07:17 +0000 (UTC)
From:      Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: mountd suddenly stopped working
Message-ID:  <jsnpq4$ajp$1@dough.gmane.org>
References:  <jsn0dh$b6i$1@dough.gmane.org> <op.wgpzhsdm8527sy@pinky>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 30 Jun 2012 16:21:18 +0200, Ronald Klop wrote:

> On Sat, 30 Jun 2012 15:53:53 +0200, Marcin Wisnicki
> <mwisnicki+freebsd@gmail.com> wrote:
> 
>> I have just rebooted an old system after 100 days of uptime and this
>> came up:
>>
>> Jun 30 15:39:00 ghost mountd[1592]: can't change attributes for
>> /tftpboot Jun 30 15:39:00 ghost mountd[1592]: bad exports list line
>> /tftpboot -ro -mapall
>>
> 
> Than probably somebody changed something else. Can you provide the
> content of your exports file?
> 

OK, I've found the reason.

There were two paths exported with same attributes:

/tftpboot -ro -mapall=nobody
/vol/tank1 -ro -mapall=nobody

As long as there is a filesystem mounted on /vol/tank1, above exports
will work. Since I've disconnected that drive, there was nothing mounted
this time.

Apparently mountd does not allow exporting multiple paths from a single
filesystem on separate lines if they happen to have identical attributes.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jsnpq4$ajp$1>