From owner-freebsd-hackers@freebsd.org Sat Apr 20 16:56:57 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C02C157027E for ; Sat, 20 Apr 2019 16:56:57 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 483F16AAAE for ; Sat, 20 Apr 2019 16:56:56 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1555779409; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=oB2KMfe/lgBaNyo+DrlB/8STM8l3kVNQ1YWEPtpwF96saPjT+xiZsrMKoiJk6pEI8ORjieKm83PA/ BeQ+C8Fp7+313p5J7J1LLWgNWwf8Mf92dS2J5Uf1tsXz1HttVulT7ssmmgHyKTmVOqhu6Im/nXBVQa h9kr5f0A5wNEYzq4tvUUMLDMa7VYTv28sfRz4NZh66FKamYCPjhmuIKJ3zUOrMjwgcQzi7a345t2GO C8PocFHL5pH106zuniM0X0GBqx2qKAN6/UmbwzklYRDrBc3rFrEiQ2ZDURQC7S6Gu5aXiUpUd49hNs wcpemdPyzdwbJHIWkhw9O8wy5FxBFqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=obcQ1PCkVVeX4OMg6FTUtQTt7QWaFJ9egbbtBXYXkXw=; b=ki3miFZJr8r/7DoTnk5V0vE9LHhb7aQHcOt/1lpECOQdwuLD6H1WwK5MV5UCO4TaKzeHpPZLYgKcz FCh51wVxpBpzvQXIuS6aJ1bgMolNlGrD+QmWjkOKW46/S1wgzcrAG7OI0QacsRe/BG9dEvOqFLJOXt XwDcel/jK+exSFPV8c/+dTfzeIsv6LKRoaeb6khPB1OUzjbg8Ptk/xOdZdTfbdJ+vY/fUwh+dY9CFd z/JE4ffqARXEkaTu+E7ZWjBaiZ17Hh2XsYCIWcx4UxdqPaNc2ENX9RjcUxK9Zwsrj6X8ZpsgJQL3UQ 29qu0Y5S93BD7K2Ow15FG2WR+Rk57MA== ARC-Authentication-Results: i=1; outbound2.eu.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=obcQ1PCkVVeX4OMg6FTUtQTt7QWaFJ9egbbtBXYXkXw=; b=cmrCU8j8R9FVYK0RXcNx0cu/VGC3kfMjA16ippE4KQ4E75a76sh8Rz8aN9nx9unkYVfZxSrgLfyxN o3TVBMX5C/QFrl7oOlIZc24xFLFegGi4gBn0r76A5PzcktRZ4Q2Dp1vk38+MJm+9zv929qE3RNcI/V MMRDQerIZBAtF3TOf0tyakdlWuz5zu9BoaO8KGXzu6XZdCe1Bs2decJAu29SGbE19Hxv5C2e/K6QaQ /m3ehjzSoqA0Zv0K8h2zOakLVENMQ6X3qRIogiLhghE9ndbvzqLC6PhMZiXRecMYwKOUR7IxDJ2ff2 0IhRScE9D82BZyv6bBSy0EIdXPfbKUw== X-MHO-RoutePath: aGlwcGll X-MHO-User: 47a181f6-638d-11e9-803b-31925da7267c X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound2.eu.mailhop.org (Halon) with ESMTPSA id 47a181f6-638d-11e9-803b-31925da7267c; Sat, 20 Apr 2019 16:56:47 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x3KGuj6k057623 for ; Sat, 20 Apr 2019 10:56:45 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: bhyve VM stopped to boot after moving virtio disks From: Ian Lepore To: freebsd-hackers@freebsd.org Date: Sat, 20 Apr 2019 10:56:45 -0600 In-Reply-To: References: <2006ff8da153bbe5e7f620da9260ee1518bd248f.camel@freebsd.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 483F16AAAE X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; ASN(0.00)[asn:16509, ipnet:52.58.0.0/15, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Apr 2019 16:56:57 -0000 On Sat, 2019-04-20 at 17:30 +0200, Wojciech Puchar wrote: > > > Boot Failed. EFI Misc Device > > > Boot Failed. EFI Misc Device 1 > > > . > > > > > > > > > > > > Could you give me any clues? > > > > > > > Are you absolutely certain those encrypted partition sizes are an > > exact > > multiple of 1m? If not, you should add a 'conv=sync' option to the > > dd. > > no it wasn't. but dd doesn't truncate last block. checked - it got > copied > till the end - i see second copy of GPT partition table that was > present > in VM. > dd absolutely will fail to copy the last block of the source if it isn't exactly the blocksize and you didn't specify conv=sync, and it will return a zero status when doing so. It appears you've convinced yourself otherwise, but for anyone else reading this thread, be aware: conv=sync is required to copy the last part of the source if it's smaller than the blocksize. -- Ian