[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] adding fourth device to pvhvm config causes DomU launch fail @ "device_disk_add: device already exists in xenstore" ?
El 22/2/16 a les 15:16, suse.dev@xxxxxx ha escrit: > > > On Mon, Feb 22, 2016, at 03:06 AM, Roger Pau Monné wrote: >> You have two disks pointing to the same virtual device inside of the >> guest, which is not possible (hdd). You will have to change one of them >> to be hde instead. > > I changed the obvious pebkac :-( of the identifier for the cdr, so I have > > ... > disk = [ 'phy:/dev/VG0/tEFI,hda,w', > 'phy:/dev/VG0/tBOOT,hdb,w', > 'phy:/dev/VG0/tSWAP,hdc,w', > 'phy:/dev/VG0/tROOT,hdd,w', > > 'file:/home/test/archlinux-2016.02.01-dual.iso,hde:cdrom,r',] > ... > > Still, guest launch fails with > > xl create ./arch.cfg > > Parsing config from ./arch.cfg > got a tsc mode string: "default" > libxl: error: libxl.c:2615:libxl__device_from_disk: Invalid or > unsupported virtual disk identifier hde > libxl: error: libxl.c:2728:device_disk_add: Invalid or > unsupported virtual disk identifier hde > libxl: error: libxl_create.c:1175:domcreate_launch_dm: unable > to add disk devices > libxl: error: libxl_dm.c:1966:kill_device_model: unable to find > device model pid in /local/domain/16/image/device-model-pid > libxl: error: libxl.c:1628:libxl__destroy_domid: > libxl__destroy_device_model failed for 16 > libxl: error: libxl.c:1591:libxl__destroy_domid: non-existant > domain 16 > libxl: error: libxl.c:1549:domain_destroy_callback: unable to > destroy guest with domid 16 > libxl: error: libxl.c:1476:domain_destroy_cb: destruction of > domain 16 failed > > Out of curiosity, I dropped > > ... > disk = [ 'phy:/dev/VG0/tEFI,hda,w', > 'phy:/dev/VG0/tBOOT,hdb,w', > 'phy:/dev/VG0/tSWAP,hdc,w', > - 'phy:/dev/VG0/tROOT,hdd,w', > > 'file:/home/test/archlinux-2016.02.01-dual.iso,hde:cdrom,r',] > ... Right, using the hd* syntax you can only address four drives (this is the limitation in IDE IIRC). So starting from hdc, any other disk that you want to attach must use the xvd* syntax, and it is recommended to start at xvde. There's a document in the Xen tree that contains a more detailed explanation of all this: http://xenbits.xen.org/docs/unstable/misc/vbd-interface.txt Also, it seems you are passing a bunch of lvm volumes as different disks, do you know you can for example use hda1, hda2... and so on in order to setup different partitions that are presented to the guest as a single disk? http://xenbits.xen.org/docs/unstable/misc/xl-disk-configuration.txt Roger. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |