From owner-freebsd-questions@freebsd.org Sat Nov 12 19:17:56 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 4B0B4C3D85F for ; Sat, 12 Nov 2016 19:17:56 +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.226]) (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 13D8A1A91 for ; Sat, 12 Nov 2016 19:17:56 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [76.181.114.47] ([76.181.114.47:52990] helo=raspberrypi.bildanet.com) by cdptpa-omsmta01 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 5A/47-12962-DDA67285; Sat, 12 Nov 2016 19:17:49 +0000 Received: from [192.168.1.40] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1c5doD-0007mI-8j for freebsd-questions@freebsd.org; Sat, 12 Nov 2016 14:17:49 -0500 Subject: Re: Installing to RaidZ-1 References: <861syg5z7a.fsf@WorkBox.homestead.org> To: FreeBSD Mailing List From: Baho Utot Message-ID: Date: Sat, 12 Nov 2016 14:17:49 -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: <861syg5z7a.fsf@WorkBox.homestead.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.6: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:17:56 -0000 On 11/12/16 13:29, Brandon J. Wandersee wrote: > Baho Utot writes: > >> 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? > When the installer reaches the disk partitioning stage, it will present > you with a list of options, one of which is "Shell." This will drop you > to a shell instance where you can manually create your partitions and > your zpool. A brief message will appear when you first enter the shell > with basic instructions: > > 1. Mount your custom partitions with /mnt as the root of the system. In > this case, use the `-R /mnt` flag when creating the pool so your new > root ZFS filesystem is mounted there. > > 2. Create a custom fstab file and place it in /bsdinstall_etc. I'm not > sure how necessary this is if you aren't using fstab to mount any ZFS > filesystems; that is, I don't know if the installer will try to stick > its own fstab into the installed system if a custom one isn't present. If it will boot I can fix up the /etc/fstab if needed > Once you exit the shell the installer will proceed as normal: installing > everything to the mounted disks/filesystems, adding users, etc. After > the installation, you'll want to choose the option to drop to a shell > again in order to edit /boot/loader.conf and /etc/rc.conf, make sure no > invalid fstab file has been installed (if necessary) and set the > "bootfs=" property on your new pool. > > Ok I will try this thanks