From owner-freebsd-hackers@freebsd.org Fri Apr 19 21:37:28 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 02A001579610 for ; Fri, 19 Apr 2019 21:37:27 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (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 DB3796C994 for ; Fri, 19 Apr 2019 21:37:26 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1555709845; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=KXZxzJDmNZVR2HLWpt0NG1Viv4+G6a2yzaw1Oj3JcmoWG72YwrC2dNqYaTXQLLtnJueSuEKEMHgUg Iv8cOhGcbDaUg4/jE53FCgUCyXS+ef6666Ay3S56m4v1N9XK5w2yhLRdptxvkokaSAm/1hDKxsxtTR jO2wyXDPsU4Zc0J/WjLhJgAfjZo7RtOahXXm8b390BYCJTdXQgDzpgJM866Lfmtsj7q6gSf5xoZhbo JT1Nnl6wGF9PdnEQTJJ3YD2U8jKkywng1E2Zl/054XKGUD+eHOW9YdUaKWhg7RIOtIUgK30mjnI5BH eDhMxGhWzJfKF/ZIApFUAkemqscgdDQ== 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=HWCgepgS+Eno4c2xwvws6XxBhzHx7wnFUb6YdRXI+2c=; b=UiBIMxL00LqvwSNCLiQcqNrg/exgSoHJ/LieVZlBqmKqNfOAGW/V6e/UmsS4LrT0YEwGS/UIngiMn 7JqHlJFisM7UctMl9YrNZtUTL5rzBPsMZKdri5LdjpY8zPSgGlKAlPCMWwURT1/atIXK/8W2/Whytg S42ONRGvmjmwmfqgIgwM7ZK0HNnpttTcMaLTBoHrkpIKHUNY/v08c0zT2TBRDuHDb/5bOGyxBK3E7O yDqt5jU+aYxjAMHQSgCVECLq/2dwe8z3VjVFlYFwcI9vJeparAbjzPnm68L/inN72jnGiewWMexxzt EJqylGBaDid49D7TGpyUy2/cdhS7WwA== ARC-Authentication-Results: i=1; outbound4.ore.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=HWCgepgS+Eno4c2xwvws6XxBhzHx7wnFUb6YdRXI+2c=; b=GO0X+XLlIQSMAPslr6pTiranipZ5EymrEHRuCdGtEyguEMql77j2784GQLNLpPEiU8AcEx8LaFE71 OAMgbzjLIW3bkJNQWwlCybILVGYaIRXF11tVPUQApOWhH9Hfg0TRcAO5ytaQwT9TQguni43fR1IOsn rlr9RyeRDsCUbOXzZAp5fQtku+ObcWCiXK7GSMUtZ+TNo8dyxYHoxxjJ+AJKtOOTZ9N+ujPl2jNmaB 398DTgUde7fAoPbjsORORRqqhI0sFdp87EKJgqNP9qlBkJY+MNnvXUVhGFk5mg0sdBYkUjhocAMfrn vsal/+sEDv/6djvlKvpQmvNMCorJnlg== X-MHO-RoutePath: aGlwcGll X-MHO-User: 514bf717-62eb-11e9-919f-112c64a8cf29 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 outbound4.ore.mailhop.org (Halon) with ESMTPSA id 514bf717-62eb-11e9-919f-112c64a8cf29; Fri, 19 Apr 2019 21:37:24 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x3JLbMd4055044; Fri, 19 Apr 2019 15:37:22 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <2006ff8da153bbe5e7f620da9260ee1518bd248f.camel@freebsd.org> Subject: Re: bhyve VM stopped to boot after moving virtio disks From: Ian Lepore To: Wojciech Puchar , freebsd-hackers@freebsd.org Date: Fri, 19 Apr 2019 15:37:22 -0600 In-Reply-To: References: 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: DB3796C994 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_SHORT(-0.98)[-0.977,0]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; 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: Fri, 19 Apr 2019 21:37:28 -0000 On Fri, 2019-04-19 at 23:00 +0200, Wojciech Puchar wrote: > i have bhyve VM (linux) with 2 virtual disks. > > they were backed on geli encrypted partitions on SSD > > as it is rarely used VM i wanted to move it to HDD file. > > i just did > > dd if=/dev/partition1.eli of=file1 bs=1m > dd if=/dev/partition2.eli of=file2 bs=1m > > there were no errors when doing dd > > and changed /dev/partition1.eli to file1 and same with second in > virtio-blk filename. > > Everything else is unchanged. > > now it doesn't boot. on UEFI virtual framebuffer i see > > 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. -- Ian