From owner-freebsd-fs@FreeBSD.ORG Sun Jul 3 21:23:57 2005 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D45816A41C for ; Sun, 3 Jul 2005 21:23:57 +0000 (GMT) (envelope-from ups@tree.com) Received: from smtp.speedfactory.net (talon.speedfactory.net [66.23.216.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FDC643D45 for ; Sun, 3 Jul 2005 21:23:56 +0000 (GMT) (envelope-from ups@tree.com) Received: (qmail 12157 invoked by uid 210); 3 Jul 2005 21:24:08 +0000 Received: from 66.23.216.49 by talon (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.85.1/964. spamassassin: 3.0.2. perlscan: 1.25st. Clear:RC:1(66.23.216.49):. Processed in 0.029417 secs); 03 Jul 2005 21:24:08 -0000 X-Qmail-Scanner-Mail-From: ups@tree.com via talon X-Qmail-Scanner: 1.25st (Clear:RC:1(66.23.216.49):. Processed in 0.029417 secs Process 12152) Received: from 66-23-216-49.clients.speedfactory.net (HELO palm.tree.com) (66.23.216.49) by smtp.speedfactory.net with AES256-SHA encrypted SMTP; 3 Jul 2005 21:24:08 +0000 Received: from [127.0.0.1] (ups@localhost.tree.com [127.0.0.1]) by palm.tree.com (8.12.10/8.12.10) with ESMTP id j63LNqLl044004; Sun, 3 Jul 2005 17:23:53 -0400 (EDT) (envelope-from ups@tree.com) From: Stephan Uphoff To: Dario Freni In-Reply-To: <20050703201621.GD89744@cvs.freesbie.org> References: <20050703181616.GC89744@cvs.freesbie.org> <42C83643.4010506@samsco.org> <20050703201621.GD89744@cvs.freesbie.org> Content-Type: text/plain Message-Id: <1120425831.77984.37993.camel@palm> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 03 Jul 2005 17:23:52 -0400 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: [saturnero@freesbie.org: Weird behaviour of mount_unionfs with executables] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2005 21:23:57 -0000 I suspect the changes in revision 1.272 of kern_exec.c trigger the copy operation. Looks like you need a noatime option for union_fs. Stephan On Sun, 2005-07-03 at 16:16, Dario Freni wrote: > On Sun, Jul 03, 2005 at 01:02:27PM -0600, Scott Long wrote: > > >I'm also afraid that copying files to the upper layer also when > > >they're not modified could fill up our mfs entirely. I'm almost sure > > >there's a totally different behaviour under RELENG_5, as we haven't > > >encountered such problems. > > > > > > > > > > You might very well have found a bug in the vnode pager. I take it that > > this doesn't happen on 5-STABLE, correct? > > Correct. I'm sure that from 5.4-RELEASE to -STABLE unionfs work as > expected for me. The very strange thing is that a recalled file is > copied (with fixed permissions) to the upper layer even if it wasn't > modified. In my case, the upper layer is a mdmfs, so it will be surely > filled up to its entire size after running executables for a total > amount of 32Mb. Quite boring. > > Bye, > Dario