From owner-freebsd-virtualization@freebsd.org Fri May 5 17:28:36 2017 Return-Path: Delivered-To: freebsd-virtualization@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 689F8D5FDD8 for ; Fri, 5 May 2017 17:28:36 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 29DD91332 for ; Fri, 5 May 2017 17:28:35 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id E19F120C1BEA for ; Sat, 6 May 2017 03:28:27 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id D756728132A for ; Sat, 6 May 2017 03:28:27 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id YA-xVNB7gLVO for ; Sat, 6 May 2017 03:28:27 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 2293D2804DC; Sat, 6 May 2017 03:28:24 +1000 (AEST) Subject: Re: Windows Server 2016 as guest on bhyve 4k emulated drive To: Artur Moor References: <49770719-c87f-c673-4f2b-c17674797159@freebsd.org> Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: Date: Fri, 5 May 2017 10:28:21 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=XKlAcUpE c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=IkcTkHD0fZMA:10 a=tJ8p9aeEuA8A:10 a=yMhMjlubAAAA:8 a=Q23QZL_8AAAA:8 a=3NcK-oXg--v2VU4a6UgA:9 a=QEXdDO2ut3YA:10 wl=host:3 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2017 17:28:36 -0000 Hi Artur, > I can not explain how Windows comes to 8192 bytes. As explained in Jeremya F's email, that's the zvol default record size. > > about 512E drives. According to the article, the 512E drives should not > be used, because this configuration affects both the lifetime and the > performance of the drives. Bhyve presents a virtual drive so this doesn't apply. > (https://msdn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update?f=255&MSPPError=-2147217396) > > For this reason, I started using 4K emulated drive, both logical and > physical (sectorsize=4096/4096), but Windows can not be installed on a > 4K emulated drive. I'd recommend sticking with "sectorsize=512/4096" for now. The 4096/4096 appears to be a bhyve bug that needs to be fixed, especially since the NVMe emulation GSoC project has been approved*, and that mandates 4K block size. later, Peter. * https://summerofcode.withgoogle.com/projects/#5252121027936256