From owner-freebsd-bugs Tue Oct 12 6:20: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 27AFD14D19 for ; Tue, 12 Oct 1999 06:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA30906; Tue, 12 Oct 1999 06:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 4F78415B1E; Tue, 12 Oct 1999 06:14:58 -0700 (PDT) Message-Id: <19991012131458.4F78415B1E@hub.freebsd.org> Date: Tue, 12 Oct 1999 06:14:58 -0700 (PDT) From: amobbs@allstor-sw.co.uk To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/14285: NFS client appears to lose data Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14285 >Category: kern >Synopsis: NFS client appears to lose data >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 12 06:20:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Andrew Mobbs >Release: 3.3-RC >Organization: Allstor Software >Environment: FreeBSD symbiosis.software.plasmon 3.3-RC FreeBSD 3.3-RC #0: Tue Sep 14 11:39:37 BST 1999 root@symbiosis.software.plasmon:/usr/src/sys/compile/990820symbiosis i386 >Description: As far as I can tell, the following program will lose data on a FreeBSD->FreeBSD NFS mount, but not on a FreeBSD->{Solaris,Linux,AIX} or a {Solaris,Linux}->FreeBSD mount (Notation is server->client) All mounts are hard. NFS options are whatever the default on a given platform is. Network is 100MBps switched ethernet. The output file "testfile" loses occasional characters OS versions: Solaris 2.5.1 (sparc) Linux 2.2.10 (i386) FreeBSD 3.3-RC (client) (i386) FreeBSD 3.2-R (server) (i386) AIX 4.2 (rs6000) >How-To-Repeat: #include #include #include #include #include #include main(void){ int error=0,len,i; FILE *fp; pid_t mypid; char str[80]; init_mutex(&mutex); srandom(time(NULL)); mypid=getpid(); sprintf(str,"Hello, I'm process %d.\n",mypid); len=strlen(str); if((fp=fopen("testfile","a+"))==NULL){ fprintf(stderr,"Cannot open testfile failed %d\n",errno); exit(1); } for(;;){ for(i=0;iFix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message