From owner-freebsd-current@FreeBSD.ORG Wed Jan 14 16:35:01 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DC1410656F1 for ; Wed, 14 Jan 2009 16:34:45 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by mx1.freebsd.org (Postfix) with ESMTP id 667348FC16 for ; Wed, 14 Jan 2009 16:34:45 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [192.168.4.253] (75-101-29-67.dsl.static.sonic.net [75.101.29.67]) by asmtp020.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KDG0020LZDUQR70@asmtp020.mac.com> for current@freebsd.org; Wed, 14 Jan 2009 08:34:43 -0800 (PST) From: Marcel Moolenaar To: Luiz Otavio O Souza In-reply-to: X-Priority: 3 References: <496D0364.2060505@psg.com> <47d0403c0901131335h46e7b151p3768de9a3e2c2027@mail.gmail.com> Message-id: <085BEE07-BAE5-4A45-A14D-9587987FAA5C@mac.com> Date: Wed, 14 Jan 2009 08:34:42 -0800 X-Mailer: Apple Mail (2.930.3) Cc: Randy Bush , George Neville-Neil , current@freebsd.org, Ben Kaduk Subject: Re: GEOM and moving to CURRENT from 7.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 14 Jan 2009 16:35:42 -0000 On Jan 14, 2009, at 3:37 AM, Luiz Otavio O Souza wrote: >>> installed amd64 7.1 from cdrom >>> partitioned two sata drives to single partitions >>> labeled and gmirrored >>> >>> upgraded to 8-current >>> ad0 started falling off mirror >>> ad2 started reporting smart errors > > > Here i cannot boot from my old disk after update my i386 7-STABLE to > -current, my ad0s1a slice isn't found. > > When the kernel is compiled with GEOM_PART_MBR and GEOM_PART_BSD, > the new geom_part stuff is failing to read the slices and bsdlabel > together. > > If i only load the GEOM_PART_MBR i see the slices detected (ad0s1 > ad0s2), but when i load the GEOM_PART_BSD together it will show only > the bsd labels, as if it is created directly on raw device (ad0a > ad0b ad0d ad0e ...). > > The only way i've found to boot my system again is to compile a new > kernel with GEOM_BSD and GEOM_MBR, instead of GEOM_PART_*. Wipe out your second sector on the disk. You have a stale BSD disklabel that prevents the MBR from being used. FYI, -- Marcel Moolenaar xcllnt@mac.com