<cluster@xinet.it>
2010-Apr-21 15:19 UTC
[Xen-users] [XCP] how to add a lvm based existing disk to a VM
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@lists.xensource.com http://lists.xensource.com/xen-users
Tapas Mishra
2010-Apr-21 15:26 UTC
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@xinet.it> 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@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-users
Vern Burke
2010-Apr-21 15:46 UTC
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@gmail.com> Date: Wed, 21 Apr 2010 20:56:16 To: <cluster@xinet.it> Cc: <xen-users@lists.xensource.com> 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@xinet.it> 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@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
<cluster@xinet.it>
2010-Apr-21 15:53 UTC
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@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] Per conto di Vern Burke Inviato: mercoledì 21 aprile 2010 17:47 A: Tapas Mishra; xen-users-bounces@lists.xensource.com; cluster@xinet.it Cc: xen-users@lists.xensource.com 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@gmail.com> Date: Wed, 21 Apr 2010 20:56:16 To: <cluster@xinet.it> Cc: <xen-users@lists.xensource.com> 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@xinet.it> 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? > > > > Im a bit confused with VDI and VDB . > > > > Thanks a lot, > > Francesco Gallo > > > > > >_______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Vern Burke
2010-Apr-21 17:32 UTC
Re: R: [Xen-users] [XCP] how to add a lvm based existing disk to a VM
You're very welcome :). Developing Xen Cloud Control System (http://www.xencloudcontrol.com) has made me more than a little familiar with xe. Vern Sent from my BlackBerry® wireless device from U.S. Cellular -----Original Message----- From: <cluster@xinet.it> Date: Wed, 21 Apr 2010 17:53:45 To: <vburke@skow.net>; <xen-users@lists.xensource.com> Subject: 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@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] Per conto di Vern Burke Inviato: mercoledì 21 aprile 2010 17:47 A: Tapas Mishra; xen-users-bounces@lists.xensource.com; cluster@xinet.it Cc: xen-users@lists.xensource.com 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@gmail.com> Date: Wed, 21 Apr 2010 20:56:16 To: <cluster@xinet.it> Cc: <xen-users@lists.xensource.com> 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@xinet.it> 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@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users