Vincent Hanquez
2005-Apr-01 17:49 UTC
[Xen-devel] Dynamic block device and resize capabilities in unstable
Hi, I just add new features to 2.6 unstable code: * Dynamic add/remove block devices you can now add and remove a block device dynamicly in 2.6 without restarting your domain (2.4 has already this capability). You need to use the following subcommand to manipulate the feature: - xm vbd-create DOMAIN DEVICE_SRC DEVICE_DEST MODE - xm vbd-destroy DOMAIN DEVINDEX - xm vbd-list DOMAIN you can export whatever block device (full disk, partition) you want in dom0 it can be export as a full disk or a partition in the domain. ex: create a new disk hdc in domU that has a backing store on sda6 xm vbd-create domU phy:sda6 hdc w * Resize Capability when you resize a block device at the source (ex: lvm resize in dom0), you have to propagate the capacity change to the domain that use the device. just use the following subcommand: xm vbd-refresh DOMAIN DEVINDEX Then your block device in the domain will be adjusted to the new size. Online resizing (resize a mounted partition) should work. -- Vincent Hanquez _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Reasonably Related Threads
- Xend has probably crashed! Invalid or missing HTTP status code.
- Share of disks in read only between dom0 and domU.
- Re: Error: Device 0 (vif) could not be connected.Hotplugscripts not working
- [xen-unstable test] 7341: regressions - FAIL
- CentOS 4.5 installation as domU using xm