Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Nov 2016 14:17:49 -0500
From:      Baho Utot <baho-utot@columbus.rr.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Installing to RaidZ-1
Message-ID:  <f2172dff-3df5-de3f-cb45-8f516710016e@columbus.rr.com>
In-Reply-To: <861syg5z7a.fsf@WorkBox.homestead.org>
References:  <e611c60c-9722-57d7-4261-b41afa8bb4ac@columbus.rr.com> <861syg5z7a.fsf@WorkBox.homestead.org>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f2172dff-3df5-de3f-cb45-8f516710016e>