Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2018 09:42:00 -0600
From:      "Dean E. Weimer" <dweimer@dweimer.net>
To:        Victor Sudakov <vas@mpeks.tomsk.su>
Cc:        Manish Jain <bourne.identity@hotmail.com>, freebsd-questions@freebsd.org,  owner-freebsd-questions@freebsd.org
Subject:   Re: Dualboot and ZFS
Message-ID:  <a7920f859b666cff48f4f73ee1b2f954@dweimer.net>
In-Reply-To: <20180115151526.GA66342@admin.sibptus.transneft.ru>
References:  <20180115051308.GA45168@admin.sibptus.transneft.ru> <VI1PR02MB12007D071EA5398373D2189CF6EB0@VI1PR02MB1200.eurprd02.prod.outlook.com> <20180115125241.GB60956@admin.sibptus.transneft.ru> <VI1PR02MB1200C7F0066F361E60A6CBEDF6EB0@VI1PR02MB1200.eurprd02.prod.outlook.com> <20180115144747.GA65526@admin.sibptus.transneft.ru> <VI1PR02MB120018D174817F8FFB2981D5F6EB0@VI1PR02MB1200.eurprd02.prod.outlook.com> <20180115151526.GA66342@admin.sibptus.transneft.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2018-01-15 9:15 am, Victor Sudakov wrote:
> Manish Jain wrote:
>> 
>> On 01/15/18 20:17, Victor Sudakov wrote:
>> > However, later you suggest it's possible to install freebsd-zfs on a
>> > BSD slice. How is that?
>> 
>> I never suggested installing freebsd-zfs on a MBR/BSD slice, unless I
>> made a typo. freebsd-zfs can only be installed on an entire disk,
>> partitioned GPT.
>> 
>> The steps mentioned in my first message target moving an existing UFS 
>> to
>> ZFS.
> 
> Do we perhaps have a different understanding of "installing"? If by
> "installing" you mean only that by the regular bsdinstall, then I
> understand you.
> 
> For me, however, running "make installworld DESTDIR=xxx" is also
> installing. Can DESTDIR be a zpool on a MBR/BSD slice?

You can do an install from source to a zfs dataset no matter where it 
exists as that just shows up as any other mount point, but if you want 
to be able to boot from it I would suggest making it on a GPT disk. I 
checked and there is a section on the wiki 
<https://wiki.freebsd.org/RootOnZFS/ZFSBootSlice>; about installing to 
MBR, but its flagged as will not boot.

By the way the setup I sent was installed by using the live CD, creating 
the zpool, and zfs datasets, and extracting the data manually. I do 
updates by building from source and installing to clones of root dataset 
then change zpools bootfs and reboot. With the new dataset.

-- 
Thanks,
    Dean E. Weimer
    http://www.dweimer.net/



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