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 <2rushike...@gmail.com>wrote: > > > On Mon, Jan 21, 2013 at 5:10 PM, Łukasz Nowak <lukasz.no...@unity.pl>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 online=true >> 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.no...@contium.pl >> JABBER: lukasz.no...@contium.pl >> >> 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@lists.xen.org >> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api >> > > > _______________________________________________ > Xen-api mailing list > Xen-api@lists.xen.org > http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api > > -- Marco Sinhoreli
_______________________________________________ Xen-api mailing list Xen-api@lists.xen.org http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api