From owner-freebsd-current@FreeBSD.ORG Sun Jan 4 11:55:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46A7516A4CE for ; Sun, 4 Jan 2004 11:55:28 -0800 (PST) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id C281443D48 for ; Sun, 4 Jan 2004 11:55:25 -0800 (PST) (envelope-from craig@xfoil.gank.org) Received: from localhost (ion.gank.org [69.55.238.164]) by ion.gank.org (mail) with ESMTP id 787882B54F; Sun, 4 Jan 2004 13:55:25 -0600 (CST) Received: from ion.gank.org ([69.55.238.164]) by localhost (ion.gank.org [69.55.238.164]) (amavisd-new, port 10024) with LMTP id 99205-07; Sun, 4 Jan 2004 13:55:24 -0600 (CST) Received: from aldaris.auir.gank.org (arbiter.gank.org [64.81.113.221]) by ion.gank.org (mail) with ESMTP id D914F2B3C6; Sun, 4 Jan 2004 13:55:23 -0600 (CST) From: Craig Boston To: David Gilbert Date: Sun, 4 Jan 2004 13:55:18 -0600 User-Agent: KMail/1.5.4 References: <20031229164130.GA797@pp.htv.fi> <20031231152453.G1441@bo.vpnaa.bet> <16371.23746.824760.637381@canoe.dclg.ca> In-Reply-To: <16371.23746.824760.637381@canoe.dclg.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401041355.18610.craig@xfoil.gank.org> X-Virus-Scanned: by amavisd-new at gank.org cc: current@freebsd.org Subject: Re: 5.1-R-p11 unable to "sync disks" when shutting down X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2004 19:55:28 -0000 On Wednesday 31 December 2003 05:33 pm, David Gilbert wrote: > True, but faced with a machine that can't be upgraded (swap to vinum > not supported in 5.2) What I ended up doing so that I could run 5.2 on a couple of my "all RAID5 all the time" servers was this: 1. Create a UFS filesystem on the "swap" partition and mount it noatime,sync 2. Use dd to create the biggest file possible on the new filesystem 3. Use swapfile="/swap/bigfile" in rc.conf, which uses an md device with vnode backing and enables swapping on it. It's a massive hack and there is probably a performance hit, but it seems to work... Craig