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

R: [Xen-users] [XCP] how to add a lvm based existing disk to a VM



Exactly... finally the solution was:

xe vbd-create vdi-uuid=<orphan vdi> vm-uuid=<vm-uuid> bootable=false
type=Disk device=1 

Vern, I am new to XCP but every time a find a problem there is always a
post/wiki page with your signature! 

Thanks a lot for your work.

Best regards,
Francesco Gallo

-----Messaggio originale-----
Da: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] Per conto di Vern Burke
Inviato: mercoledì 21 aprile 2010 17:47
A: Tapas Mishra; xen-users-bounces@xxxxxxxxxxxxxxxxxxx; cluster@xxxxxxxx
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Oggetto: Re: [Xen-users] [XCP] how to add a lvm based existing disk to a VM

He didn't ask how to make the VMs disk bigger, he asked how to attach an
orphaned VHD to a different VM.

Vern
Sent from my BlackBerry® wireless device from U.S. Cellular

-----Original Message-----
From: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Wed, 21 Apr 2010 20:56:16
To: <cluster@xxxxxxxx>
Cc: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] [XCP] how to add a lvm based existing disk to a VM

 e2fsck -f /dev/vg0/<DomU_name>
# lvextend -L +1G /dev/vg0/<DomU_name>
# resize2fs /dev/vg0/<DomU_name>

On Wed, Apr 21, 2010 at 8:49 PM,  <cluster@xxxxxxxx> wrote:
> Hi all,
>
>
>
> i destroyd a vm and now i would like to attach its disk to a new one. 
> How can I do this task?
>
>
>
> I?m a bit confused with VDI and VDB?.
>
>
>
> Thanks a lot,
>
> Francesco Gallo
>
>
>
>
>
>_______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



--
Tapas
http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers
+91 8971248477

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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