From owner-freebsd-stable@FreeBSD.ORG Mon Jan 18 11:40:46 2010 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 11ABE106568F for ; Mon, 18 Jan 2010 11:40:46 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 909398FC0C for ; Mon, 18 Jan 2010 11:40:45 +0000 (UTC) Received: from outgoing.leidinger.net (pD9E2D341.dip.t-dialin.net [217.226.211.65]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 3357A844043; Mon, 18 Jan 2010 12:40:38 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id C54BA114E99; Mon, 18 Jan 2010 12:40:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1263814835; bh=LtIGb3kfb+a1s8G6wtc4b+1mQMQRlOWDwbWCCbXegFE=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=FXzb0Ufs8EHwKWficPxV2acjygFSqe8vOsJfb6vADWnuBlFiQiIdE2NMCiI3qP38y 5nJ6lz+dgHokDpNeg7tGXqfRPG4gTLqvF1rAV6UPLQU0u47QaP/md1lgViC0nPBXIp EaEFwvpuQ8otooxyfVRAKqV3MDnY+vQ6MEzSOhBn0GrOh9WSgNeIdtOR8r22tGgh64 rXahra87uR90jXe8L9i2jHfnJFHTYjRUszjPCUitI/8wzq0FrRvuVcE1SjtsCqW7dK Xkdnnjso6z5VvK3mR22lvcP5ockYKm21TJ6uSVDxgn+7LbINN2yVmHLO+Obo1BKW++ GZyrORmFQPBUg== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id o0IBeXtb058300; Mon, 18 Jan 2010 12:40:34 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Mon, 18 Jan 2010 12:40:33 +0100 Message-ID: <20100118124033.17544y7zrba4g1og@webmail.leidinger.net> Date: Mon, 18 Jan 2010 12:40:33 +0100 From: Alexander Leidinger To: Wes Morgan References: <7ab0356e1001151213y5536d4cdi1d1759ce28ad546a@mail.gmail.com> <20100115232922.GM45688@e-Gitt.NET> <20100116014659.46536463@limbo.lan> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 3357A844043.D01E4 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.286, required 6, autolearn=disabled, ALL_TRUSTED -1.44, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, TW_GP 0.08, TW_ZF 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1264419640.12978@+1ERnXzRCo8GWTc4hbl8FA X-EBL-Spam-Status: No Cc: Volodymyr Kostyrko , freebsd-stable@freebsd.org Subject: Re: AHCI and ZFS: root mount error 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: Mon, 18 Jan 2010 11:40:46 -0000 Quoting Wes Morgan (from Sun, 17 Jan 2010 09:04:16 -0600 (CST)): > On Sat, 16 Jan 2010, Volodymyr Kostyrko wrote: > >> On Sat, 16 Jan 2010 00:29:23 +0100 >> Oliver Brandmueller wrote: >> >> > Check with "zpool status" if your zpool refers to diskslices like >> > "ad0s1". I use gpt have setup the ZFS mirror to refer to gptids: >> > >> > pool: silver >> > state: ONLINE >> > scrub: none requested >> > config: >> > >> > NAME STATE >> READ WRITE CKSUM >> > silver ONLINE >> 0 0 0 >> > mirror ONLINE >> 0 0 0 >> > gptid/9e68d234-f306-11de-a0c4-0002b3b6e838 ONLINE >> 0 0 0 >> > gptid/a025b88c-f306-11de-a0c4-0002b3b6e838 ONLINE >> 0 0 0 >> > >> > With that kind of configuration I can switch back and forth between >> > using ATA_CAM or using traditional ATA drivers. Since you're not using >> > GPT I gues you can use geom labels to do more or less the same thing. >> > >> > In short: use labels, nut device names. Saves headaches in many cases. >> >> ZFS actually can find disks without any glabel help. I have one server >> which I have moved recently to ahci and nothing changes for me. ZFS >> silently accepted new provider names and continue working as usual. >> > > Agreed, I experienced the same thing here when I moved to AHCI. I think > pjd committed some changes in the last few months that greatly improved > the ability of zfs to find devices by uuid. Using glabel or gptid's > with zfs is highly overrated IMO! Jumping into the discussion without much knowledge about the initial start... If this is with 8-stable: the stuff is merged and should work. If this is with 7-stable: the stuff is merged (by me) since 1-2 weeks. If this is something else, have a look if the code as displayed at http://svn.freebsd.org/viewvc/base?view=revision&revision=200158 is there (after this commit there is nothing else which affects the ability to find devices). What may work too is to export the zpool before switching and importing it again after switching the storage subsystem. Bye, Alexander. -- Do you mean that you not only want a wrong answer, but a certain wrong answer? -- Tobaben http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137