From owner-freebsd-questions@FreeBSD.ORG Mon Nov 19 18:29:09 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D32616A468 for ; Mon, 19 Nov 2007 18:29:09 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep12-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id 6A7DC13C467 for ; Mon, 19 Nov 2007 18:29:07 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from [192.168.1.104] (really [80.99.119.201]) by viefep12-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20071119182906.OUNE19858.viefep12-int.chello.at@[192.168.1.104]>; Mon, 19 Nov 2007 19:29:06 +0100 Message-ID: <4741D5EF.7010509@shopzeus.com> Date: Mon, 19 Nov 2007 19:29:03 +0100 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: jamesh@lanl.gov, freebsd-questions@freebsd.org References: <4741C8E5.4020201@shopzeus.com> <1195495266.6886.17.camel@p25dual1.lanl.gov> In-Reply-To: <1195495266.6886.17.camel@p25dual1.lanl.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: mount -u -o rw / not working on NFS? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 18:29:09 -0000 >> diskless101#mkdir /aaa >> mkdir aaa: Read-only file system >> >> Question: if the remount did not succeed, why didn't it throw an error? If succeeded, why can't I write on the filesystem? >> >> > > The answer to the second portion is that you're mounted as a read only > file system, so there's no write access. > You were right. Actually I had /etc/exports file setup correctly, but I forgot to invoke "killall -HUP mountd" after the last change. My bad. :-( But... I'm still interested in the first portion. Why didn't I get an error message if the nfs share was read-only? > There's an nfs permissions file you may need to edit, /etc/exports/, > which controls whether NFS shares the file system as read only, read > write, whether root can have root on the file system etc. > The case is solved, but I still have this question. :-) Thanks, Laszlo