Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2017 08:45:21 -0400
From:      Peter Pauly <ppauly@gmail.com>
To:        Ben Woods <woodsb02@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Tips for shell based partitioning during install
Message-ID:  <CAKXfWbS4EH9cv2irohbNtjkLkMcbskJXV4hB4GucNdXn3o-=tQ@mail.gmail.com>
In-Reply-To: <CAOc73CDw5fXjfQubmW29V1xOV=_o_D90c_X=bNWst3GeLxxTOQ@mail.gmail.com>
References:  <CAKXfWbTqBUUzaGxz3U7HEV9FoSzqg3XD%2BUrrEkqbVU5E1W-oQA@mail.gmail.com> <CAOc73CDw5fXjfQubmW29V1xOV=_o_D90c_X=bNWst3GeLxxTOQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank-you Ben. That's very helpful.

On Wed, May 3, 2017 at 4:46 PM, Ben Woods <woodsb02@gmail.com> wrote:

> On Wed, 3 May 2017 at 2:31 am, Peter Pauly <ppauly@gmail.com> 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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKXfWbS4EH9cv2irohbNtjkLkMcbskJXV4hB4GucNdXn3o-=tQ>