From owner-freebsd-stable@FreeBSD.ORG Wed Dec 16 17:29:22 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3AD31065695 for ; Wed, 16 Dec 2009 17:29:22 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id AF5E28FC19 for ; Wed, 16 Dec 2009 17:29:22 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KUR00KKC9WC8C80@asmtp029.mac.com> for freebsd-stable@freebsd.org; Wed, 16 Dec 2009 09:29:00 -0800 (PST) From: Marcel Moolenaar In-reply-to: <20091216.113300.74685382.sthaug@nethelp.no> Date: Wed, 16 Dec 2009 09:29:00 -0800 Message-id: <55FA4159-2AEE-4E2A-BAE9-E9699C6C7537@mac.com> References: <200912151720.37709.freebsd@insightbb.com> <20091216000803.GA39686@osiris.mauzo.dyndns.org> <7BA0C6CC-A1D9-49C2-942D-D46C19E9B3CB@mac.com> <20091216.113300.74685382.sthaug@nethelp.no> To: sthaug@nethelp.no X-Mailer: Apple Mail (2.1077) Cc: freebsd-stable@freebsd.org Subject: Re: update to 8.0-RELEASE --> partition gone 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: Wed, 16 Dec 2009 17:29:22 -0000 On Dec 16, 2009, at 2:33 AM, sthaug@nethelp.no wrote: >> If you installed "dangerously dedicated" and ended up >> with ad0s1a (note the "s1"), then you have an invalid >> partitioning and FreeBSD 8.x will not give you what >> you've been getting on FreeBSD 7.x. Most of the time >> you only need to wipe out the second sector on the >> disk to clean it up and have FreeBSD 8.x also give >> you ad0s1a. > > So what's an easy recipe we can run on 7.x hosts to see whether we > would have problems with 8.x? If 1. fdisk ${D} shows FreeBSD slices, and 2. your mount points are within these slices (i.e your device name has a prefix of ${D}s1, ${D}s2, ${D}s3, etc *OR* they have a prefix of ${D}cs1 ${D}cs2 ${D}cs3, etc), and 3. bsdlabel ${D} shows that there's a (possibly empty) BSD disklabel then you have an invalidly created danerously dedicated disk. You can wipe out the second sector on the disk to clear the bogus BSD disklabel. The most important thing to look at is how you currently mount. If fdisk ${D} and bsdlabel ${D} show valid information and you mount from ${D}a, ${D}d, etc -- then your disk is not necessarily invalid in the same sense that having a PMBR with slices in front of a GPT is not considered invalid. FYI, -- Marcel Moolenaar xcllnt@mac.com