Tips for shell based partitioning during install

Peter Pauly ppauly at gmail.com
Thu May 4 12:45:23 UTC 2017


Thank-you Ben. That's very helpful.

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

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


More information about the freebsd-questions mailing list