From owner-freebsd-stable@FreeBSD.ORG Sun Sep 3 21:26:15 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 870BA16A4DA for ; Sun, 3 Sep 2006 21:26:15 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 568F143DD4 for ; Sun, 3 Sep 2006 21:26:13 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.6/8.13.6) id k83LQCCt051835; Sun, 3 Sep 2006 16:26:12 -0500 (CDT) (envelope-from dan) Date: Sun, 3 Sep 2006 16:26:12 -0500 From: Dan Nelson To: Ron Tarrant Message-ID: <20060903212612.GC93326@dan.emsphone.com> References: <44FB4328.6060208@sympatico.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44FB4328.6060208@sympatico.ca> X-OS: FreeBSD 6.1-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.12-2006-07-14 Cc: freebsd-stable@freebsd.org Subject: Re: Recovering Swap Partition X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 21:26:15 -0000 In the last episode (Sep 03), Ron Tarrant said: > After a random power outage, my FreeBSD 6.1 box failed to reboot > because the swap partition is toast. The disklabel looks to be > intact. I've been researching all afternoon trying to find out how to > recover the swap with something like newfs, but I haven't found any > examples of how to do it, only how to create the swap during a system > installation. > > Can anyone tell me which tool to use and show me either an example or > point me in the direction of more information? What error are you getting? Swap doesn't need to be formatted; it just has to exist if enabled. -- Dan Nelson dnelson@allantgroup.com