From owner-freebsd-current Tue Feb 4 15:49:30 2003 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 3F4FE37B401; Tue, 4 Feb 2003 15:49:29 -0800 (PST) Received: from mail.rpi.edu (mail.rpi.edu [128.113.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59B1A43F79; Tue, 4 Feb 2003 15:49:28 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id h14NnQa3091022; Tue, 4 Feb 2003 18:49:26 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <17774.1044345863@critter.freebsd.dk> References: <17774.1044345863@critter.freebsd.dk> Date: Tue, 4 Feb 2003 18:49:24 -0500 To: phk@freebsd.org From: Garance A Drosihn Subject: Re: Minor oddity with sysinstall/disklabel on -current Cc: current@freebsd.org Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 9:04 AM +0100 2/4/03, phk@freebsd.org wrote: >Garance A Drosihn writes: > > I drop out of sysinstall, do some things with that partition, and >> then decide to redo the above sequence. Everything has been working >> fine, but I'm just testing some things and I end up in a position >> where it's quicker to newfs the partition than it is to 'rm' the > > files on it. So, I do the same exact sequence (starting with the >> 'umount' before running sysinstall), and this time when I do the >> 'w'rite, I am told: >> >> ERROR: Unable to write data to disk ad2! > >My guess is that sysinstall (bogusly) did a swapon for the 'b' >parititon on your ad2 disk. It occurs to me that I can now easily test this by doing a swapoff command for /dev/ad2s1b. And indeed, if I do that before the second run of sysinstall, everything works fine on the second trip through. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message