From owner-freebsd-questions@freebsd.org Wed May 3 20:46:59 2017 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 B44A4D5C209 for ; Wed, 3 May 2017 20:46:59 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BC42D89 for ; Wed, 3 May 2017 20:46:59 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id w64so998328wma.0 for ; Wed, 03 May 2017 13:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=3yDjfcim7hpx/zyM1lgf50cPlLSRvwRhHtrqxc3L6Qg=; b=IH6FmQDVSxnaQf+mtAX3/qkSNdb/WmDclOfsOTuMop8QUv3cNbeiQMQZ2FRpP6cAGr YBIv1g3iOB0qhID+wsFMo9NDRpCQLDBd0PT9cSzo0eihudRsmTyTm5cx/8coRz0itUmF bcsOH9wbptQtvvH1TVntYFwvFWiRpF70duQvHjxmG2tjOQEV6STzASdP9crRWYlrajsZ tDaRwehKG2zsSb95VWnAvwmMuYZHdBqTOfwWT/FLXloTLX96wT1uZ5nk2kziUr3cLRZN 9G2Mwti3ZBFBJnk1cs/UTWOcRLeIwJhRbD8noKWguwu3U0KthBqpRctvPkR6smtGy5fh b3+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=3yDjfcim7hpx/zyM1lgf50cPlLSRvwRhHtrqxc3L6Qg=; b=I3CvKPs8xCP3kJ4xx+FyYR8hUIKWsEjWtprABfW7Cf55XZDKHH0sxko355jR6QOMnb BVxlaJ7Qhd9xu13rYZgtEqNgfJIRoXy2SWIN2Hwa5hRRPfpmje3heAaGgQu1HLRxUXdE ZaYlpeYYA+l6zJU/vAQa7a4yRQryiIe3D4r0XpdqAnkb8th3GiLpZl/WzYuslrYAkrdi zbGoPur6LcZ0tKyot0K8zGIR7ZxnL/Dwcy7I/Pw6h0A9N0cBBzSSRgPnjdhixvhGNM0k dI2oTFnNh+J4Hyl+lDbYsQOdHCQUjP4papSibMptTXFD15SisAMajFYWQOXnESMzQUfd h5Jg== X-Gm-Message-State: AN3rC/7W8CtzVDjtUgwKfXKE8huEl6ptTMjVz7V84rH9gUKtdxl070BQ mnUIzDOGMwjq66uTpj0db4/iAcf3Ww== X-Received: by 10.80.138.158 with SMTP id j30mr27109791edj.73.1493844416763; Wed, 03 May 2017 13:46:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ben Woods Date: Wed, 03 May 2017 20:46:46 +0000 Message-ID: Subject: Re: Tips for shell based partitioning during install To: Peter Pauly , freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Wed, 03 May 2017 20:46:59 -0000 On Wed, 3 May 2017 at 2:31 am, Peter Pauly wrote: > I'm using the option in the installer where you go out to a shell prompt > during the partitioning step in the installer on FreeBSD 11-Release and > booted off of the CD. All is going well until I get to this step: > > zpool create zroot raidz2 /dev/gpt/disk0 /dev/gpt/disk1 /dev/gpt/disk3 ... > etc. > cannot mount '/zroot': failed to create mountpoint > > The instructions when going out to the shell say I have to mount the > filesystem under /mnt but /mnt is read-only. > > I tried to use the Guided Auto (ZFS) but it doesn't work with more than 10 > drives. > > What am I doing wrong? Hi Peter, When I do manual zfs partitioning during installs, i follow the commands used by the actual bsdinstall scripts (the ones that would have been executed if I used the auto mode). A copy of them can be viewed online here: https://svnweb.freebsd.org/base/head/usr.sbin/bsdinstall/scripts/zfsboot?view=markup#l1313 Essentially the zpool create command needs to have: zpool create -o altroot=/mnt -O compress=lz4 -O atime=off -m none -f zroot raidz2 /dev/gpt/disk0 ... Regards, Ben > -- -- From: Benjamin Woods woodsb02@gmail.com