From owner-freebsd-questions@FreeBSD.ORG Tue Aug 17 09:06:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 571D310656AA for ; Tue, 17 Aug 2010 09:06:08 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id C957D8FC15 for ; Tue, 17 Aug 2010 09:06:07 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by westmark.nagual.nl (Axigen) with (AES256-SHA encrypted) ESMTPSA id 0DF39C; Tue, 17 Aug 2010 10:57:46 +0200 Message-ID: <4C6A5104.4040103@nagual.nl> Date: Tue, 17 Aug 2010 11:06:12 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Roland Smith References: <4C669668.5040906@nagual.nl> <19558.60756.860555.968721@gargle.gargle.HOWL> <4C66F542.6090501@nagual.nl> <19559.15997.480750.380264@gargle.gargle.HOWL> <4C6835B9.7000900@nagual.nl> <1281947758890646500@nagual.nl> <20100816181432.GA66710@slackbox.erewhon.net> In-Reply-To: <20100816181432.GA66710@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Cc: freebsd-questions@freebsd.org Subject: Re: ZFS not usable on FreeBSD-8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2010 09:06:08 -0000 On 16-8-2010 20:14, Roland Smith wrote: > It could be that newfs is overwriting the partition table. > Can you post the output of 'gpart show' and 'bsdlabels1'? westmark# gpart show ad8 => 63 976773105 ad8 MBR (466G) 63 976773105 1 freebsd [active] (466G) westmark# bsdlabel ad8s1 # /dev/ad8s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2097152 0 4.2BSD 0 0 0 b: 12582912 2097152 swap c: 976773105 0 unused 0 0 # "raw" part, don't edit d: 16777216 14680064 4.2BSD 0 0 0 e: 41943040 31457280 4.2BSD 0 0 0 f: 903372785 73400320 4.2BSD 0 0 0 westmark# I dumped/restored the system to ad8 yesterday and booted from it. The system *did* boot but (alas) the /dev/ads1a(f) slices were mounted. So, the system loaded the *old* root partitions (from the first drive). After googling and reading I think I need *boot0cfg* but I'm a bit scary to ruin my new boot (ad8) drive. So, what is the exact syntax to make my system not only boot from ad8, but also mount the /deb/ad8s1 slice as root slice? After that I can remove my old ata drive and hopefully my zfs errors are gone too then. ;-)