WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] inconsistent between xm list -l and xm block-list

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] inconsistent between xm list -l and xm block-list
From: "Felix Chu" <felixchu@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Feb 2009 00:50:51 +0800
Delivery-date: Tue, 17 Feb 2009 08:51:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmRH+PbfzbKXltMQeyqs0zzuuvHmg==

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] inconsistent between xm list -l and xm block-list, Felix Chu <=