From owner-freebsd-questions@freebsd.org Thu May 4 12:45:23 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 44CB7D5E103 for ; Thu, 4 May 2017 12:45:23 +0000 (UTC) (envelope-from ppauly@gmail.com) Received: from mail-yw0-x234.google.com (mail-yw0-x234.google.com [IPv6:2607:f8b0:4002:c05::234]) (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 0815C1720 for ; Thu, 4 May 2017 12:45:23 +0000 (UTC) (envelope-from ppauly@gmail.com) Received: by mail-yw0-x234.google.com with SMTP id k11so5692226ywb.1 for ; Thu, 04 May 2017 05:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MpbyY5+l/yc/M2x0iGDJ7VB2M7Kf1elPLUtGwFCTNKI=; b=RWAuepYoByeUVKhddsTytu9VzYi8BqR9XaYiBcK+bPSREFSUXIvY6OsSqNd4NxFocq dHVml3wCxTXVTwA96Q9xzNO4ikEXxB7dBszwHtMVba0ic6scVcbDrpgUumAghg/oFx8G w5FE3ZVW83fOOHl3dHe/6hVWpms79/kobCWud8izBeSQgXXzQqS9xdBLYZPVOb6xqA2Q h2/RQPvKXwi7UaFDjTN2an3LXdKKIxWYpGBTs6lKqq9ZVE4oHlnRYe4/tbTjj+DNN53a /SMkGOhVJ0VZbISscooE50kq5TDz/wqdoOo/70e8+ky8kQEzek41bd1qyyBu6ZCZrQ3u lfrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=MpbyY5+l/yc/M2x0iGDJ7VB2M7Kf1elPLUtGwFCTNKI=; b=L2e7Y3rvAm+Begm+mIGhxfKTLZ51OLKiv7kAsONVB9qBMzHuEGf1jQMK2ff5D40TOo mMLDuquVVPk1Elu/mQ/QM5q4GQcAPvAZTFocMm9J3akMgr2sG1snPcDI6TyKG3cyHGnA +45o6hqomiH4SfpP6d9G2X1BHRTerP4l0tg0S7Dfn1Z8JqU+pGo0UH+p/o7LfOK+Wf2I xcwn+OcJRcOFIdVjXegPkVvE3lCaWZNypHgLNCUGJNfAd2o8hQ4g32d6vyAFfp7B9W0W spR5eMR5i9eHloZnDyrqOnlZHmPXTn0etsHBYt+uGTESX2RnlZSNq0LnvP63RIPwMYFj A0oA== X-Gm-Message-State: AN3rC/6DTKtXsh0urgoxbbX8+yracUVD5PCHB2V2/xKeUdKW1UNjFVc+ oC7Qko3FkncUC2uH6mJ+Es6/BcxQcw== X-Received: by 10.129.146.78 with SMTP id j75mr6860234ywg.3.1493901921957; Thu, 04 May 2017 05:45:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.212.11 with HTTP; Thu, 4 May 2017 05:45:21 -0700 (PDT) In-Reply-To: References: From: Peter Pauly Date: Thu, 4 May 2017 08:45:21 -0400 Message-ID: Subject: Re: Tips for shell based partitioning during install To: Ben Woods Cc: 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: Thu, 04 May 2017 12:45:23 -0000 Thank-you Ben. That's very helpful. On Wed, May 3, 2017 at 4:46 PM, Ben Woods wrote: > 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 >