From owner-freebsd-current@FreeBSD.ORG Tue Feb 17 11:50:09 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 8136B10656C0 for ; Tue, 17 Feb 2009 11:50:09 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 390CD8FC0C for ; Tue, 17 Feb 2009 11:50:09 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 8333F41C67E; Tue, 17 Feb 2009 12:50:07 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id AgtXleqdtUFL; Tue, 17 Feb 2009 12:50:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 2402741C678; Tue, 17 Feb 2009 12:50:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 27B924448E6; Tue, 17 Feb 2009 11:46:20 +0000 (UTC) Date: Tue, 17 Feb 2009 11:46:20 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: FreeBSD current mailing list Message-ID: <20090217113718.N53478@maildrop.int.zabbadoz.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Marcel Moolenaar Subject: boot0cfg -s vs. GEOM_PART_*? 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: Tue, 17 Feb 2009 11:50:09 -0000 Hi, with a fresh kernel and world from last night I get: dopt# boot0cfg -s 3 ad4 boot0cfg: /dev/ad4: ad4 boot0cfg: /dev/ad4: ioctl DIOCSMBR: Inappropriate ioctl for device is this GEOM_PART_* fallout and can it be fixed? I am wondering how to change it from a rnning system now, as dopt# gpart set -a active -i 3 ad4 gpart: pre-check failed: Device not configured I guess this may help you to see if what I am doing is correct: dopt# gpart show ad4 => 63 390721905 ad4 MBR (186G) 63 256977 1 !6 (125M) 257040 83875365 2 freebsd [active] (40G) 84132405 83875365 3 freebsd (40G) 168007770 222709095 4 freebsd (106G) 390716865 5103 - free - (2.5M) Oh, and how does one set the boot0cfg -s 5 (next disk) now? /bz -- Bjoern A. Zeeb The greatest risk is not taking one.