Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jun 2001 13:28:13 -0700 (PDT)
From:      kevind@ikadega.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/27894: remounting local filesystem causes nfsd to return EPERM
Message-ID:  <200106052028.f55KSDd33923@freefall.freebsd.org>

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

>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




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