All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: lvm management of block devices in dom0 not working as well as it should
@ 2005-01-15 10:10 Ian Pratt
  2005-01-15 18:09 ` Adam Heath
  2005-01-16 21:44 ` Matthieu Patou
  0 siblings, 2 replies; 8+ messages in thread
From: Ian Pratt @ 2005-01-15 10:10 UTC (permalink / raw)
  To: Adam Heath; +Cc: xen-devel

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

Ian


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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* lvm management of block devices in dom0 not working as well as it should
@ 2005-01-14 19:15 Adam Heath
  2005-01-14 21:50 ` Jan Kundrát
  0 siblings, 1 reply; 8+ messages in thread
From: Adam Heath @ 2005-01-14 19:15 UTC (permalink / raw)
  To: xen-devel

We are using lvm2(dm) on 2.6 to manage block devices.  If we extend such a
device, the guest kernel does not see the change.

config: dom0:/dev/space/kaffe-swap-0 -> guest:/dev/hda

guest: swapoff -a
dom0: lvextend /dev/space/kaffe-swap-0 -L+100M
  Extending logical volume kaffe-swap-0 to 612.00 MB
  Logical volume kaffe-swap-0 successfully resized
(this shows it was 512m previously)
dom0: mkswap /dev/space/kaffe-swap-0
Setting up swapspace version 1, size = 641724 kB
no label, UUID=246f699d-7fc2-4909-9c31-359ed45b203e
guest: swapon -a
swapon: /dev/hda: Invalid argument
guest: dmesg | tail -1
Swap area shorter than signature indicates

Is it possible to add additional commands over the emulation channel to
support querying sizes?  Or is there some command I need to run to kick the
guest into seeing the new size?



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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-01-16 21:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-15 10:10 lvm management of block devices in dom0 not working as well as it should Ian Pratt
2005-01-15 18:09 ` Adam Heath
2005-01-16 21:44 ` Matthieu Patou
  -- strict thread matches above, loose matches on Subject: below --
2005-01-14 19:15 Adam Heath
2005-01-14 21:50 ` Jan Kundrát
2005-01-15  3:11   ` Adam Heath
2005-01-15  3:22   ` Adam Heath
2005-01-15  4:07     ` Adam Heath

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.