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-devel

Re: [Xen-devel] xm/xl block-detach issue

To: Daniel Stodden <daniel.stodden@xxxxxxxxxx>
Subject: Re: [Xen-devel] xm/xl block-detach issue
From: Sébastien Riccio <sr@xxxxxxxxxxxxxxx>
Date: Sun, 10 Jul 2011 14:07:59 +0200
Cc: "dmeyer@xxxxxxxxx" <dmeyer@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 10 Jul 2011 05:09:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1310288759.2685.356.camel@ramone>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4E186702.6050601@xxxxxxxxxxxxxxx> <4E188FC3.1010009@xxxxxxxxxxxxxxx> <1310288759.2685.356.camel@ramone>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0

On 10.07.2011 11:05, Daniel Stodden wrote:
To just-get-me-that partition: Plug into dom0, so you'll get xvda1-n.
Oh wait, that was what didn't work either in the original mail.. :-)

Daniel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


Hi Daniel,

Thanks a lot for your answers :) Well yes my original problem is to be able to attach and detach a vhd file as a block device in the dom0, so I can provision it.

Attaching it to dom0 with block-attach works well, can access, partition it, format partitions, mount partitions, copy files... but then I can't detach it and I'm stuck :)

That's why I tried other ways to do it and got then stuck again on the "can't access
a partition" problem with the tap-ctl method.

So talking about tap-ctl, yes IMHO it would be interesting to be able to access them
for such operations.

Also I don't know if my xm/xl block-detach is a bug or happens only on my systems, or maybe only with VHD based disks. If it's the case, would also be nice to have it fixed.

--
Sébastien



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel