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

[Xen-users] Create a VHD image?

To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Create a VHD image?
From: Garrett Robinson <Garrett.Robinson@xxxxxxxxxxx>
Date: Sat, 4 Dec 2010 22:46:08 -0500
Delivery-date: Sat, 04 Dec 2010 19:47:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello Xen-Users,

I am trying to migrate a project over to VHD files in Xen4/blktap2 to take advantage of the copy-on-write features.

Right now I am experimenting with the capabilities of VHD files. After creating the file, however, I cannot find a way to install an operating system onto it. I've tried mounting it using the instructions in the blktap2 README http://lxr.xensource.com/lxr/source/tools/blktap2/README
but trying to run debootstrap on the path returned by tapdisk2 gives confusing errors. Here's an example:

deckard:~# vhd-util create -n testVHDImage -s 1024
deckard:~# ls -lart testVHDImage 
-rw-r--r-- 1 root root 5120 2010-12-04 22:42 testVHDImage
deckard:~# tapdisk2 -n vhd:/root/testVHDImage 
/dev/xen/blktap-2/tapdev0
deckard:~# debootstrap lenny /dev/xen/blktap-2/tapdev0
mkdir: cannot create directory `/dev/xen/blktap-2/tapdev0': File exists
mknod: `/dev/xen/blktap-2/tapdev0/test-dev-null': Not a directory
E: Cannot install into target '/dev/xen/blktap-2/tapdev0' mounted with noexec or nodev
deckard:~# 

Does anybody have any experience creating VHD disk images, or any guidance in this particular matter?

Any help would be sincerely appreciated.

--
Garrett Robinson
(484) 802-3882
Oberlin College '11

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Create a VHD image?, Garrett Robinson <=