Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2013 13:54:33 -0400
From:      Allan Jude <freebsd@allanjude.com>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: [CFT] Patch to bsdinstall to support root-on-ZFS and GELI
Message-ID:  <5256E9D9.6060302@allanjude.com>
In-Reply-To: <alpine.BSF.2.00.1310101111420.52175@wonkity.com>
References:  <52531295.7090700@allanjude.com> <52539300.50305@allanjude.com> <alpine.BSF.2.00.1310101111420.52175@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-10-10 13:21, Warren Block wrote:
> [off-list reply]
>
> I have not tested the new version yet.  Is there any chance it
> supports setting up a gmirror?
>
> Something I've been meaning to discuss with Devin is the concept of
> presets.  The user would be able to choose from a list of presets:
>
>   Filesystem Layout
>   -----------------
>   Merged / filesystem
>   Split /, /var, /tmp, /usr filesystems
>
> then
>
>   Filesystem Type
>   ---------------
>   UFS
>   ZFS
>
> then
>
>   Disk Layout
>   -----------
>   Plain disk
>   Mirror
>   RAID
>
> Those choices might change depending on earlier ones, like if they had
> chosen ZFS earlier they would get a choice of Mirror, RAID-Z1,
> RAID-Z2, and so on.
>
> All this would build up a configuration, and at the end the user can
> edit it (filesystem sizes, for instance), then pick Go and walk away.

All of the UFS stuff is in C, so is read-only for me.

It is something I'd like to do, but it is really iffy if that can be
done in time for 10.0

In general, gmirror support could be added to the ZFS section (renamed
to something else). So in our current 'zfs' menu, would become the 'new
partition manager' menu. Add an extra option for ZFS or UFS, and then
the vdev menu would context switch between zfs vdevs and ufs options
like gmirror and gstripe or something

Adding an extra option for / or / /var /tmp /usr is not a bad idea
either, maybe even for ZFS, offering a simpler set of datasets that
might be some people's preference (especially if I can't do the
following in time:)

In a future revision of the zfsboot stuff, I'd like to offer a dialog
where users can actually adjust the ZFS datasets. provide a menu listing
the created dataset, with option to add more, and when you select a
dataset, you can adjust its options or delete it (some really scary
validation needs to happen here so you can't delete /usr if you have
/usr/local)

If the UFS stuff took the form of the current ZFS stuff (give me the
entire disk, and i'll run with it), it would be fairly easy to
implement, and could probably be done between 10.0-BETA1 and 10.0-BETA2

The more powerful features of the current partedit code, where it
actually shows what is on your disk already, and allows you to just
adjust it, and in general manage dual booting etc, that is a lot more
complicated.


-- 
Allan Jude




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5256E9D9.6060302>