From owner-freebsd-xen@freebsd.org Sat Sep 19 18:15:48 2015 Return-Path: Delivered-To: freebsd-xen@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 90D619CF604 for ; Sat, 19 Sep 2015 18:15:48 +0000 (UTC) (envelope-from syd.meyer@gmail.com) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (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 220971B18 for ; Sat, 19 Sep 2015 18:15:48 +0000 (UTC) (envelope-from syd.meyer@gmail.com) Received: by wiclk2 with SMTP id lk2so65195777wic.1 for ; Sat, 19 Sep 2015 11:15:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=yg/X1BFXOXAkvEZMMtGEDzqXvSM9Uw5fM4aCyEZ7R7s=; b=J/RhmdfdyYBhEl5NrHABVsZkBJqVq8zt97uBXR2mvkou87qgk8n79TYiy+aBwad9lT tHB+mk2iSplgR0Fw13YNZCxxlzZH6jG30F+tG8rroUWZ7/LCmtlGGpxCgRvf+IyqefKa d3rhfWsEWxOiUrUXe6SuTMKMUQk5NcNhmJ8micsXxKpp+M4T23eKqQ4a88AIWOeH3+hd bm9cQujk/Yc55x+Kv3zJUCXYwmMkK804qOIzjmPTmi+9WrNU7WYSjEnfLDG6JeaIYfoU yb6pqdw+o5ZuQZVSpS4977G4+svX+PDlmTwVLQNPdINFIxAw5YICE+CV6wELcwVUF0u7 gbRw== X-Received: by 10.180.105.135 with SMTP id gm7mr4430521wib.18.1442686545565; Sat, 19 Sep 2015 11:15:45 -0700 (PDT) Received: from macbookpro.home.sydneymeyer.net (165.205-241-81.adsl-dyn.isp.belgacom.be. [81.241.205.165]) by smtp.gmail.com with ESMTPSA id pl7sm4445227wic.4.2015.09.19.11.15.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 19 Sep 2015 11:15:44 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3094\)) Subject: Re: can't start domU after resizing zfs volume From: Sydney Meyer In-Reply-To: <20150918194154.Horde.PQcchwucJFPQY4U0K75MgpW@mail.eeeit.de> Date: Sat, 19 Sep 2015 20:15:43 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <0EE48C62-0974-4D18-B4E7-CBE3B0E89160@gmail.com> References: <20150918194154.Horde.PQcchwucJFPQY4U0K75MgpW@mail.eeeit.de> To: freebsd-xen@freebsd.org X-Mailer: Apple Mail (2.3094) X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Sep 2015 18:15:48 -0000 Have you tried recovering the partition table with "gpart recover"? S. > On 18 Sep 2015, at 19:41, Michael Reifenberger = wrote: >=20 > Hi, > today I've got my first real xen dom0 error so far: >=20 > I had a 20G zfs volume with windows installed (Windows has the PV = drivers installed). > The disk section of the cfg looks like: > ... > disk =3D [ > '/dev/zvol/zdata/VM/win81/root,raw,hda,rw', > '/VM/ISO/W81.PRO.X64.MULTi8.ESD.Apr2015.iso,raw,hdc:cdrom,r' > ] > boot=3D"d" > ... >=20 >=20 > This works until shutting down the domU and extending the volume (from = 20G) to 40G: >=20 > zfs set volsize=3D40G zdata/VM/win81/root >=20 > Now trying to start the guest I get: >=20 > (vm)(root) # xl create win81.cfg > Parsing config from win81.cfg > libxl: error: libxl_device.c:950:device_backend_callback: unable to = add device with path /local/domain/0/backend/vbd/6/768 > libxl: error: libxl_device.c:950:device_backend_callback: unable to = add device with path /local/domain/0/backend/vbd/6/5632 > libxl: error: libxl_create.c:1153:domcreate_launch_dm: unable to add = disk devices > libxl: error: libxl_dm.c:1595:kill_device_model: unable to find device = model pid in /local/domain/6/image/device-model-pid > libxl: error: libxl.c:1608:libxl__destroy_domid: = libxl__destroy_device_model failed for 6 > libxl: error: libxl_device.c:950:device_backend_callback: unable to = remove device with path /local/domain/0/backend/vbd/6/768 > libxl: error: libxl_device.c:950:device_backend_callback: unable to = remove device with path /local/domain/0/backend/vbd/6/5632 > libxl: error: libxl.c:1645:devices_destroy_cb: libxl__devices_destroy = failed for 6 > libxl: info: libxl.c:1691:devices_destroy_cb: forked pid 2306 for = destroy of domain 6 >=20 > Since I saw in syslog that GEOM did some auto-moddings of the disk I = did: >=20 > `gpart commit zvol/zdata/VM/win81/root` on the dom0, > and `gpart resize -i 2 zvol/zdata/VM/win81/root` > but this didn't change the above failure. >=20 > Only after reboot the guest can be started so somewhere must be a = mismatch of cached data... >=20 > Any clues? >=20 > Thanks in advance! >=20 > Greetings > --- > Michael Reifenberger (mr @ freebsd...) >=20 >=20 >=20 >=20 >=20 > Gru=C3=9F > --- > Michael Reifenberger >=20 > _______________________________________________ > freebsd-xen@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org"