[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] What happen to blktap2 in Xen 4.1 ??


  • To: "Daniel Stodden" <daniel.stodden@xxxxxxxxxx>
  • From: "Sarge I" <3sarge3@xxxxxxxxx>
  • Date: Tue, 5 Apr 2011 08:40:07 +0200
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 05 Apr 2011 07:54:13 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:cc:references:in-reply-to:subject:date :mime-version:content-type:content-transfer-encoding:x-priority :x-msmail-priority:importance:x-mailer:x-mimeole; b=bu0l+pxOSiBb5p1zXoDTJ0L6kNkzYBbpBI9D53jgPIpA6+m4EMDbtlKlZnLzsCLX6s YV9l1Ags0exRZAMF1s68TVovQYRq6c+N8vwlEfSXiQ1r03Sma2dHQRbZQIIrV1KuVa8C XE6eHShPAkgcJlO+0GQ+4PzBA7gBCF2/yEyjU=
  • Importance: Normal
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi, there are not problem to create domU with vhd disks, im using devices with tap2:vhd:/path/to/file.vhd in domU config files, using xl to create and manage domains, in this part everything is ok, just tapdisk2 remain in processes after domU shutdown with /sys/class/blktap2/ folders for each blktap device. Garbage in /sys/class/blktap2/devices show while domU is running and after shutdown. Just an little irritation. Problem is I can`t mount disk image in dom0 (at last im not able to find documentation how to do it, because README in tools/blktap2/ is quite old and don`t reflect current state ). In past (4.0.2-rcX) im used to mount image with tapdisk -n <type:file> , then kpartx , mount nlk device and do a job, then list device from /sys/class/blktap2/devices and remove device with command "echo 1 > /sys/class/blktap2/blktapX/remove" . Is it a solution for mounting images in Dom0 using the blktap2 driver, please?

About my setup:
Im running weekly updated gentoo systems on recent intel i7 and xeon boxes, i need recent kernel for devices as well as usb passthrough, so I choose suse linux kernel from 11.4 branch, currently 2.6.37.6 (having very good experience with this tree, its stable, faster than linux-2.6.32-pvops.git), tested nearly all from 2.6.18-xen , 2.6.32-pvops (also other branches from jeremy`s git), previous suse xenified kernels 2.6.32 ,34.

-----Original Message----- From: Daniel Stodden
Sent: Tuesday, April 05, 2011 1:20 AM
To: Sarge I
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] What happen to blktap2 in Xen 4.1 ??

On Mon, 2011-04-04 at 17:14 -0400, Sarge I wrote:

> On other hand, there are no longer possibility to list attached images
> in /sys/class/blktap2/devices:
> sarge@kxen pts/2: cat /sys/class/blktap2/devices
> 0 âLÂ
> 1 ââË4
> 2 âwÃÃ
> 3 âÃ9

I seem not to easily repro the garbage. Can you give me a hint what
kernel you're using and what state those nodes where in? If you didn't
use tap-ctl, and tapdisk2 failed, how did those devicee nodes even get
allocated?

Thanks,
Daniel


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.