|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Changing the size of an exported block device
On Thu, 2006-01-26 at 14:34 +0000, Andy Smith wrote:
> Hello,
>
> Say I have an LVM LV exported to a running domU, and I want to
> increase the size of that LV. I can lvextend from dom0, and I can
> use whatever filesystem tools I like to extend that fs in dom0 if I
> were to mount it.
>
> However I understand that if the domU were to try to write beyond
> the end of the block device's limits as it knew when it was exported
> then it will get very upset.
>
> What is the correct procedure in this circumstance? Is it possible
> to withdraw the block device from the domU and then export it again
> so that it sees it as new?
>
Assuming that is not your root filesystem you want to withraw from a
domU
The commmands below should solve your problem.
Virtual Device Commands:
block-attach <DomId> <BackDev> <FrontDev> <Mode>
[BackDomId] Create a new virtual block device
block-detach <DomId> <DevId> Destroy a domain's virtual block
device,
where <DevId> may either be the
device ID
or the device name as mounted in the
guest
block-list <DomId> List virtual block devices for a
domain
> Thanks,
> Andy
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
--
Kris Buytaert <mlkb@xxxxxxxxx>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|