[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.