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

Re: [Xen-API] XCP online resize vdi



As aÂsuggestion, a good way is create yours guests partitions in LVM, create and plug a new vbd and use lvm tools like pvcreate, vgextend, etc to add the disk, extend the vg and reize the lv and after use resize2fs to resize the filesystem. I know it can't help you now but is a good practice for news guests.



On Sun, Jan 27, 2013 at 6:17 PM, Rushikesh Jadhav <2rushikeshj@xxxxxxxxx> wrote:


On Mon, Jan 21, 2013 at 5:10 PM, Åukasz Nowak <lukasz.nowak@xxxxxxxx> wrote:
Hi,
how can I increase VDI space online?


Do you mean that the VM is online while you do VDI size increase ?
You can increase the VDI size if the VM is OFFLINE or VDI is not attached to any VM but while VM is online, resize is not yet possible.

Â

I tried:
[root@usyqaxc01 ~]# xe vdi-resize disk-size=2147493648
uuid=9575d076-97a5-48ab-b1e0-d890053ee8ef > The SR backend does not support the operation (check the SR's allowed
operations)
sr: fa93343e-7be0-73da-c019-310d2edbb3da (iscsi - sdm)


My SR type is: lvmoiscsi
XCP 1.6

Linux distribution in the vm is debian. I have installed
xe-guest-utilities on the vm.

[root@usyqaxc01 ~]# xe vdi-param-list
uuid=9575d076-97a5-48ab-b1e0-d890053ee8ef | grep allowed operations


   allowed-operations (SRO): clone; snapshot

[root@usyqaxc01 ~]# xe sr-param-list
uuid=fa93343e-7be0-73da-c019-310d2edbb3da|grep allowed-operations
   allowed-operations (SRO): VDI.create; VDI.snapshot; PBD.create;
PBD.destroy; plug; update; VDI.destroy; scan; VDI.clone; VDI.resize; unplug




Best regards,
--
Åukasz Nowak
Administrator SystemÃw Unix
GSM: +48 603 992 558 | lukasz.nowak@xxxxxxxxxx
JABBER: lukasz.nowak@xxxxxxxxxx

Grupa Unity | ul. Przedmiejska 6-10, 54-201 WrocÅaw
ul. Conrada 55B, 31-357 KrakÃw | ul. ZÅota 59, 00-120 Warszawa


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api




--
Marco Sinhoreli
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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