Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 2015 20:15:43 +0200
From:      Sydney Meyer <syd.meyer@gmail.com>
To:        freebsd-xen@freebsd.org
Subject:   Re: can't start domU after resizing zfs volume
Message-ID:  <0EE48C62-0974-4D18-B4E7-CBE3B0E89160@gmail.com>
In-Reply-To: <20150918194154.Horde.PQcchwucJFPQY4U0K75MgpW@mail.eeeit.de>
References:  <20150918194154.Horde.PQcchwucJFPQY4U0K75MgpW@mail.eeeit.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Have you tried recovering the partition table with "gpart recover"?

S.

> On 18 Sep 2015, at 19:41, Michael Reifenberger <mike@reifenberger.com> =
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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0EE48C62-0974-4D18-B4E7-CBE3B0E89160>