From: Kapeller Rene PSI Subject: Re: take away nfs write permissions instantly Date: Fri, 21 Jun 2002 05:47:25 +0200 Sender: nfs-admin@lists.sourceforge.net Message-ID: <3D12A1CD.8040502@psi.ch> References: <3D11B0FF.8030008@psi.ch> <15634.38625.279876.874050@notabene.cse.unsw.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Cc: nfs@lists.sourceforge.net Return-path: Received: from psi11.psi.ch ([129.129.190.111]) by usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17LFOb-0006J6-00 for ; Thu, 20 Jun 2002 20:47:37 -0700 To: Neil Brown Errors-To: nfs-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Unsubscribe: , List-Archive: Neil Brown wrote: > On Thursday June 20, rene.kapeller@psi.ch wrote: > >>Can anyone help me on the following problem: >> >>In order to take away nfs write permissions instantly for a previously >>mounted >>nfs directory called '/data', I'm changing the export options for '/data' >>on the server to 'ro', while keeping the mount on the client. >> >>exportfs -io ro,sync,wdelay,no_root_squash nfsclient:/data > > ^^^^^^^^^ > >>exportfs -v >>/data nfsserver(ro,wdelay,no_root_squash) > > ^^^^^^^^^ > > Presumably both should read "nfsclient" - yes? > > This should work. > > What version of nfs-utils are you using?? (showmount -v) > > What does /proc/fs/nfs/exports say for nfsclient after you try to > re-export it? > > Can you give more details? What is in /etc/exports that relates to > the client (is it a wildcard export, a netgroup export...).. > > NeilBrown To be precise, the entry in the /etc/exports looks like this: /data2 172.19.0.0/255.255.0.0(ro,sync,no_root_squash) exportfs -v /data2 172.19.0.0/255.255.0.0(ro,wdelay,no_root_squash) cat /proc/fs/nfs/exports /data2 pc3691.slspn.psi.ch(rw,no_root_squash,sync,wdelay) # 172.19.84.51 Ooops ...! I'm using RedHat-7.3 on the server and on the client (nfs-utils-0.3.3-5) Rene ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs