From owner-freebsd-stable@FreeBSD.ORG Sun Apr 17 14:21:37 2011 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 96DEB1065670 for ; Sun, 17 Apr 2011 14:21:37 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta13.emeryville.ca.mail.comcast.net (qmta13.emeryville.ca.mail.comcast.net [76.96.27.243]) by mx1.freebsd.org (Postfix) with ESMTP id 7D9FF8FC18 for ; Sun, 17 Apr 2011 14:21:37 +0000 (UTC) Received: from omta09.emeryville.ca.mail.comcast.net ([76.96.30.20]) by qmta13.emeryville.ca.mail.comcast.net with comcast id YeM01g0060S2fkCADeMcFR; Sun, 17 Apr 2011 14:21:36 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta09.emeryville.ca.mail.comcast.net with comcast id YeMb1g0041t3BNj8VeMccK; Sun, 17 Apr 2011 14:21:36 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 7B29C9B42B; Sun, 17 Apr 2011 07:21:35 -0700 (PDT) Date: Sun, 17 Apr 2011 07:21:35 -0700 From: Jeremy Chadwick To: Lystopad Olexandr Message-ID: <20110417142135.GA51568@icarus.home.lan> References: <20110417123232.GA96423@laa.zp.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110417123232.GA96423@laa.zp.ua> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: ZFS root on MB Intel S3420GP 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: Sun, 17 Apr 2011 14:21:37 -0000 On Sun, Apr 17, 2011 at 04:32:32PM +0400, Lystopad Olexandr wrote: > I have this hardware: > > smbios.system.maker="Intel Corporation" > smbios.system.product="S3420GP" > > with 4G ram and 4x WD 500G drives. > > I try both raids in the bios, in both cases i try raid 10. > I.e. I have 1Tb ar0 device. I strongly urge you to remove use of Intel RST[1]. It's been confirmed many times over[2] that FreeBSD's support for it is broken in many regards. You are putting your data at extreme/great risk using it. Something as simple as a single-disk failure could result in the *entire* loss of your array. You will need to read the PRs listed at Wikipedia slowly, and in full to understand the nature of the problem. Do not skim them. I cannot stress the importance of this enough. This is not a joke nor is it overblown. I recommend you rely on ZFS entirely, and run your SATA controller in AHCI mode instead. My personal recommendation would be to use UFS for your root filesystem (or even gmirror) and use ZFS for the rest. With regards to AHCI mode: Most of us strongly advocate use of ahci.ko (not ataahci.ko; they differ), which does SATA<->CAM translation. You also gain NCQ capability using this. Be aware your disks will appear as "adaX" (not a typo), and you will use "camcontrol" (rather than "atacontrol") to maintain them. Utilities like smartmontools do work with this. Many of us (users and developers) have been using ahci.ko reliably for 1-2 years now. > After reading http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/RAIDZ1 I > try to install FreeBSD on this box, but I change ad0..ad1.. to my > ar0 device. I try to have zfs on intel raid10. > > All commands run successfully, but after reboot I have: > > gptzfsboot no zfs pools located: can't boot > > What mistake I made? > > What best solution with my hardware exist? I imagine what you're trying to accomplish won't work given that the disk geometry and other mechanics are completely lost given use of Intel RST, and *especially* with regards to the boot sequence. Furthermore, the bootstraps you're using imply use of GPT; did you configure your setup using GPT? I'm guessing not. [1]: Known as "Intel Rapid Storage Technology", "Intel MatrixRAID", "Intel HostRAID", "Intel Embedded Server RAID Technology", "Intel Matrix Storage RAID Technology", and many other terms. Intel keeps changing the term/labelling of this BIOS-level RAID, almost certainly for marketing purposes. [2]: http://en.wikipedia.org/wiki/Intel_Rapid_Storage_Technology Note that FreeBSD PRs are provided in the article. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB |