Dualboot and ZFS
Victor Sudakov
vas at mpeks.tomsk.su
Tue Jan 16 11:28:24 UTC 2018
Trond Endrest?l wrote:
>
> I couldn't resist attempting a proof of concept, so here it is.
Before I follow your steps, two comments:
>
> !!! Show the resulting disklabel !!!
>
> [script]# gpart show ada0s3
> => 0 67108864 ada0s3 BSD (32G)
> 0 58720256 1 freebsd-zfs (28G)
> 58720256 8388608 2 freebsd-swap (4.0G)
How funny! I did not even know that fstype in the disklabel can be "ZFS". I
have only seen "swap" and "4.2BSD" so far.
$ gpart add -t freebsd-zfs md0s1 && disklabel md0s1
md0s1a added
# /dev/md0s1:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 4095 0 ZFS
c: 4095 0 unused 0 0 # "raw" part, don't edit
$
[dd]
>
> !!! Create our zpool, YMMV !!!
>
> !!! Create our initial BE, YMMV !!!
Do you know how to create a beadm-friendly zroot manually (like the one
created automatically by bsdinstall)?
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
AS43859
More information about the freebsd-questions
mailing list