From owner-freebsd-bugs Tue Jun 5 13:30:17 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D5C7E37B40E for ; Tue, 5 Jun 2001 13:30:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f55KU4b33965; Tue, 5 Jun 2001 13:30:04 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D23B937B401 for ; Tue, 5 Jun 2001 13:28:13 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f55KSDd33923; Tue, 5 Jun 2001 13:28:13 -0700 (PDT) (envelope-from nobody) Message-Id: <200106052028.f55KSDd33923@freefall.freebsd.org> Date: Tue, 5 Jun 2001 13:28:13 -0700 (PDT) From: kevind@ikadega.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/27894: remounting local filesystem causes nfsd to return EPERM Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 27894 >Category: kern >Synopsis: remounting local filesystem causes nfsd to return EPERM >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 05 13:30:04 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Kevin Day >Release: 4.3-RELEASE >Organization: Ikadega >Environment: >Description: When remounting a filesystem with different options on an NFS server, for a brief window, write commands from an NFS client to the NFS server get EPERM. >How-To-Repeat: An NFS client was using dd to write data to a file on an NFS server. It was going pretty slowly, so we decided to remount the filesystem on the NFS server with the "async,noatime" options. I hit ^T before we remounted the file system: # dd if=/dev/ad0 of=develdisk bs=8192 load: 0.25 cmd: dd 9578 [nfsrcvlk] 1.11u 83.09s 1% 124k 386446+0 records in 386445+0 records out 3165757440 bytes transferred in 2873.737043 secs (1101617 bytes/sec) It looked like it was going fine. On the server, I typed: # mount -u -o async,noatime,rw /bay0 Instantly, dd on the client reported: dd: develdisk: Permission denied 388710+0 records in 388709+0 records out 3184304128 bytes transferred in 2890.083892 secs (1101803 bytes/sec) # >Fix: No fix, but easy to reproduce. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message