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-devel

RE: [Xen-devel] lvm management of block devices in dom0 not working as w

On Sat, 15 Jan 2005, Ian Pratt wrote:

> > kaffe:/home/doogie# swapon -a
> > swapon: /dev/hda: Invalid argument
> >
> > So, do those vbd-* commands actually work?
>
> What happens if you export the device as a partition rather than a whole
> disk?
>
> I certainly recall that this was working at one point. I think it was
> even hooked up such that size changes didn't require the the vbd to be
> destroyed/recreated for xenU to notice.

xen-2:/etc/xen# lvcreate -n foo -L100M space
  Logical volume "foo" created
xen-2:/etc/xen# lvs
...
  foo             space -wi-a- 100.00M
...
xen-2:/etc/xen# xm vbd-create kaffe phy:/dev/space/foo hdd1 w
xen-2:/etc/xen#
kaffe:/home/doogie# dd if=/dev/hdd1 of=/dev/zero bs=1 count=1
dd: opening `/dev/hdd1': No such device or address


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel