All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roland Paterson-Jones <roland@rolandpj.com>
To: xen-devel@lists.xensource.com
Subject: Help/problems with blktap on xen-unstable
Date: Wed, 20 Sep 2006 08:37:52 +0200	[thread overview]
Message-ID: <4510E1C0.7020405@rolandpj.com> (raw)

Hi

I've been trying to play with the new blktap support in xen-unstable.

First, an observation - blktapctrl is pinned at 100% CPU:
----------------------------------------------------------------------------------------------------------------- 

top - 17:29:48 up 4 days,  2:02,  3 users,  load average: 0.90, 1.01, 1.00
Tasks:  83 total,   3 running,  80 sleeping,   0 stopped,   0 zombie
Cpu(s): 15.2% us, 34.9% sy,  0.0% ni, 49.9% id,  0.0% wa,  0.0% hi,  
0.0% si
Mem:    262356k total,   240936k used,    21420k free,     4832k buffers
Swap:   917496k total,    96976k used,   820520k free,    67180k cached

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
3807 root      25   0 11040  508  400 R 99.9  0.2   0:17.56 blktapctrl
   1 root      16   0  1744  124   92 S  0.0  0.0   0:00.87 init
------------------------------------------------------------------------------------------------------------------ 


Then, I am trying to follow the README to get an image file mounted via 
tap:aio in dom0 (as a precursor, or course, to using it for rootfs in a 
domU).

So:

[root@dom0-0-50-45-5d-59-aa tmp]# xm block-attach 0 
tap:aio:/tmp/sparse.img /dev/xvda1 w 0
...
[root@dom0-0-50-45-5d-59-aa tmp]# xm block-list 0
Vdev  BE handle state evt-ch ring-ref BE-path
51713    0    0     3      15     8     /local/domain/0/backend/tap/0/51713

But
[root@dom0-0-50-45-5d-59-aa tmp]# mount /dev/xvda1 /mnt/tapaio
mount: you must specify the filesystem type
[root@dom0-0-50-45-5d-59-aa tmp]# mount -t ext3 /dev/xvda1 /mnt/tapaio
mount: special device /dev/xvda1 does not exist

And, indeed, there's no /dev/xvda1.

Help!
Roland

             reply	other threads:[~2006-09-20  6:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-20  6:37 Roland Paterson-Jones [this message]
2006-09-20 10:18 ` Help/problems with blktap on xen-unstable Christophe Saout
2006-09-20 12:06   ` Roland Paterson-Jones
2006-09-20 12:10     ` Petersson, Mats
2006-09-20 12:10     ` Christophe Saout
2006-09-20 12:19       ` Roland Paterson-Jones
2006-09-20 13:44         ` Roland Paterson-Jones
2006-09-20 13:53           ` Petersson, Mats
2006-09-20 12:21       ` Roland Paterson-Jones
2006-09-20 18:35   ` Steven Rostedt
     [not found]     ` <45123C4B.1020205@rolandpj.com>
2006-09-21 11:58       ` Steven Rostedt
2006-09-21 18:57         ` Andrew Warfield
2006-09-26 11:40         ` Stephen C. Tweedie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4510E1C0.7020405@rolandpj.com \
    --to=roland@rolandpj.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.