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

Re: [Xen-users] can't mount LVM based vbd for domU -- SOLVED I think

To: admin@xxxxxxxxxx
Subject: Re: [Xen-users] can't mount LVM based vbd for domU -- SOLVED I think
From: Patrick Wolfe <pwolfe@xxxxxxxxxxxxxx>
Date: Thu, 16 Feb 2006 12:55:59 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 17 Feb 2006 10:36:12 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200602152204.40445.admin@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Employease
References: <GJEGKFGLCCDAOOCGDAMMGELDCAAA.jimm@xxxxxxxxxxxxxxx> <200602152204.40445.admin@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2006-02-15 at 22:04 +0100, Mathias Homann wrote:
> what exactly did you reboot, I've been booting the box i'm having 
> trouble with over and over, i almost feel like a windows ME user by 
> now, to no effect...


Make sure the LV device name you are trying to use isn't already being
mounted by some other domU.

The following script will list all block devices in use by xen virtual
machines:

#!/bin/sh
# lsvbds - list all block devices in use by xen virtual machines
TREE=/local/domain/0/backend/vbd
for VM in `xenstore-list $TREE` ; do
        echo "VM `xenstore-read /local/domain/$VM/name` is using:"
        for VBD in `xenstore-list $TREE/$VM` ; do
                echo "  device `xenstore-read $TREE/$VM/$VBD/params`"
        done
done
exit 0





-- 

Patrick Wolfe

email:   pwolfe@xxxxxxxxxxxxxx
office:  404-325-7724
mobile:  404-213-1453
Yahoo!:  xen2007

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>