From owner-freebsd-questions@freebsd.org Sat Nov 12 19:15:12 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 6BA40C3D74E for ; Sat, 12 Nov 2016 19:15:12 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 346071976 for ; Sat, 12 Nov 2016 19:15:11 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [76.181.114.47] ([76.181.114.47:52989] helo=raspberrypi.bildanet.com) by cdptpa-omsmta03 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id C1/05-04822-83A67285; Sat, 12 Nov 2016 19:15:04 +0000 Received: from [192.168.1.40] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1c5dlX-0007mA-U0 for freebsd-questions@freebsd.org; Sat, 12 Nov 2016 14:15:03 -0500 Subject: Re: Installing to RAIDZ1 To: Mailinglists FreeBSD References: <0b8556f0-7d92-a4c9-c9e4-62e16e82b936@columbus.rr.com> <54688c2ac53bef20348c6cf4e91c6c1d@dweimer.net> From: Baho Utot Message-ID: <4f0d94f4-4ae0-10ae-8ec5-053e9581e509@columbus.rr.com> Date: Sat, 12 Nov 2016 14:15:03 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <54688c2ac53bef20348c6cf4e91c6c1d@dweimer.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.88:25 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 19:15:12 -0000 On 11/12/16 12:36, Dean E. Weimer wrote: > 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 > > I'll have a look at them thank you