From owner-freebsd-hackers Sun Jun 17 15:17:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from scribble.fsn.hu (scribble.fsn.hu [193.224.40.95]) by hub.freebsd.org (Postfix) with SMTP id 1DD2137B401 for ; Sun, 17 Jun 2001 15:17:10 -0700 (PDT) (envelope-from bra@fsn.hu) Received: (qmail 17512 invoked by uid 1000); 17 Jun 2001 22:17:03 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 17 Jun 2001 22:17:03 -0000 Date: Mon, 18 Jun 2001 00:17:03 +0200 (CEST) From: Attila Nagy To: Cc: Subject: Data corruption in 4.3-STABLE (a long standing bug) Message-ID: <20010617235733.V17072-100000@scribble.fsn.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I have a mid-loaded server which runs each daemon in jail()-ed environments. The data space is union-mounted, because nullfs paniced the kernel when someting did a chroot on it (this was the case with 4.2-STABLE). On friday I upgraded from 4.3-RC to the latest 4.3-STABLE and noticed that nullfs actually works, but I get a lot of errors, similar to these: Jun 15 18:21:59 insomnia /kernel: object inconsistant state: RPC: 1, RC: 0 Jun 15 18:22:39 insomnia /kernel: object inconsistant state: RPC: 3282, RC: 0 Jun 15 18:22:39 insomnia /kernel: object inconsistant state: RPC: 1, RC: 0 Jun 15 18:23:10 insomnia /kernel: object inconsistant state: RPC: 3282, RC: 0 Jun 15 18:23:10 insomnia /kernel: object inconsistant state: RPC: 1, RC: 0 Jun 15 18:24:03 insomnia /kernel: object inconsistant state: RPC: 3282, RC: 0 Jun 15 18:24:03 insomnia /kernel: object inconsistant state: RPC: 1, RC: 0 when something accesses the filesystem. I have clean filesystems and have nothing to do with NFS. Because of the above errors, my system still uses unionfs, but it has a very annoying problem. When a program sends data from a unionfs mounted filesystem with sendfile() the data gets corrupted (tried with several daemons). I did nearly 800 GB (smashed up) traffic, when somebody finally noted this, so I had to patch all of the used daemons, like the standard ftpd to not to use sendfile(). BTW, unionfs seems to be working better than in the 4.2 days, so I think more and more people will use it. Please if you can, fix this error and if you can't, note this problem in the manpage. For the nullfs problem, I would be glad to know, what does this mean :) Thanks, -------------------------------------------------------------------------- Attila Nagy e-mail: Attila.Nagy@fsn.hu Budapest Polytechnic (BMF.HU) @work: +361 210 1415 (194) H-1084 Budapest, Tavaszmezo u. 15-17. cell.: +3630 306 6758 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message