From owner-freebsd-geom@FreeBSD.ORG Mon Oct 20 20:40:47 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05FE010656B3 for ; Mon, 20 Oct 2008 20:40:47 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id DB14C8FC1B for ; Mon, 20 Oct 2008 20:40:46 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: by wf-out-1314.google.com with SMTP id 24so1953712wfg.7 for ; Mon, 20 Oct 2008 13:40:45 -0700 (PDT) Received: by 10.114.241.15 with SMTP id o15mr5768621wah.96.1224535245837; Mon, 20 Oct 2008 13:40:45 -0700 (PDT) Received: by 10.115.89.3 with HTTP; Mon, 20 Oct 2008 13:40:45 -0700 (PDT) Message-ID: Date: Mon, 20 Oct 2008 22:40:45 +0200 From: "=?ISO-8859-1?Q?Marius_N=FCnnerich?=" To: "Max E. Kuznecov" In-Reply-To: <20080901125709.GA26304@syhpoon-portaone.portaone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080901125709.GA26304@syhpoon-portaone.portaone.com> Cc: freebsd-geom@freebsd.org Subject: Re: raid & label issues X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 20:40:47 -0000 On Mon, Sep 1, 2008 at 2:57 PM, Max E. Kuznecov wrote: > Hi, > I have a RAID1 created with atacontrol. > After installation I create a label, say: tunefs -L root /dev/ar0s1a > and put /def/ufs/root as rootfs into fstab. > So I expect the system will boot from raid (ar0s1a) device, but it > won't. > > It occurs that tunefs create label not only on ar0 device itself but on > the raid components as well, in my case they are ad4 and ad6. > > And after reboot I've got my system booted from ad4, i.e. the first > device with 'root' label on it. I've skimmed through the geom_label > sources and, indeed, it creates /dev/ufs/