From owner-freebsd-virtualization@freebsd.org Fri May 5 17:15:16 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 0C56CD5F9E7 for ; Fri, 5 May 2017 17:15:16 +0000 (UTC) (envelope-from gldisater@gmail.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C3AE4919 for ; Fri, 5 May 2017 17:15:15 +0000 (UTC) (envelope-from gldisater@gmail.com) Received: by mail-it0-x233.google.com with SMTP id x188so11188719itb.0 for ; Fri, 05 May 2017 10:15:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=csvKgcqltIVcudAUuHTXjbb0D20E1vpTXH32fMigTJU=; b=oTy3s28FStpqJjw2lONFiR62+H6fNGdkBNeTNoJJcFRX4h7O+0n0xLdiUkDFLLbx3R n5pWbNsm4VOTOgVHfGqWcYAgzGFy9IkMQaaLPSigvZ9nsfepjISQkall+rr2GU+VkaJu NIzcU/4pMaNkezWkJGmcvqUy+sr0jGbGyTZjxVCz/kVOQ5PIlOVP6NSHiESjH13NySJN 3ugX96oRLZjTnn5A0ToMnZWH/PF2smvtMNHRUnHjBXt4B28bTz8EGidtNinxHaaU0+JL HqE+9853SRDHTCFwEuxMvFWTV3hJdEnJaQ7BqpqvhnByrlifag4bjslfXNDJP4BMxpAT p5lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=csvKgcqltIVcudAUuHTXjbb0D20E1vpTXH32fMigTJU=; b=l8ktX23tYiYJEyrmoZc5e1BU1E1DGManMP+5GdsECaZXzQY/QWdZGywed10PoBGlxI hBsURxE4GAa+5DLT1jI4lO5rPPG7+s2Ryc7oyIR/bT8G0C5u+6FCJxxUNEvI2hctKGd1 GPyRHQToHDnwwGhPT3G93mG6/8zXkbj2PnuKdbmPxmfCBm9yDJzv7ZQtotlUM9LgwPP+ UKwzBJ8k8K/5efOJHEZV3ZjA7su5avRV1G7F4X4mNBf5R8yDsDX2UGk8hHNvcquVOAHD JAAa9niRrL+llnaC5MmO8OIaXowawchd2yN07RQbD+UbvRo4Fwj2rpN2ZC1moDCgMDxr QeEA== X-Gm-Message-State: AN3rC/7Jd0H1cYkjKO7d+1i9aecljdr1qlsWM7ioI8eoMY0VNj7seWem 3Q0NCwjDPvDidYA5lD8= X-Received: by 10.36.41.72 with SMTP id p69mr9276173itp.84.1494004515009; Fri, 05 May 2017 10:15:15 -0700 (PDT) Received: from [192.168.1.101] (dhcp-108-168-18-21.cable.user.start.ca. [108.168.18.21]) by smtp.gmail.com with ESMTPSA id u200sm1184888itb.29.2017.05.05.10.15.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 May 2017 10:15:14 -0700 (PDT) Subject: Re: Windows Server 2016 as guest on bhyve 4k emulated drive To: freebsd-virtualization@freebsd.org References: <49770719-c87f-c673-4f2b-c17674797159@freebsd.org> From: Jeremy Faulkner Message-ID: Date: Fri, 5 May 2017 13:15:14 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit 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:15:16 -0000 On 2017-05-05 12:47 PM, Artur Moor wrote: > If the sectorsize option is unspecified, the installation of Windows > Internal Database fails. I found corresponding error message in the event > viewer: > ====================== > Mesage in Event Viewer > ====================== > >> Cannot use file 'C:\Windows\WID\Data\master.mdf' because it was originally >> formatted with sector size 4096 and is now on a volume with sector size >> 8192. Move the file to a volume with a sector size that is the same as or >> smaller than the original sector size. >> > Log Name: Application > Source: MSSQL$MICROSFT##WID > Event ID: 5178 > Level: Error > > I can not explain how Windows comes to 8192 bytes. > 8192 is the default volblocksize of a zvol. If you had been using a file it would be reporting the sector size as the recordsize of the zfs dataset. Had similar issues when trying to use an application that depending on MS SQL under bhyve. Jeremy