Subject: Re: port-xen/29856: Cannot add vnd files in domU when it's already
To: None <port-xen-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Juan RP <juan@xtraeme.nopcode.org>
List: netbsd-bugs
Date: 04/06/2005 16:53:02
The following reply was made to PR port-xen/29856; it has been noted by GNATS.

From: Juan RP <juan@xtraeme.nopcode.org>
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-xen/29856: Cannot add vnd files in domU when it's already
 running
Date: Wed, 6 Apr 2005 18:52:14 +0200

 On Fri, 1 Apr 2005 18:35:18 +0200
 Manuel Bouyer <bouyer@antioche.lip6.fr> wrote:
 
 > > 	$ xm create /etc/xen/foo 
 > > 	$ dd if=/dev/zero of=mydisk.img count=512 bs=1m
 > > 	$ vnconfig vnd0 mydisk.img
 > > 	$ xm vbd-create nbsd1 phy:/dev/vnd0a wd1d w
 > 
 > You should use vnd0d, not vnd0a. Either use the raw partition, or a
 > partition not starting at offset 0. The first sectors of the vnd device are
 > read-only for normal partitions, to protect the disklabel.
 
 I tried with vnd0d, it failed. Which are the required steps to add a new vbd
 disk?
 
 Thanks.