Felix Chu
2009-Feb-17 16:50 UTC
[Xen-users] inconsistent between xm list -l and xm block-list
Hi all,
I am using xen 3.3.1 with centos 5.2 on domU and dom0. I tried to "xm
block-detach" an mounted disk, it will result failure after a long time. I
type two commands after this failed detach command , and find inconsistent
of configuration:
As you see below 2 commands. (1) shows there are two vbd. But in (2), it
shows only one. This inconsistent problem only occurs after a failed "xm
block-detach".
(1)
[root@localhost ~]# xm block-list felix1
Vdev BE handle state evt-ch ring-ref BE-path
2048 0 0 4 9 8 /local/domain/0/backend/vbd/78/2048
2128 0 0 4 11 307 /local/domain/0/backend/vbd/78/2128
(2)
[root@localhost ~]# xm list -l felix1
(domain
(domid 78)
(on_crash restart)
(uuid a66f210b-efe2-4ed4-95b1-1e30994f998d)
(bootloader_args -q)
(vcpus 2)
(name felix1)
(on_poweroff destroy)
(on_reboot restart)
(bootloader /usr/bin/pygrub)
(maxmem 1024)
(memory 512)
(shadow_memory 0)
(features )
(on_xend_start ignore)
(on_xend_stop ignore)
(start_time 1234450814.28)
(cpu_time 526.0799473)
(online_vcpus 2)
(image
(linux
(kernel )
(notes
(FEATURES
''writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae
_pgdir_above_4gb|supervisor_mode_kernel''
)
(VIRT_BASE 18446744071562067968)
(GUEST_VERSION 2.6)
(PADDR_OFFSET 18446744071562067968)
(GUEST_OS linux)
(HYPERCALL_PAGE 18446744071564189696)
(LOADER generic)
(ENTRY 18446744071564165120)
(XEN_VERSION xen-3.0)
)
)
)
(status 2)
(state -b----)
(device
(vif
(bridge xenbr0)
(mac 00:16:3e:02:23:85)
(script /etc/xen/scripts/vif-bridge)
(uuid dc23dbe4-26ac-3e56-32c8-4551e9675158)
(backend 0)
)
)
(device
(vbd
(protocol x86_64-abi)
(uuid 0a455e6a-e7ae-996a-698b-0306e8226db6)
(dev sda:disk)
(uname phy:/dev/vg/a66f210b-efe2-4ed4-95b1-1e30994f998d)
(mode w)
(backend 0)
(bootable 1)
(VDI )
)
)
(device
(console
(protocol vt100)
(location 2)
(uuid fad00e1e-8863-2e7a-01d8-b2c5c1a1f5df)
)
)
)
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users