From owner-freebsd-questions@freebsd.org Mon Jan 15 15:42:09 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48D05EB5771; Mon, 15 Jan 2018 15:42:09 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-186.static.stls.mo.charter.com [24.240.198.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dweimer.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B10C7D13F; Mon, 15 Jan 2018 15:42:08 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from www.dweimer.net (opnsense.dweimer.local [10.9.5.1]) (authenticated bits=0) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPSA id w0FFg5ot081816 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 15 Jan 2018 09:42:06 -0600 (CST) (envelope-from dweimer@dweimer.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dweimer.net; s=2017.01.31; t=1516030927; bh=FkhS5Toab9O0wERg/B+g/DHaWNJJfajs7TUWwjeDICI=; h=Date:From:To:Cc:Subject:Reply-To:In-Reply-To:References; b=pHPYYlTcflGRabA5Zcg1vJvVAy8uwR5zxUZcfRDX4FZiUhR2HTJfoQ8ZgxTImEQ+M IyZZnTU0ZVrXS/tT0ipDRWv1aQ7JX20qkb80+th/Ib2sI4ROnSEB1tVd7qlxEbbG0P 2BzhTrTWEaWDv8VxFhZCSfSpFyI7upL54HUm28jaOAKsfXaMknhbmd3vmdHUzizN+M iRCYTsdlsNxEiWlhRmNVzhlhOk6eFcuVAg7qz/ex872e0+baH9XpdTp6GeGA4exjcw 78NgIcT5vaIRx9BRVVIDGqsUSGvRiDOtLSkNXMaZ9tkefzeZsMMu1uvZwBnVyilt8N Jb4Wrm8aIvFuQ== MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 15 Jan 2018 09:42:00 -0600 From: "Dean E. Weimer" To: Victor Sudakov Cc: Manish Jain , freebsd-questions@freebsd.org, owner-freebsd-questions@freebsd.org Subject: Re: Dualboot and ZFS Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <20180115151526.GA66342@admin.sibptus.transneft.ru> References: <20180115051308.GA45168@admin.sibptus.transneft.ru> <20180115125241.GB60956@admin.sibptus.transneft.ru> <20180115144747.GA65526@admin.sibptus.transneft.ru> <20180115151526.GA66342@admin.sibptus.transneft.ru> Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.3.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2018 15:42:09 -0000 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 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/