From owner-freebsd-questions@FreeBSD.ORG Tue Nov 22 02:01:55 2011 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 4A1781065670 for ; Tue, 22 Nov 2011 02:01:55 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id CF0CE8FC0C for ; Tue, 22 Nov 2011 02:01:54 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so9742051bkb.13 for ; Mon, 21 Nov 2011 18:01:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0HKxinCFIQt3SmwGR7g+XsYYTmdkkJvO0oUV5dcdwQc=; b=mF17Fu4+R7gpMQcxMo1YhMLlMij5wnKjVJOhn2tXIc26VZlvn2DLCibUj4a5m49x1b U6bmvdgfGA7iPEoLmZNv4ij7e8NZeHj2MxyxenWuXPf0AqiUxN5e2ctduoZf4WOlJBYA 256vFsApI2bM8hvUjZZCdCQMXt1jCercIv/Pk= MIME-Version: 1.0 Received: by 10.205.112.6 with SMTP id eq6mr16949646bkc.16.1321927312810; Mon, 21 Nov 2011 18:01:52 -0800 (PST) Received: by 10.204.133.215 with HTTP; Mon, 21 Nov 2011 18:01:52 -0800 (PST) In-Reply-To: References: Date: Mon, 21 Nov 2011 21:01:52 -0500 Message-ID: From: APseudoUtopia To: Mehmet Erol Sanliturk Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: Setting up ZFS - Filesystem Properties and Installing on Root 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, 22 Nov 2011 02:01:55 -0000 On Sun, Nov 20, 2011 at 11:26 PM, Mehmet Erol Sanliturk wrote: > > > On Sun, Nov 20, 2011 at 10:34 PM, APseudoUtopia > wrote: >> >> Hello, >> >> I'll be setting up a server with ZFS on 9.0-RELEASE (when it's >> released...). I've never used ZFS before, and although I've been >> reading quite a bit about it, I have some questions. >> >> My plan is to use RAID-Z1 across 4 disks. I'll be using GPT, and I >> would like the root to be ZFS as well. I found a guide: >> http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/RAIDZ1 >> >> In step #4, it has you create boot, swap, and zfs partitions on all 3 >> (which would be 4 in my case) disks. Then, in step #5, you install the >> bootloader into all 3 (4) drives. Why do you need boot and swap >> partitions on EACH disk? It seems to me that you would only need disk >> 1 to have boot, swap, and zfs, and the other 3 disks only have one >> partition (using the entire drive) for zfs's pool. Does it have to do >> with the RAIDZ1 setup? Even then, I don't understand it because it's >> not disk mirroring, it's RAID. The BIOS is set to look on one specific >> disk for the loader, not all of them. It seems I'm not understanding >> something entirely here. > > > > http://en.wikipedia.org/wiki/RAID > http://en.wikipedia.org/wiki/Category:RAID > > > If disk 1 fails , the computer ( BIOS ) will look disk 2 . > If disk 2 fails , the computer ( BIOS ) will look disk 3 . > > > If disk ( n - 1 ) fails , the computer ( BIOS ) will look disk ( n ) . > Ah! That makes sense. Thank you!