From owner-freebsd-questions@freebsd.org Sat Nov 12 17:58:23 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6FE82C3DA6C; Sat, 12 Nov 2016 17:58:23 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 373CD1993; Sat, 12 Nov 2016 17:58:22 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.local (localhost [10.9.5.2]) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPS id uACHaeXX054696 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 12 Nov 2016 11:36:40 -0600 (CST) (envelope-from dweimer@dweimer.net) Received: (from www@localhost) by webmail.dweimer.local (8.15.2/8.15.2/Submit) id uACHaeVU054695; Sat, 12 Nov 2016 11:36:40 -0600 (CST) (envelope-from dweimer@dweimer.net) X-Authentication-Warning: webmail.dweimer.local: www set sender to dweimer@dweimer.net using -f To: Baho Utot Subject: Re: Installing to RAIDZ1 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 12 Nov 2016 11:36:39 -0600 From: "Dean E. Weimer" Cc: Mailinglists FreeBSD , owner-freebsd-questions@freebsd.org Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <0b8556f0-7d92-a4c9-c9e4-62e16e82b936@columbus.rr.com> References: <0b8556f0-7d92-a4c9-c9e4-62e16e82b936@columbus.rr.com> Message-ID: <54688c2ac53bef20348c6cf4e91c6c1d@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.2.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2016 17:58:23 -0000 On 2016-11-12 10:52 am, Baho Utot wrote: > I want to reinstall my desktop system using a raidz-1 filesystem using > the current installation image for usb drive. Reading the handbook I > find that bsdinstall will not do the installation I want. I am using > 4 1TB drives and I want to partition to 800GB and install the raidz > there. Can I create a raidz storage pool manually and then use > bsdinstall or will I have to manually install freebsd not using > bsdinstall? > > How do I do this? > I have a set of instructions I wrote for a manual install on ZFS root with a mirror, these can easily be modified to use a raidz partition instead. My home server that is hosting this website is actually running a raidz on 4 1TB drives. The instructions below setup a gmirror for swap in addition to the zfs mirror, when I did the raidz setup I used two separate gmirror swap partitions so that I have swap spread out over all 4 disks and it will still survive a disk failure. Granted I don't think my server has actually ever needed to use the swap space so I can't be sure it wont grind to a crawl if it hits it. Fair warning I haven't actually read through these in a while, I wrote them back in 9.x days, I did modify them when it was no longer necessary to specify the boot data set in the loader.conf. I basically just install from memory, when needed. http://www.dweimer.net/?Content=03~help_files&Page=01~installing_FreeBSD_on_ZFS -- Thanks, Dean E. Weimer http://www.dweimer.net/