Thread: Getting started with Xen in Ubuntu 11.10; question about xm block-attach
i'm complete newbie @ xen, getting started.
happy see ubuntu 11.10 includes xen again,
http://zulcss.wordpress.com/2011/09/...1-1-on-ubuntu/
installed ubuntu 11.10's precompiled xen,
, started playing around it.
i'm not trying start vm @ moment,
playing around mounting block devices,
, had trouble block-attach:
$ dd if=/dev/zero of=foo.img bs=1024k seek=64 count=0
0+0 records in
0+0 records out
0 bytes (0 b) copied, 1.6493e-05 s, 0.0 kb/s
$ sudo xm block-attach 0 file://home/dank/lvmstuff/foo.img /dev/xvda1 w 0
$ sudo xm block-list 0
vdev handle state evt-ch ring-ref be-path
51713 0 0 1 -1 -1 /local/domain/0/backend/vbd/0/51713
$ sudo mkfs.ntfs /dev/xvda1
failed access '/dev/xvda1': no such file or directory
device doesn't exist; did specify correctly?
supposed create /dev/xvda1 myself? thought xen
did that.
thanks,
dan
p.s.
little example script i'm trying working is
http://kegel.com/linux/xen/demo-xen.sh
solved! needed do
sudo modprobe xen-blkfront
in dom0 able attach block device there.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Virtualisation [SOLVED] Getting started with Xen in Ubuntu 11.10; question about xm block-attach
Ubuntu
Comments
Post a Comment